[FFmpeg-trac] #438(avformat:new): broken frame after seek in ogg container

FFmpeg trac at avcodec.org
Tue Sep 6 23:01:01 CEST 2011

#438: broken frame after seek in ogg container
             Reporter:  j         |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 ogg demuxer does not seek to keyframe:
  ffmpeg -ss 23 -i test.ogv -s 640x480 -f mjpeg -an -vframes 1 test.jpg

 the output frame is not fully decoded. it did not seek to a keyframe and
 just dumps output.

 if insted one seeks on the decoded stream. the frame looks ok.

  ffmpeg -i test.ogv -ss 23 -s 640x480 -f mjpeg -an -vframes 1 test.jpg

 ffmpeg's ogg demuxer should be able to seek to the previous keyframe in
 the first case.
 and decode from there

Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/438>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list