Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: How to receive a TS containing PAT and PMT?



Luca Abeni wrote:
> 
> since I am not able to dump the whole TS received by my DVB-S card, I am
> trying a different approach:
> 1) I use DMX_SET_PES_FILTER for selecting PID 0 (the PAT), and I read
> the resulting stream from /dev/dvb/adapter0/dvr0
> 2) I parse the PAT, finding the PIDs of the various PMTs, and I
> dynamically select those PIDs by using DMX_SET_PES_FILTER
> 3) I parse the PMTs, selecting the PIDs of the ESs (again, by using
> DMX_SET_PES_FILTER)

Make shure you use PES_TYPE_OTHER.

> Steps 1) and 2) work ok (I can receive in /dev/dvb/adapter0/dvr0 a TS
> containing the PAT only, or a TS containing PAT+PMT), but as soon as I
> select the first ES PID the stream is corrupted...

What exactly do you mean by "corrupted"?

As long as you don't exceed the bandwidth limitations of the
DPRAM/DEBI bottleneck this should work.

I can use "scan -c" to get the PIDs and then test_dvr to record.


Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index