<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/dvb/dmx.h, branch v2.6.26.3</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v2.6.26.3</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v2.6.26.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2008-04-24T17:07:46+00:00</updated>
<entry>
<title>V4L/DVB (7293): DMX_OUT_TSDEMUX_TAP: record two streams from same mux, resend</title>
<updated>2008-04-24T17:07:46+00:00</updated>
<author>
<name>Peter Hartley</name>
<email>pdh@utter.chaos.org.uk</email>
</author>
<published>2008-04-22T17:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b01cd937895ad4114a07114cfb6b8b5d2be52241'/>
<id>urn:sha1:b01cd937895ad4114a07114cfb6b8b5d2be52241</id>
<content type='text'>
Currently (in linux-2.6.24, but linux-dvb hg looks similar), the
dmx_output_t in the dmx_pes_filter_params decides two things: whether
output is sent to demux0 or dvr0 (in dmxdev.c:dvb_dmxdev_ts_callback),
*and* whether to depacketise TS (in dmxdev.c:dvb_dmxdev_filter_start).
As it stands, those two things can't be set independently: output
destined for demux0 is depacketised, output for dvr0 isn't.

This is what you want for capturing multiple audio streams from the same
multiplex simultaneously: open demux0 several times and send
depacketised output there. And capturing a single video stream is fine
not what you want: you want multi-open (so demux0, not dvr0), but you
want the TS nature preserved (because that's what you want on output, as
you're going to re-multiplex it with the audio).

At least one existing solution -- GStreamer -- sends all its streams
simultaneously via dvr0 and demuxes again in userland, but it seems a
bit of a shame to pick out all the PIDs in kernel, stick them back
together in kernel, and send them to userland only to get unpicked
again, when the alternative is such a small API addition.

The attached patch adds a new value for dmx_output_t:
DMX_OUT_TSDEMUX_TAP, which sends TS to the demux0 device. With this
patch and a dvb-usb-dib0700 (and UK Freeview from Sandy Heath), I can
successfully capture an audio/video PID pair into a TS file that mplayer
can play back.

Signed-off-by: Peter Hartley &lt;pdh@utter.chaos.org.uk&gt;
Acked-by: Andreas Oberritter &lt;obi@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (3727): Remove DMX_GET_EVENT and associated data structures</title>
<updated>2006-06-25T04:57:47+00:00</updated>
<author>
<name>Andreas Oberritter</name>
<email>obi@linuxtv.org</email>
</author>
<published>2006-04-05T19:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=62838084b4c4c83cd511893132e2d8da84f48813'/>
<id>urn:sha1:62838084b4c4c83cd511893132e2d8da84f48813</id>
<content type='text'>
The ioctl DMX_GET_EVENT has never been implemented.
I guess no software is using it because of its lack of implementation.
Future software won't use it, too, because this API doesn't make much
sense the way it is: Frontend events have their own different API.
Scrambling events can't be generated in a useful way by the hardware I
know of.

Signed-off-by: Andreas Oberritter &lt;obi@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 4</title>
<updated>2005-12-12T16:57:44+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@brturbo.com.br</email>
</author>
<published>2005-12-12T08:37:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=674434c691e10015660022fc00b04985a23ef87b'/>
<id>urn:sha1:674434c691e10015660022fc00b04985a23ef87b</id>
<content type='text'>
Clean up whitespaces at v4l/dvb files

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@brturbo.com.br&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 3</title>
<updated>2005-12-12T16:57:44+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@brturbo.com.br</email>
</author>
<published>2005-12-12T08:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=afd1a0c9ac281eed3b22b293ccd92af7b0d60889'/>
<id>urn:sha1:afd1a0c9ac281eed3b22b293ccd92af7b0d60889</id>
<content type='text'>
Clean up whitespaces at v4l/dvb files

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@brturbo.com.br&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>urn:sha1:1da177e4c3f41524e886b7f1b8a0c1fc7321cac2</id>
<content type='text'>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</content>
</entry>
</feed>
