[Libav-user] Seeking video using av_seek_frame()

Pradeep Karosiya praks411 at gmail.com
Tue May 14 11:23:27 CEST 2013


Hi,

I'm currently writing a small program to copy a clip from video file. The
input from user is start and end time of clip. I'm converting the start time
to frame number and then I'm seeking both audio and video stream. Though
video seek is passing but audio seek is failing.
I'm trying to seek a video file using av_seek_frame(). The file contains
both audio and video streams.
I would like to know when I seek one of the streams what happens to other.
For example if I seek video stream to a particular frame. Does audio stream
also advances to that frame. or do I need to seek audio stream separately.

Please share your thoughts.

Thanks and Regards,
Pradeep





--
View this message in context: http://libav-users.943685.n4.nabble.com/Seeking-video-using-av-seek-frame-tp4657586.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list