Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] How to receive a TS containing PAT and PMT?
Hi all,
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)
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... Hence, I am beginning
to wonder if my approach is correct or not. Any ideas?
Summing up: I'd like to receive a TS containing the PAT, one or more
PMT, and the relative PESs... What's the best way to achieve this
result?
Thanks,
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Hai una fotocamera digitale e vuoi stampare le tue immagini
su vera carta fotografica professionale?
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1533&d=16-10
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index