Tool

x264/x265 Encoder Settings Decoder

Do you see a long line like cabac=1 / ref=3 / deblock=1:0:0 … in the ‘Encoding settings’ field in MediaInfo? It records the settings a video was made with. Paste the whole thing and this tool explains each option, estimates which preset it is closest to, and flags values that look unusual.

Examples:

Pasted text is not sent to a server and is processed only inside this browser. (Only this site's public measurement CSVs are fetched, for the preset time multipliers.)

Where do I get this string?

  • In MediaInfo (the ‘Text’ view), copy the Encoding settings line in the video section. For x264 it is often shown separated by / .
  • x264 and x265 are known to leave their own option string in the SEI (supplemental information) of the output video. It is missing from files that another tool re-encoded, or where an option turned the SEI off.
  • For files made with FFmpeg, the same information appears after options:, joined by spaces. This tool reads both forms.
  • Files made with hardware encoders (NVENC, QSV and so on) often have no such line. In that case there is no string to decode.

How is the result produced?

  • Option meanings: the tool matches by rule against an option dictionary compiled by this site. An option that isn’t in the dictionary is marked “not in the dictionary” and is not made up. No AI or external server is used, so the same input always gives the same result.
  • Preset estimate: for x264 it compares ref, bframes, subme, me, rc_lookahead and trellis; for x265 it compares ref, bframes,rc-lookahead, rd and subme against a table of preset defaults, and picks the preset with the most matches. It shows the number of matches so you can judge how confident to be. The preset defaults table is compiled from the official documentation and may differ by encoder version.
  • Speed multiplier: the numbers are not hard-coded. The tool reads our measurement CSVs (x264 preset measurement, x265 preset measurement) and computes the CPU time at the same CRF relative to medium. Only the presets we measured appear.
  • Warnings: shown when the CRF is extreme, when a value isn’t allowed by the encoder, or when an option that affects compatibility or efficiency is turned off. A “Note” doesn’t mean something is wrong; it means a setting worth knowing about.

How to use it

  • Check the CRF of a file you received: see what CRF the file was made with, and compare it with the CRF Recommender to see whether there is room to get the same quality at a smaller size. CRF numbers give different results per clip and preset, so read them against the range in the CRF sweep measurement.
  • Audit your own settings: paste a file you encoded yourself to confirm that the preset and CRF you intended actually went in. You can build the FFmpeg command with the FFmpeg Command Builder.
  • Judge whether a slower preset is worth it: how much the time grows and the file shrinks when you move up a preset is in the x264 and x265 measurement articles. You can estimate encoding time with the Encode Time Estimator.
  • For basic information such as a file’s codec and resolution, use the Video File Info Inspector.

Limitations worth knowing

  • The preset is an estimate. The string doesn’t keep the preset name, only the individual option values. If tune or hand-set options are mixed in, only some may match, and when the match count is low the estimate is likely wrong.
  • The speed multiplier is a reference value from our PC. It is CPU time measured with 4 clips, 8-bit, on one PC, at low (IDLE) priority, and it is for the same CRF, so it is not the time for equal quality. It may differ on your PC and your video.
  • Option descriptions are summaries. For exact behavior, see the official x264 and x265 documentation. Option names and defaults may differ between versions, and options not in the dictionary are not explained.
  • It doesn’t judge good or bad. A warning only flags an uncommon or extreme value; it is not a quality assessment. Check quality with a measurement such as VMAF or by comparing directly.
  • The pasted text is not sent to a server. If the string contains a file path, delete it before use.