Created
August 23, 2019 13:07
-
-
Save Gro-Tsen/6f985fa0348623a8131ffb63a0627910 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
for i in $(seq 0 9) ; do convert -size 960x720 'xc:gray' -font 'FreeSans' -pointsize 200 -gravity Center -annotate 0 $i frame${i}.png ; done | |
for i in $(seq 0 9) ; do echo "file frame${i}.png" ; echo "duration 6.000" ; done > video.script | |
sox -n -r 48000 -c 2 -t flac silence.flac trim 0.0 60.0 | |
ffmpeg -f concat -i video.script -i silence.flac -c:v libvpx -crf 12 -pix_fmt yuv420p -c:a libopus -b:a 192k test.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment