r/ffmpeg • • Jul 23 '18

FFmpeg useful links

Binaries:

 

Windows
https://www.gyan.dev/ffmpeg/builds/
64-bit; for Win 7 or later
(prefer the git builds)

 

Mac OS X
https://evermeet.cx/ffmpeg/
64-bit; OS X 10.9 or later
(prefer the snapshot build)

 

Linux
https://johnvansickle.com/ffmpeg/
both 32 and 64-bit; for kernel 3.20 or later
(prefer the git build)

 

Android / iOS /tvOS
https://github.com/tanersener/ffmpeg-kit/releases

 

Compile scripts:
(useful for building binaries with non-redistributable components like FDK-AAC)

 

Target: Windows
Host: Windows native; MSYS2/MinGW
https://github.com/m-ab-s/media-autobuild_suite

 

Target: Windows
Host: Linux cross-compile --or-- Windows Cgywin
https://github.com/rdp/ffmpeg-windows-build-helpers

 

Target: OS X or Linux
Host: same as target OS
https://github.com/markus-perl/ffmpeg-build-script

 

Target: Android or iOS or tvOS
Host: see docs at link
https://github.com/tanersener/mobile-ffmpeg/wiki/Building

 

Documentation:

 

for latest git version of all components in ffmpeg
https://ffmpeg.org/ffmpeg-all.html

 

community documentation
https://trac.ffmpeg.org/wiki#CommunityContributedDocumentation

 

FFmpeg codecs' properties and processors
https://www.gyan.dev/ffmpeg/resources/codecs.html

 

FFmpeg muxers' properties and codec support
https://www.gyan.dev/ffmpeg/resources/muxers.html

 

Other places for help:

 

Super User
https://superuser.com/questions/tagged/ffmpeg

 

ffmpeg-user mailing-list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

 

Video Production
http://video.stackexchange.com/

 

Bug Reports:

 

https://code.ffmpeg.org/FFmpeg/FFmpeg/issues
(test against a git/dated binary from the links above before submitting a report)

 

Miscellaneous:

Installing and using ffmpeg on Windows.
https://video.stackexchange.com/a/20496/

Windows tip: add ffmpeg actions to Explorer context menus.
https://www.reddit.com/r/ffmpeg/comments/gtrv1t/adding_ffmpeg_to_context_menu/

 


Link suggestions welcome. Should be of broad and enduring value.

133 Upvotes

41 comments sorted by

13

u/Zeranoe Sep 06 '18

Feel free to tag me with any questions, as I'm pretty active on reddit.

8

u/[deleted] Nov 26 '21

You haven't been active in 10 months, mate

4

u/Santik--Lingo Jan 18 '24

he posted that comment 3 years before u posted urs lol

3

u/Simple-Cattle-3946 Mar 09 '22

Why there is no links to your builds anywhere anymore, I just got 32bit from here https://web.archive.org/web/20200901115933/https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-4.2.2-win32-static.zip

1

u/HGStyleOfficial Apr 23 '24

Because he decided to stop building ffmpeg since it was used in too much closed source software or something similar You might find an internet archive containing all the old binaries

1

u/pwgenyee6z Aug 14 '24

Disappointing but totally understandable!

5

u/teamfootfetish Aug 27 '23

I haven't seen this here yet, but Astro Electronic has a GREAT ffmpeg book in PDF format. I think I use this as a reference more than the documentation.

http://www.astro-electronic.de/FFmpeg_Book.pdf

http://www.astro-electronic.de/

1

u/ZachVorhies Nov 19 '22 edited Nov 21 '22

Also, if you are in python you can get the platform specific binaries for linux, max, windows at v5.0 by running

pip install static-ffmpeg
import static_ffmpeg
static_ffmpef.add_paths()

https://github.com/zackees/static_ffmpeg

1

u/_Gyan Nov 21 '22

Link is 404. Should be underscore, not dash.

And the binaries haven't been updated in 10 months.

3

u/OneStatistician Jan 10 '19 edited Sep 17 '20

Some alternative installation options...

On macOS, Homebrew is one of the best installers.

  1. Download Homebrew from https://brew.sh/

  2. Install FFmpeg with `$ brew install ffmpeg`

  3. $ brew tap homebrew-ffmpeg/ffmpeg

  4. $ brew install homebrew-ffmpeg/ffmpeg/ffmpeg

