I am using Capacitor which is Ionics Cordova alternative.
I tried code below:
ffmpeg.exec(
"-i storage/emulated/0/Documents/digipro/video/video_one.mp4 -vn -c:a copy storage/emulated/0/out.mp3",
(s: any) => console.log(s),
(e: any) => console.log(e)
);
I am using Capacitor which is Ionics Cordova alternative.
I tried code below:
it throws error code 1.
I changed input and output path (with file:// or http://localhost/_capacitor_file_/ scheme) but neither working