[linux-dvb] How to extract several PID's from a TS

Christophe Thommeret hftom at free.fr
Thu Mar 30 15:52:40 CEST 2006


Le Jeudi 30 Mars 2006 15:32, christophe a écrit :
> Hello,
> How can i extract several video and audio data packets from only on
> transport stream, using only one DVB card ?
> In fact i have a DVB-S emitter, emitting several PID multiplexed video
> sources (cameras), and i want to be able to watch them all at same time
> with only one receiver (my receiver is directly connected to my emitter,
> it works exactly the same way then with a satellite).
> Maybe i should use several /dev/dvb/adapter0/dvrx interfaces and tell the
> frontend to redirect the several video packets to each of them ?
> Is this possible ? Has anyone already done such a thing ?

Each TS packet header contains the PID of the stream it belongs to.
So you can easily filter what you want.
See the joined example.

-- 
Christophe Thommeret
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ts2ts.c
Type: text/x-csrc
Size: 574 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060330/05a0d096/ts2ts.c


More information about the linux-dvb mailing list