Last active
October 17, 2019 07:17
-
-
Save kndt84/338df7995ed53d0653b2edd1368326d4 to your computer and use it in GitHub Desktop.
Concat movie files with ffmpeg
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 | |
EXT=$1 | |
OUTFILENAME=$2 | |
TXTFILE=filelist.txt | |
ls -d ./*.${EXT} | sed 's/^/file /' > $TXTFILE | |
ffmpeg -f concat -safe 0 -i $TXTFILE -c copy ../$2 > /dev/null 2>&1 </dev/null |
Author
kndt84
commented
Oct 29, 2018
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment