I'm trying to play video in my game by using ffmpeg-avformatlib library.
'av_seek_frame()' work correctly when open '.avi' file.
but if open .bik file, it's not work however the function return 0(success) and 
seek to 0 frame.
anyone who know about this problem? :( please tell me please...
void CMovie::Play(const Time startFrame, const Time endFrame, const bool loop/* 
= false*/) { ... if (m_bStart) { av_seek_frame(GetFormatContext(), 
GetVideoStreamIndex(), startFrame, AVSEEK_FLAG_FRAME); m_bStart = false; } ... }
i uploaded sample video player and video which call 'av_seek_frame()' to seek.
play fire.bik and click left or right button, you can see seek to 0 frame. it's 
same as my program.
check it 
please.https://drive.google.com/file/d/1DVrX3EOzjxSfEA4EYpeSREaE2RLhB28Q/view?usp=sharing
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to