Created
January 19, 2022 05:09
-
-
Save lazywinadmin/dd09e8d43ff2439fa3498bcad0752abf to your computer and use it in GitHub Desktop.
Concat GoPro mp4 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you get the right files | |
for f in `ls -tr *.MP4`; do echo "file '$PWD/$f'";done | |
# Merge the files | |
fmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment