ffmpeg.js icon indicating copy to clipboard operation
ffmpeg.js copied to clipboard

Executing the ffmpeg command

Open Mezir opened this issue 4 years ago • 0 comments

Is it possible to execute such a command? in php I do it like this: exec('ffmpeg -f concat -stream_loop -1 -i list.txt -i audio/bg.mp3 -filter_complex "[0]volume=2dB,aformat=fltp,pan=stereo|c0=c0|c1=c0[a0];[1]volume=0.5dB,aformat=fltp,pan=stereo|c0=c0|c1=c1[a1];[a0][a1]amix=inputs=2:duration=longest,aformat=fltp[a]" -map "[a]" -strict -2 -y '.$config['audio_output_dir'].'/cp.mp3');

list.txt: file audio/intro.mp3 file audio/10.mp3 file audio/3.mp3 file audio/4.mp3 file audio/5.mp3

Mezir avatar Oct 17 '20 09:10 Mezir