2017-05-29 52 views
0
E/FFmpeg: Exception while trying to run: /data/user/0/com.example/files/ffmpeg -y -i /storage/emulated/0/DCIM/Camera/VID_20170517_112234.mp4 -vf scale=500:-1 qscale:v 8 -acodec copy -vcodec mpeg4/storage/emulated/0/wobingwoyi/1496060268815.mp4 

java.io.IOException: Error running exec(). Command: [/data/user/0/com.wobingwoyi/files/ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/VID_20170517_112234.mp4, -vf, scale=500:-1, -qscale:v, 8, -acodec, copy, -vcodec, mpeg4, /storage/emulated/0/wobingwoyi/1496060268815.mp4] Working Directory: null Environment: null 

Here is my Configuration當我使用FFmpeg的libary壓縮視頻,IDE顯示這個錯誤

This is the complete error message

+0

請,排序的問題。 –

回答

0

的原因是,你在不完整的圖書館,日誌顯示:No such file or directory。檢查libs中的文件夾,確保它全部具有.so文件。

enter image description here

有兩種方法來解決這個問題:

    1. 供應各種庫文件
  • 製作你庫文件匹配你abiFilters(圖書館libs有一個.so文件)。

enter image description here

+0

謝謝,我解決了這個問題 – leslie