[FFmpeg-user] FFmpeg apply same audio mixing to multiple output
Jeromy
jhwang81 at nate.com
Mon Mar 30 15:45:40 CEST 2015
Hi,
Please excuse me for bad english.
I need to create three mixed audio file (pcm, amr, mp3), starting from
original pcm or amr audio file.
In order to do this I use following command:
./ffmpeg -i 1.amr -i 2.amr -filter_complex
amix=inputs=2:duration=longest:dropout_transition=2 -c:a amr_nb -ac 1 -ar
8000 -b:a 12.2k -y output1.amr -c:a pcm_alaw -ac 1 -ar 16000 -y output2.wav
-c:a pcm_mulaw -ac 1 -ar 16000 -y output2.wav
The problem is that audio mixing is applyed only to first amr file. How can
I apply the audio mixing to all output file.
Tanks
Stream mapping:
Stream #0:0 (amrnb) -> amix:input0 (graph 0)
Stream #1:0 (amrnb) -> amix:input1 (graph 0)
amix (graph 0) -> Stream #0:0 (libopencore_amrnb)
Stream #0:0 -> #1:0 (amr_nb (amrnb) -> amr_nb (libopencore_amrnb))
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFmpeg-apply-same-audio-mixing-to-multiple-output-tp4669753.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list