problem: FFMPEG seeking with av_seek_frame using byte positions

后端 未结 2 2041
耶瑟儿~
耶瑟儿~ 2020-12-28 09:26

I am trying to get the av_seek_frame() function to go to a byte position I specify. I am implementing a frame accurate seeking mechanism for my application, and the way I se

2条回答
  •  清歌不尽
    2020-12-28 10:04

    In recent versions of libav, url_seek has been made an internal function. One should now use the following function:

    /**
    * fseek() equivalent for AVIOContext.
    * @return new position or AVERROR.
    */
    int64_t avio_seek(AVIOContext *s, int64_t offset, int whence);
    

提交回复
热议问题