Tool

ffmpeg Download Verifier

The ffmpeg project distributes source code, and its Windows executables are known to come from outside builders such as gyan.dev and BtbN. That is why the worry ‘is it OK to download this exe?’ comes up. Calculate the SHA-256 of the file you downloaded in your browser, compare it with the published value, and read the file format and the ffmpeg -version output to see what the build is.

① Calculate the SHA-256 of the file you downloaded

The file is not uploaded; it is read and hashed only inside this browser. The whole file is read into memory, so a large file can take a few seconds.

Where did you get this hash?

This text is not sent to a server either. If the paths contain your user name, delete it before pasting.

What does a hash match prove?

  • A hash (SHA-256) is a 64-character fingerprint calculated from the contents of a file. Even one bit of difference changes the value completely, so if it equals the published value, the file you downloaded is identical to the published file.
  • Where you got the hash matters. A hash taken from the same server and the same folder as the file rules out damage during download, but not the case where that server was hacked and the file and hash were changed together. A match with a hash from another page of the download site or a separate path (for example a release announcement, or a value quoted on another site) gives you that much more reason to trust it.
  • Even a match does not settle whether you trust that source. This tool only checks whether the file is the same as what was published. It does not tell you whether the builder is trustworthy.
  • Some download sites do not provide a hash. Then there is nothing for this tool to compare against, and all you can do is look at the address you downloaded from (https and the spelling of the domain) and the format check below.

Steps

  1. Find the archive and its SHA-256 value (or a .sha256 file) on the download site. Check that the file and the value are for the same version and build type (essentials, full and so on).
  2. Choose the file you downloaded in ① and its SHA-256 is calculated. Paste the published value in ② and pick where you got it. A line in the form hash *filename is read together with the file name.
  3. ③ tells you about the file format (first bytes) and anything odd about the name.
  4. After extracting, paste the ffmpeg -version output into ④ and it explains the version string, the configuration options, and whether the build is static or shared.

Calculating it yourself on the command line

These commands come with the operating system. Use them when the file is too large for this tool or when you want to cross-check the result.

# Windows PowerShell
Get-FileHash .\ffmpeg-filename.zip -Algorithm SHA256

# Windows Command Prompt
certutil -hashfile ffmpeg-filename.zip SHA256

# macOS
shasum -a 256 ffmpeg-filename.zip

# Linux
sha256sum ffmpeg-filename.zip

If the two methods give the same value, the calculation in the browser is working. The tool's ‘calculator self-test’ button also checks whether the SHA-256 of the three letters “abc” equals the widely published test value.

How to use the result

  • Match + a hash from an independent source: it is closer to being fine to extract and use. Then put the ffmpeg -version output into ④ and into the FFmpeg build capability checker to see whether the encoders you need are there.
  • Mismatch: first check that the version and build type are the same as the published hash and that the download finished, then download it again. If it still does not match, it is safer not to use that file.
  • No hash, or a .exe installer: it is better to rethink how you install it first. Installation, PATH and choosing a build type are covered in the Windows FFmpeg install guide (Korean).
  • A nonfree flag: it may not matter for use on your own PC, but such a configuration is known to be non-redistributable under its license, which is a reason to find out who made it this way and why.
  • If the build is right, continue with the FFmpeg command builder. The measurements on this site were done with gyan.dev full_build 9.0.2 (how we measure).

Limits worth knowing

  • The hash is for the archive. It is not the hash of the extracted ffmpeg.exe. If the download site published a hash for the exe alone, choose that exe directly and compare.
  • This is not a malware scan. A matching hash means ‘same as what was published’, not proof that it is ‘safe’. It does not replace antivirus or file scanning, and this tool does not open the archive.
  • The -version output is self-reported. The origin judgment is a guess from reading the text on the version and configuration lines. A file could be made to print the same text, so it is not evidence of origin.
  • Builder names and marking rules can change. The markings of gyan.dev, BtbN and package managers are read as rules from known shapes; this site has not verified each download site. The tool does not contain any builder's hash list.
  • It only calculates files up to the size a browser can read at once (about 1.5 GiB), and it does not check code signing (the ‘digital signature’ on Windows). The file and the text you paste are not sent to a server; they are processed only inside this browser.