Last active
September 22, 2018 16:46
-
-
Save jfeilbach/f115218bda2e344427bd5da98fac015d to your computer and use it in GitHub Desktop.
mux multiple .ts files with ffmpeg
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
#!/bin/bash | |
START='0' | |
END='137' | |
for i in `seq $START $END` | |
do echo file "'${i}.ts'" >> input.txt | |
done | |
# ffmpeg concat | |
/usr/local/bin/ffmpeg -f concat -i input.file -c copy output.ts | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment