[MPlayer-users] Trouble playing mpegts containing H264
Keean Schupke
k.schupke at imperial.ac.uk
Wed Nov 22 16:42:52 CET 2006
Nico Sabbi wrote:
> Keean Schupke wrote:
>
>>
>> "es type=10000002 subtype=0 h264=10000005"
>>
>> and the player fails to find the video stream and just plays the audio.
>>
>> If however I modify the line that sets the video type:
>>
>> - param->vtype = IS_VIDEO(es.type) ? es.type : es.subtype
>> + param->vtype = VIDEO_H264;
>>
>> Then the stream plays correctly!
>>
>> It appears on closer examination the PAT table for the stream does
>> not contain information for the video and audio streams, and so
>> mplayer falls back to guessing based on the PES stream-id... which is
>> of course about as useful as a random guess (in as far as it always
>> chooses MPEG2 for the video stream, so it works for the current
>> generation of broadcast DVB). However "dvbtune -i" correctly finds
>> the H264 stream and the audio stream. How is dvbtune picking up this
>> information when mplayer cannot? VLC also picks up the correct stream
>> type. VLC uses libdvbpsi to parse the streams, perhaps mplayer should
>> use this library too?
>>
>> Is there any work in progress to fix the mpeg-ts stream type detection?
>
>
> add the pmt pid and everything will work correctly
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Cheers, is there any way to scan for the PMT? Is that what VLC does?
Keean.
More information about the MPlayer-users
mailing list