Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nickcheng/c6789aaf8e2eb40af9611cbba5ea96a3 to your computer and use it in GitHub Desktop.
Save nickcheng/c6789aaf8e2eb40af9611cbba5ea96a3 to your computer and use it in GitHub Desktop.

Revisions

  1. nickcheng created this gist Jul 12, 2023.
    1 change: 1 addition & 0 deletions Convert GIF to video file via FFMPEG.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4