________________________________
 From: Thomas <zeng...@gmx.de>
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice 
and libavfilter." <libav-user@ffmpeg.org> 
Sent: Thursday, July 18, 2013 8:55 AM
Subject: Re: [Libav-user] How to decode arbitrary frame
 


>You can use avformat_seek_file() followed by avcodec_flush_buffers() before 
>av_read_frame() to jump to an arbitrary position in the Stream.

Thank you.  That works.  But I have an question.  Will avformat_seek_file()
seek to the exact frame, or merely to the nearest key frame?  I'm coding a
video editor and I need to seek to exact frames.  My input
format, for now, are raw formats where all frames are stored in
full such as rawuyvy, or raw422P.  Will avformat_seek_file()
seek to the exact frame in those raw formats, and will it also
seek to the exact frame if I use it on MPEG-type formats?

Thank you.
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to