Created
April 12, 2014 23:40
-
-
Save negipo/10562300 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
LOOP_COUNT = 50 | |
def main | |
`ffmpeg -i in.gif -f mp4 in.mp4` | |
`ffmpeg #{LOOP_COUNT.times.map { '-i in.mp4' }.join(' ')} -filter_complex "concat=n=#{LOOP_COUNT}:v=1:a=0" out.mp4` | |
end | |
main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment