[MPlayer-users] Trouble playing mpegts containing H264

Nico Sabbi nsabbi at email.it
Wed Nov 22 16:27:49 CET 2006


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



More information about the MPlayer-users mailing list