I'm using the latest version of WritingMinds/ffmpeg-android-java library.
I've tried single/double quoting the path with no success.
I Logged my command after execution, please look to the input path where a subDirectory contains whiteSpace, a comma has been added between the space:
ffmpeg, -i, "storage/emulated/0/Telegram/Telegram, Video/4_5828137322067002802.mp4", -vf...
I split and run my command like this:
String crop = "-ss " + skipTimeForCrop + " -noautorotate -i " + newPath + " -vframes 10 -vf cropdetect=24:16:0 -f null -";
String[] cropCommand = crop.trim().split("");
execFFmpegForCrop(cropCommand);
storage/emulated/0/Telegram/Telegram: No such file or directory
Any idea on this?
-- WritingMinds/ffmpeg-android-java