On 7/13/2024 3:08 AM, Vincent Deconinck wrote:
On Sat, Jul 13, 2024 at 4:26 AM Rick Keniuk <daddyo...@gmail.com> wrote:

I have tried the following simple concatenation command which worked
perfectly only it outputs just the video and the first audio stream.
ffmpeg -f concat -i videos.txt -c copy output.mp4

Hi Rick,

By default only the first audio stream is output.
Selection of streams can be done with the -map option, and -map 0 is a
shortcut for "map all" - see https://trac.ffmpeg.org/wiki/Map
Can you try the following :

ffmpeg -f concat -i videos.txt -c copy -map 0 output.mp4

Don't know about chapter markers though...

KR,

Vincent


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

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

Thanks Vincent,

That worked.  I have all the audio streams and subtitles in my concatenated file (and the joining point is flawless with out a gap or stutter).  Sadly the chapters didn't merge though.  That current result may get by for now.

Based on some web searches I tried modifying the mapping to see if chapters would concatenate.  Only with the same result.  The "map 0" command probably implies "-map_metadata 0" and "-map_chapters 0".

ffmpeg -f concat -i videos.txt -c copy -map 0 -map_metadata 0 -map_chapters 0 output.mp4

I found this discussion from 7 years ago and I fear that it exists today in this state.

https://trac.ffmpeg.org/ticket/6468


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

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

Reply via email to