On Thu, Jun 3, 2010 at 7:15 AM, Ronald S. Bultje <[email protected]> wrote:
> Hi,
>
> On Thu, Jun 3, 2010 at 6:05 AM, Thomas Worth <[email protected]> wrote:
>> I need to seek by a value from 1-100. So, if the value is 50, the seek
>> is in the middle of the stream. I need to pass the corresponding
>> timestamp value to av_seek_frame.
>
> I suggest you look at how ffplay.c handles this, seeking to parts of
> stream works just fine there, right?

I figured it out. I had to set av_seek_frame's AVSEEK_FLAG_BACKWARD
flag. If I don't set this, the app crashes as the seek gets near the
end of the video stream.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to