[MPlayer-users] Strange timecode behavior with FLAC files

Uoti Urpala uoti.urpala at pp1.inet.fi
Thu Nov 25 20:07:23 CET 2010


On Thu, 2010-11-25 at 19:43 +0100, Ilja Sekler wrote:
> On 25.11.2010 00:21, Uoti Urpala wrote:
> > The biggest cause of problems is that the FFmpeg FLAC decoder
> > behaves badly. It internally buffers packets in a way that makes it
> > impossible to know what part of its output corresponds to which input
> > packet (and thus to which timecode). I think this should get fixed
> > after the FLAC parser patches are applied in FFmpeg. The parser
> > itself isn't needed, but the patches remove the current badly done
> > buffering implementation.
> 
> Thank you, assuming that you speak about the thread on ffmpeg-devel
> starting with
> <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-July/093465.html>, I
> applied parts of the patch from
> <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-July/093848.html>
> which suffered minor bitrot to libavcodec/flac{.h,dec.c} - the resulting
> mplayer binary displays correct timecode in FLAC files starting with
> zero for max. 2.5 seconds and then crashes with following flac-related
> messages:

There's a recent version available. Note that if you play raw FLAC files
then you probably need to specify -demuxer lavf.



More information about the MPlayer-users mailing list