[linux-dvb] [PATCH] DMX_OUT_TSDEMUX_TAP: record two streams from same mux

Florian Lohoff flo at rfc822.org
Wed Feb 27 12:57:43 CET 2008


On Tue, Feb 26, 2008 at 05:25:24PM +0000, Peter Hartley wrote:
> The attached patch adds a new value for dmx_output_t:
> DMX_OUT_TSDEMUX_TAP, which sends TS to the demux0 device. The main
> question I have, is, seeing as this was such a simple change, why didn't
> it already work like that? Does everyone else who wants to capture
> multiple video streams, take the whole multiplex into userspace and
> demux it themselves? Or do they take PES from each demux0 device and
> re-multiplex that into PS, not TS?

With getstream a little toy project of mine i basically just fetch the
whole stream with pid 0x2000 for budget cards, or join individual pids
on non-budget cards and do the whole remuxing stuff in userspace.

It is okay to have a MpegTS demux in kernel space as its a "unify the
interface" thingy for all different cards, but the section reassembly
is just a little featured moved to the kernel where it IMHO does not
belong to.

RFC1925 - The twelve networking thruths:

   (12) In protocol design, perfection has been reached not when there
           is nothing left to add, but when there is nothing left to
	   take away.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080227/c6a48d1c/attachment.pgp 


More information about the linux-dvb mailing list