Open acedigibits opened 3 years ago
i have the same problem... any solution? in my case: "-i file:///storage/emulated/0/DCIM/Camera/VID_20210812_131030.mp4 -vn -c:a copy file:///storage/emulated/0/Download/my_video.mp4"
try: ffmpeg.exec('-i "someinput.mp4" -vn -c:a copy "out.mp3"', (success) => alert(success), (failure) => alert(failure));
at least it gives a different error.
Hello, I believe I am running into the same issue. My first question is if my paths are correct and then the second (being new to app development) is how to confirm that I have permissions to the path.
Here is the command I am running: ffmpeg.exec( '-i "file:///storage/emulated/0/DCIM/Camera/0827211601a.mp4" -vn -c:a copy "file:///storage/emulated/0/my_audio.mp3"', (success: any) => alert(success), (failure: any) => alert(failure) );
For anyone else that is curious, I was able to get this working by stripping file:/// from my file paths
Anyone knows the way to actually get more info about an error, I also just get the error code 1 (though the loglevel has been set to debug
within the ffmpeg command) which is not really helpful to address the matter.
i am able to run ffprobe and get details for input path.
However if i use ffmpeg command listed below :
ffmpeg.exec("-i someinput.mp4 -vn -c:a copy out.mp3", (success) => alert(success), (failure) => alert(failure));
to convert that same video to mp3 , i get error code 1. I have permission to write to external storage and output path is set to external storage. i am unable to pinpoint what is the exact issue as i have tried all combination of output path.