Mailing List archive

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

[linux-dvb] Re: how to set stream types for playback?



On Fri, 2003-05-23 at 19:49, Marcus Metzler wrote:
> Andreas Oberritter writes:
>  > I need:
>  > 
>  > typedef enum {
>  > 	STREAM_TYPE_SPTS,
>  > 	STREAM_TYPE_PES,
>  > 	STREAM_TYPE_ES,
>  > 	STREAM_TYPE_AVPES,  
> 
> what is that?  Don't use that anywhere!

just a proposal.

> 
>  > 	STREAM_TYPE_PS
>  > } stream_type_t;
>  > 
> 
> The stream types are taken from the capabilities:
> #define VIDEO_CAP_MPEG1   1
> #define VIDEO_CAP_MPEG2   2
> /* can you send a system and/or program stream to video device?
>    (you still have to open the video and the audio device but only
>     send the stream to the video device) */
> #define VIDEO_CAP_SYS     4

is this SPTS?

> #define VIDEO_CAP_PROG    8

is this PS?

> #define AUDIO_CAP_MP1    4
> #define AUDIO_CAP_MP2    8

How can I select MPEG2 PES or ES for audio and video? How can I select
AVPES? Would an MPEG1 PS be (VIDEO_CAP_MPEG1|VIDEO_CAP_PROG)?

Regards,
Andreas



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



Home | Main Index | Thread Index