Skip to content

Instantly share code, notes, and snippets.

@pat36
Created February 21, 2016 13:39
Show Gist options
  • Save pat36/0f3ee7103c96461f61bf to your computer and use it in GitHub Desktop.
Save pat36/0f3ee7103c96461f61bf to your computer and use it in GitHub Desktop.
Start of ffmpeg.sh
# Commands which I use in ffmpeg on Windows 7
# Converting gif file to webm file
ffmpeg -i input.gif -c:v libvpx -crf 13 -b:v 4M output.webm
# Converting to h.265 codec
ffmpeg -i input -c:v libx265 -preset medium -x265-params crf=18 -c:a aac -strict experimental -b:a 128k output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment