Created
July 3, 2016 17:22
-
-
Save earthbound19/ee47f6e266340803fda257152cd08523 to your computer and use it in GitHub Desktop.
Commands to encode a super cheesy music file with a super cheesy looped source image, via 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
ffmpeg -y -loop 1 -f image2 -i Diamond-Gemstone-Heart-300px.png -i "Our Romatic.mp3" -shortest -r 29.97 -crf 40 1.mp4 | |
echo file '1.mp4' > concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
echo file '1.mp4' >> concat.txt | |
ffmpeg -f concat -i concat.txt -c copy 10.mp4 | |
DEL 1.mp4 | |
echo file '10.mp4' > concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
echo file '10.mp4' >> concat.txt | |
ffmpeg -f concat -i concat.txt -c copy "Our Romatic Diamond-Gemstone-Heart-300px-png-loop100x.mp4" | |
DEL 10.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment