[MPlayer-dev-eng] audio pts bad in mplayer if audio encoding with lavc (mencoder)

Rich Felker dalias at aerifal.cx
Sat Jan 19 19:59:03 CET 2008


On Sat, Jan 19, 2008 at 07:33:14PM +0100, Ötvös Attila wrote:
> Ezzel a dátummal: Saturday 19 January 2008 16.42.52 Rich Felker ezt írta:
> Hi Rich Felker!
> 
> > I've noticed the same problem when playing avi files generated by the
> > ffmpeg program itself... Could you check and confirm that? If so the
> > issue probably should be fixed at the lavf muxer level rather than
> > mencoder's wrapper.
> 
> mencoder -> mplayer: afps err
> ffmpeg -> mplayer: afps ok
> mencoder -> ffplay: afps ok
> ffmpeg -> ffplay: afps ok
> 
> Relevant modify in ae_lavc:
> 
> r21789 - Fri Dec 29 20:40:19 2006 UTC:
> http://svn.mplayerhq.hu/mplayer/trunk/libmpcodecs/ae_lavc.c?r1=21787&r2=21789

I think this change was made because MEncoder was wrongly writing "CBR
mode" avi files for CBR codecs rather than using proper framing. I'm
too confused about it all these days, but check and make sure you
don't put it back to that old stupid behavior in the process of fixing
things. "CBR mode" files are bogus and the muxer should always write
correctly framed data regardless of whether the bitrate is constant or
not.

Rich



More information about the MPlayer-dev-eng mailing list