Commit graph

287 commits

Author SHA1 Message Date
Andreas Öman
2f2e8fe49e reorder the ts demuxer code slightly to prepare for PCR extraction 2008-02-10 07:55:41 +00:00
Andreas Öman
bbb6059de8 fix more memory leaks (many thanks to valgrind) 2008-02-09 16:25:36 +00:00
Andreas Öman
5589c6da3a fix memory leak 2008-02-09 11:15:00 +00:00
Andreas Öman
d2e702041a correctly de-init muxer 2008-02-09 11:14:39 +00:00
Andreas Öman
4a18583645 Fix h264 parser 2008-02-09 07:51:41 +00:00
Andreas Öman
09129a1ba2 It seems most broadcasts uses a buffer fullness of half the vbv when sending, let's do the same 2008-02-09 07:49:25 +00:00
Andreas Öman
0037664d2e correctly generate PCR if in pass-thru mode 2008-02-08 14:23:07 +00:00
Andreas Öman
b4593ffba3 Fix parsing of mpeg and ac3 audio 2008-02-08 13:46:34 +00:00
Andreas Öman
7bc327cbf3 Mux AC3 again 2008-02-08 13:46:17 +00:00
Andreas Öman
51c1782075 only need to check if we have the exact amount of bits we're interested in 2008-02-06 22:11:10 +00:00
Andreas Öman
83dfa6a374 fix avgen to work with new parser framework 2008-02-06 22:05:47 +00:00
Andreas Öman
78df4b5eaa correctly set frametype 2008-02-06 22:05:31 +00:00
Andreas Öman
63d6786f83 make file_input work again 2008-02-06 21:51:09 +00:00
Andreas Öman
e873fc7677 Add ability to parse whole frames (without the reassembly stuff) 2008-02-06 21:50:58 +00:00
Andreas Öman
4226af5abb drop stray printf 2008-02-05 20:07:50 +00:00
Andreas Öman
60c704ca57 remove stray printf 2008-02-05 19:15:41 +00:00
Andreas Öman
f0d06575db no need to explicitly configure RTSP server IP, instead deduce info from established http connection 2008-02-05 19:14:31 +00:00
Andreas Öman
3d01c3b914 Figure local address of established TCP session 2008-02-05 19:13:26 +00:00
Andreas Öman
9df2cfbe53 Add support for deliberate corruption of generated MPEG TS streams 2008-02-05 11:27:57 +00:00
Andreas Öman
c891a87e87 Make file input slightly better (correctly compute duration and PTS) 2008-02-05 11:27:36 +00:00
Andreas Öman
c36cfd3d69 forgot those 2008-02-05 08:57:16 +00:00
Andreas Öman
d659274b50 Rewrite transport stream multiplexer and add decent parsers for all sources.
We can now produce a compliant TSMUX output that plays on low-end systems.

Some fallout from this (which is yet to be fixed): h264, v4l and avgen
2008-02-05 05:58:48 +00:00
Andreas Öman
cc873357a6 Missed files belonging with the ts demux revamp 2008-01-28 22:00:31 +00:00
Andreas Öman
a1785d95c2 Implement the TS packet demuxer as a startcode parser instead of relying on the payload-unit-start-indicator bit.
This delivers packets faster thru the system for sources that only sets the payload-unit-start-indicator bits on I-frames
2008-01-28 21:53:49 +00:00
Andreas Öman
ad616af64f we may outrank weight if it is equal 2008-01-28 20:57:53 +00:00
Andreas Öman
ad624eb558 get rid of a few stray debug printf:s 2008-01-28 20:41:04 +00:00
Andreas Öman
6177fec24c use individual files for storing configuration. This is not so error prone.
Also, use a better naming scheme for DVB adapters (adapter vendor name + a sequence id)
2008-01-28 20:40:35 +00:00
Andreas Öman
aba7e9b779 Split streaming control from transport stream muxer.
While at it, improve the TS muxer quite a bit. Not perfect yet, but much better.
2008-01-26 12:15:34 +00:00
Andreas Öman
08c24d441c Initial HTSP async support 2008-01-14 19:07:46 +00:00
Andreas Öman
ab6b9e229e remove (the unused) plugin framework 2008-01-12 07:39:23 +00:00
Andreas Öman
364f88f3f3 Add a code word client and descrambling code. 2008-01-12 07:37:08 +00:00
Andreas Öman
1941c4c319 'htsclient' need a full demux in order to correctly rewrite MPEG transport stream 2008-01-10 10:55:50 +00:00
Andreas Öman
66a52d54b1 fix incorrect compare which caused mux switching not to work at all 2008-01-10 10:55:00 +00:00
Andreas Öman
38a16f8088 Scrap the notion of "dvb mux instance" and "dvb mux".
Instead use 'transport' to instansiate the same channel multiple times, even if it's seen on multiple adapters on the same DVB network.
2008-01-09 13:14:34 +00:00
Andreas Öman
ec5de47b49 stylish 2008-01-09 12:23:25 +00:00
Andreas Öman
76bade00e4 remove legacy way of configuring dvb muxes 2008-01-09 12:21:30 +00:00
Andreas Öman
33ffd5980b fix typo 2008-01-09 12:16:21 +00:00
Andreas Öman
f90514ac60 dont require 'interface-address' to be specified for multicast output 2008-01-09 11:36:16 +00:00
Andreas Öman
589735acec reindent 2008-01-09 11:32:46 +00:00
Andreas Öman
e13dcd55e6 remove stray printf:s 2008-01-09 10:46:29 +00:00
Andreas Öman
48c5bf28df only drop from video 2008-01-09 10:46:06 +00:00
Andreas Öman
a5985359a4 Add functionality for streaming from a preconfigured file 2008-01-09 10:45:37 +00:00
Andreas Öman
35a5b089ce Make pes_compute_duration() public 2008-01-09 10:45:01 +00:00
Andreas Öman
ac083afb9a use element stream type 3 for mpeg2audio 2008-01-08 12:53:21 +00:00
Andreas Öman
98a88a7e63 fix incorrect return value 2008-01-08 09:47:35 +00:00
Andreas Öman
7b504c2d92 Let MPEG TS output muxer bypass internal remuxing if the source is MPEG TS and no seeking / pausing is required. 2008-01-08 09:46:40 +00:00
Andreas Öman
8a445d2acd make function static 2008-01-08 08:03:23 +00:00
Andreas Öman
3ffb51dd25 Keep track of the format the source arrives in. This way MPEG TS output muxes can shourtcut MPEG TS input muxes and avoid the internal PES remuxing 2008-01-07 16:36:05 +00:00
Andreas Öman
4a810182f5 Check CRC in software for DVB as well. (Seems kernel / hw doesnt always do this) 2007-12-11 10:16:32 +00:00
Andreas Öman
90487e843c drop a printf 2007-12-10 13:39:13 +00:00