[FFmpeg-user] Concatenating 2 or more MP4 videos containing multiple audio streams

Sylvain Tremblay syltrem at videotron.ca
Mon May 22 03:11:27 EEST 2023


Thanks a lot Kieran, this worked perfectly !

~ST

-----Message d'origine-----
De : ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de Kieran O Leary
Envoyé : 21 mai 2023 16:58
À : Sylvain Tremblay <syltrem at videotron.ca>
Cc : FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Objet : Re: [FFmpeg-user] Concatenating 2 or more MP4 videos containing multiple audio streams

On Sun 21 May 2023 at 21:52, Sylvain Tremblay <syltrem at videotron.ca> wrote:

> Hi Kieran
>
> Thanks for your reply
>
> I updated ffmpeg.exe and the error no longer arises. So that's one good
> thing.
>
> With this
> ffmpeg -i CLEO_D1-4.mp4 -i CLEO_D2.mp4  -map 0 -map 1 Cleopatra.mp4
> or this
> ffmpeg -i CLEO_D1-4.mp4 -i CLEO_D2.mp4 -map 0:v -map 0:a -map 1:v -map 1:a
> Cleopatra_2.mp4



These are not concat commands. You used the concat demuxer in your last
email so my comments were directed that way.
For example can you try this, assuming you have the relevant file names in
the text file and they’re all in the same working directory?

ffmpeg -f concat -i f.txt -map 0:a -map 0:v -c copy Cleopatra.mp4

If it doesn’t work, send the complete uncut terminal output.

Best,

Kieran
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list