[linux-dvb] How to record whole TS?

Frederic CAND frederic.cand at anevia.com
Wed Jul 30 10:19:54 CEST 2008


vijet m a écrit :
> Hi,
> 
> Sorry to interrupt your discussion but I have a question regarding 
> recording of MPEG2 streams.
> As Kurt said, if you set pesfilter with output as DMX_OUT_TS_TAP and 
> pass the pid, it will record the streams corresponding
> to that pid. So, if I pass audio and video pid, then it will record only 
> the audio and video streams.
> I wanted to know how to record the DVB SI/PSI tables corresponding to 
> the streams I'm recording.
> Do I have to pass the pids of the tables I want to record or is there 
> some other way?
> Right now, I'm using the pid value 0x2000 for setting pes filter which 
> is proving to be computationally intensive and consuming lot of CPU.
> Please help.
> 
> Thanks in advance,
>        Vijet M
> 

Good way to do is set pid 0, analyse the PAT, grab the PMT PID of the 
service you're interested in, add it to the demux, then parse the PMT, 
grabe the ES PIDs you're interested in, and add it to the demux.

With this you'll be able tou watch the video and hear the audio. If you 
need more tables you should read iso-13818-1, and en 300 438

Cheers


-- 
CAND Frederic
Product Manager
ANEVIA



More information about the linux-dvb mailing list