[vlc] vlc failed to play ts stream

matthieu castet castet.matthieu at free.fr
Mon Jan 2 23:19:37 CET 2006


Hi,

I have a TS stream (given by vdr stream-dev) where video PID = 166
(MPEG2) and audio pid = 104 (MPA).

Vlc report them as unknow and fail to play the stream.
mplayer manage to play it [1].

After a quick look, it seems that modules/demux/ps.c doesn't look at the
type of the stream and only know some pid (PIDFillFormat).

It should use p_es->i_type and mplayer array [2]

Thanks

Matthieu

PS : I suppose there is the same problem for PES.
[1]
VIDEO MPEG2(pid=166)AUDIO MPA(pid=104) NO SUBS (yet)!  PROGRAM N. 0
==> Found video stream: 0
==> Found audio stream: 0
Opened TS demuxer, audio: 50(pid 104), video: 10000002(pid
166)...POS=5640

[2]
typedef enum
{
         UNKNOWN         = -1,
         VIDEO_MPEG1     = 0x10000001,
         VIDEO_MPEG2     = 0x10000002,
         VIDEO_MPEG4     = 0x10000004,
         VIDEO_H264      = 0x10000005,
         VIDEO_AVC       = mmioFOURCC('a', 'v', 'c', '1'),
         AUDIO_MP2       = 0x50,
         AUDIO_A52       = 0x2000,
         AUDIO_LPCM_BE   = 0x10001,
         AUDIO_AAC       = mmioFOURCC('M', 'P', '4', 'A'),
         SPU_DVD         = 0x3000000,
         SPU_DVB         = 0x3000001,
         PES_PRIVATE1    = 0xBD00000,
         SL_PES_STREAM   = 0xD000000,
         SL_SECTION      = 0xD100000,
         MP4_OD          = 0xD200000,
} es_stream_type_t;

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list