Created
January 25, 2016 11:25
-
-
Save andrey-utkin/d1d204884d49b8f1a9c3 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.nut 2.nut || true | |
mkfifo 1.nut | |
ffmpeg -loglevel debug -f lavfi -i testsrc -t 10 -y 1.nut 2>1.log & | |
mkfifo 2.nut | |
( sleep 10; ffmpeg -loglevel debug -f lavfi -i testsrc -t 10 -y 2.nut 2>2.log ) & | |
echo "ffconcat version 1.0 | |
file 1.nut | |
file 2.nut | |
" > clips.concat | |
ffmpeg -loglevel debug -f concat -i clips.concat -c copy -y concat.nut |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment