Commit graph

1390 commits

Author SHA1 Message Date
Andreas Öman
ca4dd5b347 Use our own SHA1 algorithm -> Less FFmpeg dependencies. 2010-06-23 21:54:29 +00:00
Andreas Öman
b93d5f0a5b Reduce FFmpeg dependencies 2010-06-23 21:43:00 +00:00
Andreas Öman
5f77e67b3e No longer need FFmpeg parsers 2010-06-23 21:33:52 +00:00
Andreas Öman
4146e3c677 Use native parsers for MPA and AC3 2010-06-23 21:32:49 +00:00
Andreas Öman
6912c48249 Add a buffer3 (very ugly) 2010-06-23 20:39:56 +00:00
Andreas Öman
315d75a2aa constify 2010-06-23 20:27:19 +00:00
Andreas Öman
1f13988517 Remove unused data 2010-06-23 17:49:04 +00:00
Andreas Öman
34f3555e14 Don't need libavutil/avstring.h 2010-06-23 08:22:57 +00:00
Andreas Öman
c740a0c496 Don't compile avc.c 2010-06-22 10:46:53 +00:00
Andreas Öman
5dd680b942 Minor adjustment to CRC API 2010-06-22 08:01:23 +00:00
Andreas Öman
e0cc0d7f5b Add code for computing CRC over a buf 2010-06-22 08:00:56 +00:00
Andreas Öman
a120185c8a Move some stuff to utils.c 2010-06-22 06:47:18 +00:00
Andreas Öman
1308d3c68b Add a native matroska muxer used for recording.
- Correctly writes global headers. Ticket #61
- Add support for recording AAC audio. Ticket #160
2010-06-21 20:52:36 +00:00
Andreas Öman
1ccfa89afe Need to init ptsq + some cosmetics 2010-06-21 19:23:13 +00:00
Andreas Öman
839244f637 Fix size computation failure
Add function for appending a htsbuf_queue to another
2010-06-21 18:55:01 +00:00
Andreas Öman
a9be3cbef3 Avoid inter-stream packet reordering in tsfixup code 2010-06-18 08:49:44 +00:00
Andreas Öman
fe25d0a50f Drop trailing zeroes from headers 2010-06-18 08:49:16 +00:00
Andreas Öman
44614a448b Add a hexdump() helper function 2010-06-17 22:02:28 +00:00
Andreas Öman
797dc12c3c Avoid signalling descrambler/access errors if we trigged descrambling and the packet was damaged 2010-06-17 19:00:40 +00:00
Andreas Öman
c3e32c02fc Don't overwrite errorcodes 2010-06-17 18:31:13 +00:00
Andreas Öman
93affec3ea Keep track of sample rate and channel configuration in each packet 2010-06-17 08:24:36 +00:00
Andreas Öman
78832faacd Add streaming_start_copy() and streaming_start_component_find_by_index() 2010-06-16 21:08:28 +00:00
Andreas Öman
d025fbf028 Constify 2010-06-16 21:07:44 +00:00
Andreas Öman
cb1624b995 Add pktref_create() helper 2010-06-16 21:07:13 +00:00
Andreas Öman
2ed2283a25 Plug two memory leaks 2010-06-15 17:43:41 +00:00
Andreas Öman
3c0e1141ff * Make error detection in timestamp parsing much stronger.
* Avoid extracting persistent data (such as video width*height) from 
  received data if we suspect that an error has occured (MPEG-TS TEI or
  continuity counter errors).

* Add src/plumbing/tsfix.[ch]: Streaming code that fixes up missing
  timestamps and normalize timecode to start at 0.

* Move PTS estimation code and timestamp normalization out from central
  parse code. Subscribers that really needs it should use tsfix plumbing
  instead.

* Let DVR code use tsfix plumbing.

* Don't send "pts" and "dts" over HTSP if timestamps are missing.
2010-06-15 14:53:39 +00:00
Andreas Öman
5b56688ebe Extract h264 frame duration from bitstream instead of measuring intra packet time 2010-06-15 10:51:44 +00:00
Andreas Öman
478fa53b1c Internal clock is 90kHz nowdays 2010-06-15 08:47:09 +00:00
Andreas Öman
461f6d8eda Better error tracking (TEI bit) 2010-06-15 08:27:50 +00:00
Andreas Öman
f5c8696ff2 Add support for storing global headers in streaming start message
Add streaming_target_deliver2()
2010-06-15 05:56:40 +00:00
Andreas Öman
5818b975e5 Keep the changelog in a better state 2010-06-14 18:55:30 +00:00
Andreas Öman
70f10c09da Fix memory corruption issue 2010-06-14 18:42:00 +00:00
Andreas Öman
bc43bf2cb3 Fix stupid bug 2010-06-14 18:15:04 +00:00
Andreas Öman
c74fa3b554 remove debug printf:s 2010-06-14 12:41:15 +00:00
Andreas Öman
f5254a66fa Splice "global data" (sequence headers for MPEG2 and SPS/PPS for h264) into
packet buffers of its own.

Make all subscribers merge it back for now. We will need this for correctly
writing global headers in MKV files. 

Ticket #61
2010-06-14 12:32:57 +00:00
Andreas Öman
2a9e1169f4 Use 90kHz timebase internally 2010-06-13 19:29:31 +00:00
Andreas Öman
95f2727a36 Cosmetics 2010-06-13 13:09:06 +00:00
Andreas Öman
3f96640158 update changelog 2010-06-13 13:07:36 +00:00
Andreas Öman
50733ab7a1 Workaround for ITV HD (which has incorrect PMT) 2010-06-13 12:53:20 +00:00
Andreas Öman
c15d002917 Keep track of video width and height and send it over HTSP in subscriptionStart.
Fixed ticket #208
2010-06-13 12:18:59 +00:00
Andreas Öman
a974a3fb69 Print output of PMT 2010-06-13 11:23:30 +00:00
Andreas Öman
31cb0e9733 Support the Logical Channel Number descriptor (0x83)
Fixes ticket #138
2010-06-04 20:59:18 +00:00
Andreas Öman
14ff47028b Maintain the order of PIDs as they appear in the PMT. Fixes bug #218 2010-06-04 20:33:16 +00:00
Andreas Öman
cb300661c5 Update to dvb-apps 1376:5631d8b9250c 2010-06-04 19:43:06 +00:00
Andreas Öman
a85447229e Add missing TLDs 2010-06-04 19:42:31 +00:00
sb1066
058c59221b When there is no video pid (service type is Radio), start the audio stream right away. Fixes ticket #59 2010-05-29 08:29:01 +00:00
Andreas Öman
e0630b7259 Allow subscription weight to be set on subscription and later changed via subscriptionChangeWeight HTSP method 2010-05-28 12:44:45 +00:00
Andreas Öman
cac5cadc3a Better error reporting 2010-05-27 17:51:32 +00:00
Andreas Öman
4216003f26 Add SM_CODE_NO_TRANSPORT error code 2010-05-27 17:51:24 +00:00
Andreas Öman
03ac1348ba Fix typo 2010-05-24 21:30:34 +00:00