Skip to content

Instantly share code, notes, and snippets.

@leptoquark1
Created January 23, 2021 20:30
Show Gist options
  • Select an option

  • Save leptoquark1/e53e2c67d7050194ce2e817a49b5c2d5 to your computer and use it in GitHub Desktop.

Select an option

Save leptoquark1/e53e2c67d7050194ce2e817a49b5c2d5 to your computer and use it in GitHub Desktop.
ffmpeg commands to convert videos fileformat with the goal to maintain the quality but to increase the compression of the source video
# .mov to .mp4 ^4k
ffmpeg -i videoName.mov -vcodec h264 -acodec mp3 videoName.mp4
# .mov to .webm
ffmpeg -i videoName.mov -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis videoName.webm
## TO BE CONTINUED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment