Skip to content

Instantly share code, notes, and snippets.

@douglascamata
Created October 26, 2011 02:44
Show Gist options
  • Save douglascamata/1315262 to your computer and use it in GitHub Desktop.
Save douglascamata/1315262 to your computer and use it in GitHub Desktop.
Convert any video file to avi, using xvid and lame
# this AWESOME TOOL can convert any video to an avi/xvid one...
# and the best part is that it's installable in almost any OS (just can't guarantee it'll install in Windows, don't ask my why, ask uncle Bill)
# installation in any debian-like OS will be easy as: [sudo] apt-get install ffmpeg
# in Mac OS X: brew install ffmpeg
# ps.: if you don't use homebrew, try using macports, it should work.
# "video.ogv" is the input video, it can be in any format. And "saida.avi" is the output video.
ffmpeg -i video.ogv -vcodec libxvid -acodec libmp3lame saida.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment