...
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 |
...
Revise Scripts
Using the scripts from https://www.bluebill.net/timestamps.html
...
Script | Description |
---|---|
This script extracts the USAGE: ./correct_time.sh video.mp4 --update | |
Adds Timestamp in the top right hand corner of the video. USAGE: ./timestamp.sh video.mp4 | |
Sets the time to the local time specified and stores in the video as UTC. USAGE: ./setTime.sh video.mp4 '2023-06-13T19:23:59' --update |
References
Reference | URL |
---|---|
Add Timestamp to Videos | |
Merging Chaptered GoPro Videos Whilst Preserving Telemetry | Trek View |