且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到FFmpeg文件异常,没有这样的文件或目录

更新时间:2021-08-19 04:45:08

尝试替换

execFFmpegBinary("-i " + path + " -ss " + startMs / 1000 + 
       " -to " + endMs / 1000 + " -c copy " + destPath);

使用

execFFmpegBinary(new String[] {"-i", path, "-ss", "" + startMs / 1000,           
       "-to", "" + endMs / 1000, "-c", "copy", destPath});

ffmpeg-android-java的修复可以追溯到2015年.

The fix to ffmpeg-android-java dates back to 2015.