FFmpeg Installers

If you like this tools, please donate to support development, maintenance and hosting! Donate $10, $20 or $50!

 

For the Stream Video Player for WordPress I use FFmpeg to encode the video to a FLV/MP4 video, using H.264 video codec and AAC audio codec, this video format it’s supported for Flash Player since version 9.0.115.0 that was released on December 3, 2007 and today almost all videos YouTube serve are on that very same format, I also use FLVMeta to include FLV’s metadata inside the video.

FFmpeg it’s one of the best video tools I found on the web, its open source and it’s hard to find in a compiled form, because I know the hard to have a good compilation I decided to make this binary kits available so you have an easy way to have FFmpeg on your PC.

BinKit 2.0

This new version of the BinKit do not need to be installed on your system, just unzip on your desktop, to use it check this very short and concise screencasts:

Use BinKit v2.0 on Windows

 

Use BinKit v2.0 on Mac OS X

 

Use BinKit v2.0 on Ubuntu

 

Important information

All the video presets are designed for 29.97 frame rate video just as it is NTSC, you can change this setting editing the .BAT or .SH file, in fact you can change the bitrate, video size, audio channels and audio bitrate as many other options.

It is also important to know that almost any video can be encoded with this script thanks to FFmpeg viability to read any format, but your input file has to have only one video track and only one audio track and the audio track has to have up to 2 audio channels, Flash Player can playback up to 2 audio channels.

Check the “readme.txt” file inside the BinKit v2.0

 

Skip video encoding for MP4 or M4V files

If you already have a MP4 or M4V video encoded and you don’t want to reencode your video, you can convert it (remux) to an injected FLV video without reencoding saving time and quality, notice that your video has to have the following specs:

  • H.264 video encoding.
  • A periodic key frame distance for random seeking on the pseudo streaming.
  • AAC audio encoding using up tu 2 channels (stereo) and up to 44100Hrz.
  • The maximum bandwidth you know your users have.

To convert the video just use the script "MuxMP4_to_iFLV" included on the BinKit v2.0, it works just like the other scripts that are shown on the previous videos on this page.

BinKit 1.3 (outdated)

GNU Linux – Ubuntu

Open the Terminal

Ubuntu Terminal

paste each one of the fallowing lines:
wget http://tools.rodrigopolo.com/bin/gnulnx/binkit-v1.3.tar.gz
tar xzf binkit-v1.3.tar.gz
cd binkit-v1.3/
./install.sh
cd ..
rm -rf ./binkit-v1.3
rm binkit-v1.3.tar.gz

Mac OS X (Intel)

Enter to the Terminal that it’s located on the Utilities folder, inside the Applications folder

Mac Terminal

paste each one of the fallowing lines:

curl -O http://tools.rodrigopolo.com/bin/mac/binkit-v1.3.tar.gz
tar xzf binkit-v1.3.tar.gz
cd binkit-v1.3/
./install.sh
cd ..
rm -rf ./binkit-v1.3
rm binkit-v1.3.tar.gz

Windows

  • Download
  • Unzip
  • Right click on “install.bat”
  • Run as administrator

FFmpeg Binary Install

Windows 7

FFmpegWin7Install-01
FFmpegWin7Install-02
FFmpegWin7Install-03
FFmpegWin7Install-04
FFmpegWin7Install-05
FFmpegWin7Install-06
FFmpegWin7Install-07
FFmpegWin7Install-08
FFmpegWin7Install-09

To check that everything it’s working fine you just need to type “ffmpeg” on the terminal or command promt.

One of the most important reasons for getting a binary version of FFmpeg is because the original package comes without some libraries that are necessary for our video encoding.


