[FFmpeg-devel] strange seek problem matroska and avcodec_flush_buffers

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 19 19:10:07 CET 2012

On Sun, Feb 19, 2012 at 12:03:36PM -0500, Don Moir wrote:
> The thing is, the "bad_seek_matroska_strange" file is a worst case
> of this of the files I have. Some other files I have, have a very
> slight indication of this. Maybe something like 1/8 to 1/4 of a
> second. In these cases, settting CODEC_FLAG2_SHOW_ALL is worse
> because you will see distortion where previously it was clean. While
> seeing the distortion is helpful in some cases, I have more files
> that are effected negatively by it.

I may be missing something, but this should be a bug, the demuxer
should be seeking exactly to a keyframe and CODEC_FLAG2_SHOW_ALL
should not make the slightest difference at all.

More information about the ffmpeg-devel mailing list