Skip to content

Instantly share code, notes, and snippets.

@antonlogvinenko
Created December 25, 2022 18:45
Show Gist options
  • Save antonlogvinenko/38c329f462a157d9e4002ed71ce315d0 to your computer and use it in GitHub Desktop.
Save antonlogvinenko/38c329f462a157d9e4002ed71ce315d0 to your computer and use it in GitHub Desktop.
dancing deer
#https://media.tenor.com/qAnrl6goV44AAAAC/dancing-christmas.gif
ffmpeg -i dancing-christmas.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video1.mp4
ffmpeg -stream_loop 15 -i video1.mp4 -c copy video2.mp4
ffmpeg -i video2 -filter:v "setpts=0.628*PTS" video3.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment