[FFmpeg-user] concat one video file and multiple audio files
Moritz Barsnick
barsnick at gmx.net
Fri Jan 12 00:11:37 EET 2018
On Thu, Jan 11, 2018 at 22:57:11 +0100, ropiafoldetnezi wrote:
> multiple sources:
> 1 video file (.mp4)
> 6 separate audio files (.mps)
[...]
> the command i tried (on windows 10):
> ffmpeg -i video1.mp4 -i f1.mp3 -i n1.mp3 -i f2.mp3 -i m1.mp3 -i f3.mp3 -i
> v1.mp3 -filter_complex
> "[0:v:0][1:a:0][2:a:0][3:a:0][4:a:0][5:a:0][6:a:0]concat=n=7:v=1:a=1[outv][outa]"
> -map "[outv]" -map "[outa]" output/v1_n1_m1_v1_t_02.mp4
You should be concat'ing the audio separately from the video, and then
mapping video and "[outa]" separately.
You can't concat an audio stream to a video.
Moritz
More information about the ffmpeg-user
mailing list