[MPlayer-users] MPEG-TS + H264 (again)

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Nov 7 12:46:33 CET 2009


Colin Samuel Rosenthal <csr <at> statsbiblioteket.dk> writes:

> ii) The captured stream plays fine, with sound, in vlc. So we know the sound
> is there somewhere. 

Thank you for the hint!
MPlayer has several, different problems with this file:
demuxer lavf does not support AAC in ts: This is FFmpeg issue 244 (which is open
since exactly two years)

tsprog did not work correctly for demuxer lavf: Reimar just fixed that.

Video cannot be decoded correctly, the following command line shows this best:
mplayer mux2.share.ts -demuxer lavf -vid 7 -nosound -nocorrect-pts
(This is new ffmpeg issue 1523)
Note that there is a reception error after ~2 seconds, the problems I mean can
be seen afterwards throughout the whole recording.
(wrong picture ordering? Why does it work with vlc?)

I do not understand why the native demuxer (that does support audio) does not
work correctly: It looks as if it does not like the PMT.
As a work-around, you can change "es->type    = VIDEO_MPEG2;" in
libmpdemux/demux_ts.c to "es->type    = VIDEO_H264;" - with -ac +faad, you can
then play the stream (somehow, see above).
Nico, could you have a look why PMT is not read for this stream
(incoming/mux2.share.ts)?

Carl Eugen



More information about the MPlayer-users mailing list