Installing Ffmpeg Binary In Windows

Instructions:

  1. Get the latest build from the arrozcru autobuilds page
  2. Unzip the folder into C:/Program Files/ffmpeg
  3. Add C:/Program Files/ffmpeg/bin to your system’s PATH environment variable

Optional libx264 preset setup:

If you use libx264 presets (by using the -vpre flag) you need to do the following setup.

  1. Create a HOME environment variable for your user pointing to your home directory. (e.g. for Vista C:/Users/moose or for XP C:/Documents and Settings/moose )
  2. Create a .ffmpeg folder in your home directory
  3. Copy the preset files from C:/Program Files/ffmpeg/share/*.ffpreset into %HOME%/.ffmpeg
  4. Now you can open a command prompt and use ffmpeg. :D (e.g. This is my Vimeo video conversion command. ffmpeg -i input.mov -vcodec libx264 -vpre hq -crf 24 -g 25 -acodec libmp3lame -ab 192k -ar 44100 output.mp4 )

*note: libfaac is not included in the build since libfaac is considered to be a non-free plugin. :(

This entry was posted in <random>. Bookmark the permalink.
  • Gonzo Bumm

    THANKS MAN for the HOME hint – that was exactky what I was looking for and could not find – where did you get this?
    One addition that might be important: use -threads 0 to utilize all cores in your processor :)

  • hung

    Thanks very much. I didn’t know how to create environment variables but now I can do it.

  • http://noexist caio

    md c:\users\caio\.ffmpeg
    set HOME=c:\ffmpeg

  • Iqbalsingh

    Really help me!!!

    Thanks

  • Brad

    How do I use ffmpeg to conver the videos for HTML 5 .mp4, .ogg, .webm? This is the command I am trying to use “ffmpeg -i INPUTFILE.mp4 -b 1500k -vcodec libx264 -vpre slow -crf baseline -g 30 -s 640×360 OUTPUTFILE.mp4″ but get error “File for preset ‘slow’ not found”. Also how do you setup system’s PATH environment variables and Create a HOME environment variable?

  • Anonymous

    Here’s instructions for the Windows XP environment variables http://support.microsoft.com/kb/310519 or Vista/7 http://www.itechtalk.com/thread3595.html

    You should already have a PATH environment variable, but probably need to create the HOME one.

<RSS Feed>