55 Responses to FFmpeg Installers

  1. jeremy says:

    Hi,

    I am trying to go through your steps to install through my Terminal on my mac. I copied the code exactly but I am being asked for a password from Terminal. Why? and what would the password be?

    thanks

  2. Pingback: さめない夢 » ffmpeg Code Generator!

  3. rudy3001 says:

    This is so beautiful :’)

  4. Pingback: iOS-friendly Video on WordPress | delajed.com

  5. sam says:

    I have tried to enter the comands in to the terminal and nothing happens. Anything I can do now?

  6. Richard says:

    Hi,

    My AVG virus scan claims the uninstall.bat is infected with VBS/worm. Why is that?

  7. Adriano says:

    Amazing work, thanks! :)

    Do you have a 32-bit binary of FLVMeta? I can’t use the binary you provided because it’s a 64-bit executable:

    :~/app/bin$ ./flvmeta
    -sh: ./flvmeta: cannot execute binary file

    :~/app/bin$ file flvmeta
    flvmeta: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0, not stripped

    • Well, you can download the source and compile it very easily, make a google search “FLVMeta” and you’ll find the official project page with the source and compilation instructions.

  8. max levy says:

    thanks a lot!
    it’s too bad you page is not found in GOOGLE:
    http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=ffmpeg+macox+x+binary

    but at least BING bring you as forth result!
    http://www.bing.com/search?sourceid=chrome&ie=UTF-8&q=ffmpeg+macox+x+binary

  9. Pingback: Wordpress, encoding streaming video by FFMpeg on Windows at NetSys.HK

  10. Pingback: WP, encoding streaming video by FFMpeg on Windows at NetSys.HK

  11. rob b says:

    I’m a naive Mac user.
    I’ve installed on OSX as described but cannot get Video DownLoad Helper to “see” it, nor can I find it on hard drive to enter the address manually, can you help please?

  12. Jonathan says:

    i was reading a tutorial on Download Helper Tutorial that uses the Firefox mod. the tutorial shares a way to use the terminal once by installing the “tar.gz” script, do you no longer provide the file?

    here’s the link:
    http://buy4pc.com/apple-2/how-to-convert-your-downloadhelper-videos-on-a-mac/

  13. Carl says:

    I love the updated BinKit!! Thanks a lot!!

  14. Torsten says:

    Hello,
    I tried a lot but BinKit doesn’t work on my computer. If I drag a .avi File and drop it over the 480p.bat the script open just short but there start no encode. Did I understand something wrong? It was just a HD-avi-File from my digicam.
    Best!

  15. Chris Fig says:

    BinKit is awesome! Wish there was an easy way to create the thumbnail with BinKit. But all in all, great update!

  16. Craig says:

    On my Mac,
    The updated BinKit
    just spits out errors
    BinKit-v2.0/4×3/480p.sh: line 102: 2327 Bus error
    BinKit-v2.0/4×3/480p.sh: line 102: 2329 Bus error

    when I try to use the BinKit 1.3,
    ffmpeg just produces this at the end
    [NULL @ 0x54340c]codec not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?)

    even though I am using the h264 aac as described.

    guess I’m unable to use streaming on this plugin which makes it unuseable. Pretty sad that an old quicktime plugin from 2006 plays the h624 video flawlessly on macs and pcs.

    • Hi, just to be clear, BinKit 2.0 is designed to encode video, not to reproduce video, because the encoder is FFmpeg it can encode almost any kind of video to a FLV-H.264-AAC video, but the input has to have some minimal requirements, 1-only 1 video track, 2-only 1 stereo/mono audio track, 3-a well formed video.

      I have tested with most web common video formats and it works great, formats like FLV, MOV, AVI, MPEG, DIVX, etc.

  17. buy4pc.com says:

    Thanks for providing the new BinKit Rodrigo!

  18. Pingback: Church Video | Asian American Outreach Church

  19. Jeff says:

    tried to use this in window 7 and the command window closes immediately. I can’t see the error messages. anyone else having problems?

    • It could be that your input file has not the expected video characteristics like only 1 video track, only 1 mono or stereo audio track, you can open the command prompt, call the script and add the file input to see which one the error is.

  20. Nate says:

    Where are the old installers?! I am in need of the older, more manual, way of encoding with ffmpeg on the command line. I have ffmpeg installed, but flvmeta isn’t working for me. I need the OLD install files for linux. I need to be able to batch these videos.

    Please, where are the old installs? They worked on my old linux box.

  21. Nate says:

    This is my old encoding script. If I cannot get the old installer from you, how can I modify this script to work with your binkit?


    #!/bin/bash
    FILES=”*.mov”
    for i in $FILES
    do
    ffmpeg -y -threads 2 -i $i -s 640×352 -aspect 16:9 -r 30000/1001 -b 360k -bt 416k -vcodec libx264 -pass 1 -vpre fastfirstpass -an `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_sd.flv
    ffmpeg -y -threads 2 -i $i -s 640×352 -aspect 16:9 -r 30000/1001 -b 360k -bt 416k -vcodec libx264 -pass 2 -vpre hq -acodec libfaac -ac 2 -ar 44100 -ab 64k `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_sd.flv
    ffmpeg -y -threads 2 -i $i -s 1280×720 -aspect 16:9 -r 30000/1001 -b 1536k -bt 1792k -vcodec libx264 -pass 1 -vpre fastfirstpass -an `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_hd.flv
    ffmpeg -y -threads 2 -i $i -s 1280×720 -aspect 16:9 -r 30000/1001 -b 1536k -bt 1792k -vcodec libx264 -pass 2 -vpre hq -acodec libfaac -ac 2 -ar 44100 -ab 128k `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_hd.flv
    ffmpeg -y -threads 2 -i $i -s 480×272 -aspect 16:9 -r 30000/1001 -vcodec libx264 -pass 1 -b 360k -bt 416k -vpre iphone -f mp4 -an `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_iphone.mp4
    ffmpeg -y -threads 2 -i $i -s 480×272 -aspect 16:9 -r 30000/1001 -vcodec libx264 -pass 2 -b 360k -bt 416k -vpre iphone -f mp4 -acodec libfaac -ac 2 -ar 44100 -ab 64k `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_iphone.mp4
    ffmpeg -i $i -ss 78.5 -s 480×272 -vframes 1 -an -f image2 `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_preview.jpg
    flvmeta `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_sd.flv `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_sd_stream.flv
    flvmeta `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_hd.flv `echo $i | sed ‘s/(.*).[A-Za-z]{3}/1/’`_hd_stream.flv
    done

  22. Nate says:

    How can you do batch operations with your Binkit, preferably on Linux? I have 90+ that I need to encode and I’d prefer not to do them manually.

    Also, you don’t have a present for making a still image. Could you perhaps make a preset for that as well?

  23. Witchety says:

    A big ‘noob’, I have copied over bin-kitv2.0 and am getting the disappearing screen similar to Jeff and you informed him on how he needs to call the script in the command prompt. Although I just do not know how the code to ‘call’ it, I can get the folder but my cmd knowledge is not that good.
    Also, if it turns out the video has more than 1 track, etc. Can I still use it and if I can, how do I edit this part?
    (You’re a gun by the way!)

  24. Cowboy says:

    thanks for a great encoder.
    I encoded 240p.sh for video.
    do I use the same file for the hd and the iphone/ipad? or do I need to do a 2nd encoding for them at 240p-360p-iphone.sh

    muchos gracias

  25. Ian says:

    When I paste the Mac Intel code into Terminal, it seems to be downloading but then i get the following…

    rm -rf ./binkit-v1.3
    rm binkit-v1.3.tar.gz[foa-wng:~] ianchamandy% tar xzf binkit-v1.3.tar.gz
    [foa-wng:~] ianchamandy% cd binkit-v1.3/
    [foa-wng:~/binkit-v1.3] ianchamandy% ./install.sh
    dir=/usr: Command not found.
    dir: Undefined variable.
    [foa-wng:~/binkit-v1.3] ianchamandy% cd ..
    [foa-wng:~] ianchamandy% rm -rf ./binkit-v1.3
    [foa-wng:~] ianchamandy% rm binkit-v1.3.tar.gz

    In the middle is the “command not found” and “undefined variable” stuff, which is way beyond my comprehension other than to know that it probably shouldn’t be there. I also don’t get a request for a password so the install isn’t working properly.

    Needless to say, Download Helper still doesn’t work. Why isn’t this script running properly for me?

    • BinKit v1.3 requires to install FFmpeg in an specific locations on yous Unix/OSX System, places like
      /usr/bin
      /usr/share

      For security reasons Unix/OSX requires a password to write files on that locations, that password is your user password on your system.

      Thinking on that limitations I have updated and created a more easy way to encode video with BinKit 2.0
      There are links and videos on how to use it

  26. Leon says:

    Hi!

    It is not working on my iMac. I have Mac OS X Snow Leopard 10.6 but it is not working. If I enter the first line the Mac receives a very long code. At the end I enter the second line but my mac can’t find the archive.

    Can you help me, please.

    Sorry for my bad emglish

  27. Mark says:

    Rodrigo,

    Thanks for your good work.

    I’m having trouble with pseudo-streaming. Like a couple of others above, when I drag my video file onto any of the BinKit files as described in your video tutorial, the CMD window pops up briefly then disappears.

    Then I downloaded Handbrake and using the default MP4 settings I encoded the video. Tried the drag & drop again, but got the same response from the BinKit files.

    Then I downloaded flvMeta program from the Google site you listed but I don’t know what to do from here.

    I am not a coder and have a limited understanding of anything “under the hood.”

    If you can help me figure this out, I would be forever grateful.

    Thanks,

    – Mark

    • Hi, the “presets” (bat files) I made available with FFmpeg are designed to work with a video that has only 1 video track and only one mono or stereo audio track, if the video have more than one video track, more than one audio track or an audio track with more than 2 audio channels, the encoding will fail and the CMD windows will close immediately.

  28. Randall says:

    WOW!!!! Thanks, for BinKit 2.0. I have tried many encoders and this works the best for size and quality. With the new option to drag and drop a video on the BAT file it makes things so much easier.

  29. il says:

    is there anyway to implement this system into my webserver to work with your plug-in?

    so in example, i can click on upload and upload from the web to automatically encode in h264?

  30. tammy says:

    thank you for this article. it really works!! i can now convert video straight from download helper add ons on firefox! thanks!!!

  31. Pingback: Rambles of Ev» Blog Archive » Video/Audio Encoding Cheat Sheet for FFmpeg

  32. Pingback: Stream Video Player | WordPress Designer

  33. Pingback: FFMPEG Cheat Sheet « Pauls Slice of Internet

  34. Pingback: RodrigoPolo.com – FFmpeg Installers | majicmikes spaced

  35. Pingback: How to create a video sharing site with Wordpress · Organic Solutions Blog

Back to Top ↑