...
Code Block |
---|
brew install ffmpeg brew install coreutils brew install jq |
Joining the Videos While
...
Preserving Metadata
First create a text file (e.g. filesToMerge.txt) with all the chaptered video files that you want to merge into a single video e.g.
...
The above video has 4 streams. Lets try to join join streams 0,1 and 3.
Code Block | ||
---|---|---|
| ||
ffmpeg -f concat -safe 0 -i filesToMerge.txt -c copy -map 0:0 -map 0:1 -map 0:3 -c:v libx264 -pix_fmt yuv420p video-merged.mp4 |
...