Mailing List archive

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

[linux-dvb] Re: ?: How I can recording video PES to a file with NAPI



Ralph Metzler wrote:
> 
> Varga Peter writes:
>  > But from which one device should I to read the audio and video PESes
>  > together,
>  > /dev/ost/demux or /dev/ost/dvr (not TS)?
> 
> If you use DMX_OUT_TAP, then from  /dev/ost/demux, if you use
> DMX_OUT_TS_TAP, then from /dev/ost/dvr.
> 
>  > If I have to read from /dev/ost/demux, then can I use the filedescriptor
>  > of the
>  > previous for audio pes or video pes opened /dev/ost/demux device (below
>  > demuxAudioDevFd and demuxVideoDevFd) or should I open the /dev/ost/demux
>  > again
>  > for a new filedescriptor and read from it?
> 
> You have to use the file handle for which you set the filter of course.
> You can read the audio PES stream from your demuxAudioDevFd and the video
> PES stream from your demuxVideoDevFd.
> Or, if you used DMX_OUT_TS_TAP, you can read a multiplexed TS stream
> from one file descriptor which was opened for /dev/ost/dvr.
> You can not get a multiplexed PS from this API.

Does this mean that the NAPI does not deliver the same kind of data
that the 0.8.2 driver delivers by default when reading from /dev/video?

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