Arjan wrote:
> Hi, I came across some strange behavior in the av_seek_frame call.
> I was able to reproduce this in ffplay.c
>
> by adding the following line to ffplay.c at line 1794 you can reproduce
> the behavior.
>
> av_seek_frame( is->ic, -1, AV_TIME_BASE, AVSEEK_FLAG_BACKWARD);
>
> I expected ffplay to start playing with a one second offset, instead it
> waits indefinitely for a frame, since avcodec_decode_video never returns
> a frame.
>
> I don't think this is true for all formats, but it is for the file I
> tested it with.
> You can find this file here:
> http://www.arjanhouben.nl/SDL_ffmpeg/ffmpeg/scrtest.mpg
>
> It seems to come down to the fact that a seek is performed before the
> first packet in this file is decoded.
>
> Am I right in assuming that a seek, even if called before the first
> decode, should work normally?
> I tested this behavior with the latest SVN version in linux 8.10 and winXP.
>
>
> thanks in advance,
>
> - Arjan
Could someone confirm this behavior?
At the moment I am unsure if I should file this as a bug to the bugtracker..
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user