Hi everyone,

I am working on a video processing application, but I got a problem
about seeking specific frame.

I know the frame number is 1757, the FPS is 15. So the frame should be
at 1757/15 = 117.13 sec.

av_seek_frame(m_formatCtx, m_videoIndex, timestamp, FLAG)
In this function, what timestamp and FLAG should I use ?

I used
frame number(1757) and AVSEEK_FLAG_FRAME. Failed. Got wrong frame.
frame number(1757) and AVSEEK_FLAG_ANY. Failed. Got no picture.


Any suggestion would help me.
Thanks in advance.


Amid


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to