Commit graph

268 commits

Author SHA1 Message Date
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
Andreas Öman
a0891836b0 wait a bit after tuning before we start to check FE status 2007-12-10 12:45:37 +00:00
Andreas Öman
b338a6569b Split dvb.c into table specific code and front-end specific code.
Revamp DVB fe manager
2007-12-10 12:24:47 +00:00
Andreas Öman
7c254d3344 dont expose disabled channels in htsinterface 2007-12-10 10:40:11 +00:00
Andreas Öman
4d5100336e Spawn threads for DVB FE management. Some cards seems to be very slow at doing things 2007-12-07 21:18:54 +00:00
Andreas Öman
2c166e3e7f store configuration 2007-12-07 10:37:17 +00:00
Andreas Öman
432ed9d9a6 avoid memory corruption 2007-12-07 10:36:08 +00:00
Andreas Öman
c069dfed58 add missing location argument 2007-12-07 09:58:53 +00:00
Andreas Öman
74ffb3af8f store teletext rundown 2007-12-07 09:16:05 +00:00
Andreas Öman
508905cd94 add suppor for setting teletext rundown 2007-12-07 09:12:14 +00:00
Andreas Öman
218d21a851 remove dead code 2007-12-07 08:49:51 +00:00
Andreas Öman
9e062079a4 indent 2007-12-07 08:49:21 +00:00
Andreas Öman
fbfe141bbe Add support for merging channels and chaning transport priority in HTML UI 2007-12-07 08:48:39 +00:00
Andreas Öman
9d9848659c Add function for moving a transport from one channel to another 2007-12-07 08:47:59 +00:00
Andreas Öman
b936b4d62e give transports a unique name 2007-12-07 08:47:38 +00:00
Andreas Öman
f213b963cd Add HTTP redirect reply 2007-12-07 08:24:48 +00:00
Andreas Öman
2036062aa4 move transport_set_channel() to transport.c and add transport_set_prio() 2007-12-07 08:24:13 +00:00
Andreas Öman
fc024a0099 improve HTTP URL de-escaper 2007-12-07 08:05:02 +00:00
Andreas Öman
6726988aec we really want uniquename to be set 2007-12-07 07:53:27 +00:00
Andreas Öman
8c5590df63 set network & provider on all transports 2007-12-07 07:39:42 +00:00