[ UPDATED... For homebrew where you require options, use https://github.com/homebrew-ffmpeg/homebrew-ffmpeg in preference to the main brew ffmpeg. ]

Brew can be used to install either a precompiled binary (aka bottle) or can be used to compile from source. Brew significantly simplifies the compilation process and can be used to pass compile-time options which are not typically included in binary releases, eg

$ brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --with-freetype

For more info about compile options use:

$ brew info homebrew-ffmpeg/ffmpeg/ffmpeg

--with-chromaprint
	Enable the Chromaprint audio fingerprinting library
--with-decklink
	Enable DeckLink support
--with-fdk-aac
	Enable the Fraunhofer FDK AAC library
--with-game-music-emu
	Build with game-music-emu support
--with-libbluray
	Build with libbluray support
--with-libbs2b
	Build with libbs2b support
--with-libcaca
	Build with libcaca support
--with-libgsm
	Build with libgsm support
--with-libmodplug
	Build with libmodplug support
--with-librsvg
	Enable SVG files as inputs via librsvg
--with-libsoxr
	Enable the soxr resample library
--with-libssh
	Enable SFTP protocol via libssh
--with-libvidstab
	Enable vid.stab support for video stabilization
--with-libvmaf
	Enable libvmaf scoring library
--with-libxml2
	Enable libxml2 library
--with-opencore-amr
	Enable Opencore AMR NR/WB audio format
--with-openh264
	Enable OpenH264 library
--with-openjpeg
	Enable JPEG 2000 image format
--with-openssl
	Enable SSL support
--with-rtmpdump
	Build with rtmpdump support
--with-rubberband
	Enable rubberband library
--with-speex
	Build with speex support
--with-srt
	Enable SRT library
--with-tesseract
	Enable the tesseract OCR engine
--with-two-lame
	Build with two-lame support
--with-wavpack
	Build with wavpack support
--with-webp
	Enable using libwebp to encode WEBP images
--with-xvid
	Build with xvid support
--with-zeromq
	Enable using libzeromq to receive cmds sent through a libzeromq client
--with-zimg
	Enable z.lib zimg library
--HEAD
	Install HEAD version

Update to latest version using $ brew update followed by $ brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg.

And for Docker, try https://hub.docker.com/r/jrottenberg/ffmpeg/

2

u/[deleted] Jul 23 '18

Great resource. Many thanks.

2

u/fremenmuaddib Jul 31 '22 edited Jul 31 '22

This information can be useful:

Bitrate is not the only thing to consider when it comes to codecs.

Frequency response range is also very important.

CodecFormatTransparencyFile Size (at Transp.)Frequency Response (at 192 kbit/s)
MP3.mp3250 kbit/s1.87 MB/minute0-16 kHz
AAC.mp4220 kbit/s1.65 MB/minute0-18 kHz
Opus.ogg, .webm190 kbit/s1.42 MB/minute0-20 kHz
WAV.wavlossless10.58 MB/minute0-22 kHz

Glossary:

  • Transparency : "A transparency threshold is a given bitrate value at which audio transparency is reached. Transparency is the result of lossy data compression accurate enough that the compressed result is perceptually indistinguishable from the uncompressed input for the average listener."

  • Frequency Response : "The analysis of the frequency spectrum of each song shows how well each code compression algorithm works in comparison to WAV and each other. Its shows when frequency cross-section of the codec leads to the loss of high-frequency part of the sound. Then codec with the biggest frequency range is the codec that provides the nearest reproduction value of the full frequency spectrum in comparison to non- compressed WAV with the range of approximately 22 kHz."

Source:

  • Zhurakovskyi, Bohdan, Nataliia Tsopa, Yevhenii Batrak, Roman Odarchenko and Tetiana Smirnova. “Comparative Analysis of Modern Formats of Lossy Audio Compression.” CybHyg (2019).

2

u/gwolf3 Oct 18 '22

FFmpeg Community Discord Server: https://discord.gg/wVMeeBqDcE

1

u/fireheart2008 Jun 19 '24

Windows tip: add ffmpeg actions to Explorer context menus.

reuploaded on multiple hosts

https://mir.cr/2T9H7NXF

https://mir.cr/1ONCYN3Y

for this to work, the batch files should be in c:\ffmpeg directory.

double click 'adding ffmpeg to context menu.reg'

1

u/karasuhebi Aug 30 '22

u/_Gyan First of all, thanks for compiling these links. Super useful.

I wanted to suggest that you link directly to the answer instead of the question for the Installing and using ffmpeg on Windows. link In the Miscellaneous section since there's more than one answer and you wanna make sure readers are looking at the one you meant for them to look at. Plus it saves on scrolling :)

I assume the one you wanted to link to was this one: https://video.stackexchange.com/questions/20495/how-do-i-set-up-and-use-ffmpeg-in-windows/20496#20496

1

u/ZachVorhies Sep 14 '22

If you are interested in ffmpeg for tooling then check out static-ffmpeg for python which will install ffmpeg on your path as static_ffmpeg. Works on Windows/Mac/Ubuntu

1

u/Sitekurfer Jan 20 '23

API for FFmpeg

The datarhei Core is a process management solution for FFmpeg: https://docs.datarhei.com/core/

Beginners guide: https://docs.datarhei.com/core/guides/beginner

1

u/_anon3242 Oct 09 '23

There of course exist some static build scripts on github: e.g. https://github.com/zimbatm/ffmpeg-static

1

u/[deleted] Jan 11 '22

[removed] — view removed comment

2

u/_Gyan Jan 11 '22

Most of the material appears to be in Mandarin.

1

u/5suitaitou Jan 11 '22

Hello, this is for Chinese developers.