ffmpeg-android-java
ffmpeg-android-java copied to clipboard
Run multiple ffmpeg command using && operator
My requirement is like i have create an repeated audio track and then merge it with video. so I have used && operator for that but it gives me and error sample command is like "-stream_loop 2 -i /storage/emulated/0/Movies/Hard.mp3 -c copy -y /storage/emulated/0/Movies/sfsdf.mp3 && -i /storage/emulated/0/Movies/Vid.mp4 -i /storage/emulated/0/Movies/sfsdf.mp3 -map 0v0 -map 1a0 -y -acodec copy -vcodec copy -preset ultrafast -async 1 /storage/emulated/0/Movies/audio_loop.mp4"
the commands are seperated by && both the commands run well individually but using && operator it will not work. Does anybody having idea about it?
refernece link : https://stackoverflow.com/questions/33963263/run-ffmpeg-multiple-commands