[Ffmpeg-devel] [BUG] matroska demuxer

Aurelien Jacobs aurel
Sun Apr 22 01:02:53 CEST 2007


On Wed, 18 Apr 2007 19:02:43 +0200
Baptiste Coudurier <baptiste.coudurier at smartjog.com> wrote:

> Baptiste Coudurier wrote:
> > Hi
> > 
> > x264_no-b-frames.mkv in incoming
> > 
> > lavf demuxer does not recognize the stream, while mplayer does:
> > 
> > ffmpeg -i x264_no-b-frames.mkv
> > 
> > Input #0, matroska, from 'x264_no-b-frames.mkv':
> >   Duration: 00:00:40.2, bitrate: N/A
> > Must supply at least one output file
> > 
> > If someone is motivated to check.
> > 
> 
> Regression here:
> 
> http://samples.mplayerhq.hu/Matroska/x264_no-b-frames.mkv
> 
> FFmpeg version SVN-r8749, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>   configuration: --cc=distcc gcc-4.1 --enable-gpl --enable-static
> --enable-libmp3lame --enable-libfaac --enable-liba52 --enable-x264
> --enable-libfaad --enable-pthreads --enable-xvid --enable-pp
> --enable-amr_nb --enable-amr_wb
>   libavutil version: 49.4.0
>   libavcodec version: 51.40.3
>   libavformat version: 51.12.1
>   built on Apr 18 2007 14:57:10, gcc: 4.1.2 20061115 (prerelease)
> (Debian 4.1.1-21)
> Input #0, matroska, from 'x264_no-b-frames.mkv':
>   Duration: 00:00:40.2, start: 0.000000, bitrate: N/A
>   Stream #0.0: Video: h264, yuv420p, 1280x720,  1.25 fps(r)

Is it really a regression ?
Has ffmeg already displayed proper fps here ? With which version ?
I will try to investigate this.

Anyway there is another problem with this file.
It plays all choppy for the first few seconds of the file.
This seems to be a bug in the AVParser pts generation.
If I remove the following line from matroska.c this file plays smooth:
  st->need_parsing = AVSTREAM_PARSE_HEADERS;

Aurel




More information about the ffmpeg-devel mailing list