Created
June 28, 2021 09:49
-
-
Save romech/95585203a2c50a936c17c1461a842799 to your computer and use it in GitHub Desktop.
Concatenate videos from current directory, sorted by time ascending
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
ls -tr1 | while read line; do echo file \'$line\'; done | ffmpeg -protocol_whitelist file,pipe -f concat -i - -c copy ../output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment