Mailing List archive

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

[linux-dvb] Re: VDR suggestion - record to TS?



Dave Chapman wrote:
> 
> On Wednesday 02 May 2001  8:26 pm, you wrote:
> > > Yesterday I tested this out on Pro-7, and successfully recorded all 3
> > > streams into the same TS file - PIDs 255 (video), 256 (mpeg audio) and
> > > 257 (ac3 audio).
> >
> > Can you please tell me exactly how you did this?
> >
> > I know how to set the video and audio PIDs in the new API, but don't
> > know how to set the AC3 PID (maybe I'm just not seeing it... ;-)
> 
> You just set up another PES filter as follows:
> 
> pesFilterParams.pid     = pid;
> pesFilterParams.input   = DMX_IN_FRONTEND;
> pesFilterParams.output  = DMX_OUT_TS_TAP;
> pesFilterParams.pesType = DMX_PES_OTHER;
> pesFilterParams.flags   = DMX_IMMEDIATE_START;
> 
> The output field tells the driver to either send the stream to the decoder
> only (DMX_OUT_DECODER), the decoder and the demux device as a single PES
> stream (DMX_OUT_TAP)  or the decoder and the dvr device as part of a
> multiplexed TS sttream (DMX_OUT_TS_TAP).
> 
> The pesType field tells the decoder what to do with the PES stream:
> 
> DMX_PES_VIDEO - this stream should be processed by the decoder as VIDEO
> DMX_PES_AUDIO - this stream should be processed by the decoder as AUDIO
> DMX_PES_TELETEXT - this stream should be processed by the decoder as TELETEXT
> DMX_PES_OTHER - this stream is something else - don't send it to the decoder
> 
> As you will see, the only way to tell the decoder not to try and process it
> is by setting the type to OTHER.
> 
> Hope this is clearer now,

Thanks, actually this sounds pretty easy.
I'll give it a try over the weekend - unfortunately that's the only time I have
for the VDR project... And during the week my family needs my one and only VDR
system for "regular" tv ;-)

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


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



Home | Main Index | Thread Index