[libav-api] Strange problem after seeking

Ronald S. Bultje rsbultje at gmail.com
Thu Jun 9 15:48:00 CEST 2011


Hi,

On Thu, Jun 9, 2011 at 9:41 AM, wecing <w3cing at gmail.com> wrote:
> Well... three days passed, but I still couldn't find the problem.
> I don't know which word is used for describing "get a wrong frame which is
> several frames earlier than the correct one about 5-6 times per second" --
> so I will just call it "screen splash".
> I tested my program with eight files.
> The audio part is always perfect, but the video part is very strange.
> #1, h264, screen splashes after seeking;
> #2-3, mpeg4, splashes after seeking;
> #4, mpeg4, splashes even without seeking; (that is too bad...)
> #5-7, h264, perfect;
> #8, mpeg4, perfect.
> And, all of them could be played perfectly by ffplay.

I suppose you have (frame) threading enabled, right?

- are you using your own get_buffer() function, or the default? If
non-default, does it occur with that turned off?
- how many threads, any particular thread_type (or just default), and
does it occur with threading disabled?

Ronald


More information about the libav-api mailing list