在我的Android应用程序中使用FFMpeg库,我尝试了解如何在音频文件中非常精确的位置进行搜索。例如,我想将文件中的当前位置设置为#1234567帧(在以44100Hz编码的文件中),这相当于在27994.717毫秒处寻找。为此,我尝试了以下方法://this:av_seek_frame(formatContext,-1,27994717,0);//orthis:av_seek_frame(formatContext,-1,27994717,AVSEEK_FLAG_ANY);//oreventhis:avformat_seek_file(formatContext,-1,27994