Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
themeEmacs
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

...


Revise Scripts

Using the scripts from https://www.bluebill.net/timestamps.html

...