Created
January 25, 2016 00:30
-
-
Save andrey-utkin/d24f2fa744bd18a2067a to your computer and use it in GitHub Desktop.
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 | |
set -e | |
rm 1.mkv 2.mkv | |
ffmpeg -loglevel debug -f lavfi -i testsrc -t 1 -vcodec libx264 -f matroska - >1.mkv | |
ffmpeg -loglevel debug -f lavfi -i testsrc -t 1 -vcodec libx264 -f matroska - >2.mkv | |
echo "ffconcat version 1.0 | |
file 1.mkv | |
file 2.mkv | |
" > clips.concat | |
ffmpeg -loglevel debug -f concat -i clips.concat -c copy -y concat.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment