Created
January 3, 2017 02:48
-
-
Save chris-erickson/3aa166ffdc12baeed52ceaa87c8df501 to your computer and use it in GitHub Desktop.
Merge (concatenate) multiple media files that share the same codecs
This file contains hidden or 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
# Update the extensions to match whatever you are starting with | |
# It isn't critical, but makes things work properly | |
for f in *.mp4; do echo "file '$f'" >> mylist.txt; done | |
ffmpeg -f concat -i mylist.txt -c copy output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment