Created
November 8, 2017 17:52
-
-
Save 47ronin/728df598134906a949ada0a9aef799fe to your computer and use it in GitHub Desktop.
Concatenate similar MP4 videos together into one, long video
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
#!/bin/bash | |
ffmpeg -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