[Ffmpeg-devel] MPEG2 decoding problems

Måns Rullgård mru
Fri Mar 3 22:15:14 CET 2006

Diego Biurrun <diego at biurrun.de> writes:

> On Thu, Mar 02, 2006 at 09:49:03AM -1000, Steve Lhomme wrote:
>> Thanks. I have many videos that behave better now. Unfortunately one of 
>> them crashes after the first seek.
>> Here is the code I use when seeking:
>>   av_seek_frame(fctx, pkt.stream_index, offset, AVSEEK_FLAG_BACKWARD);
>>   avcodec_flush_buffers(pcodec);
>> The offset is correct as it was working fine before and seek around the 
>> correct point. I've tried using -1 instead of pkt.stream_index but it 
>> does the same.
>> I can't reproduce the crash when using the FFMPEG command-line as it 
>> doesn't perform such seeking and FFPlay doesn't play anything.
>> I'm uploading a sample here (20,000KB):
>> http://www.matroska.org/~robux4/drdivx/samples/chems1.vob
> Unreproducible with MPlayer...

or with ffplay.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list