Tool

HandBrake Activity Log Explainer

If a HandBrake encode failed, or it finished and you want to check which settings it used, paste the Activity Log. The tool shows whether the job ended normally, which line is a likely cause if it failed, and an ffmpeg command that means the same as the encoder settings printed in the log.

Format examples:

The text you paste is read only inside this browser and is not sent anywhere. The examples were written by hand to show the format and are not real run records. If your log contains your own file paths, remove them before using it.

Where do I get the log?

  • In HandBrake, open the Tools → Activity Log window, select everything and copy it. Open it right after the encode finishes or fails, so the record of that job is still there.
  • The log is also known to be saved as a file. The location differs by operating system and version, so check the Activity Log section of the official HandBrake documentation.
  • You get the most out of it when the log runs from the beginning (job start and encoder settings) to the end (final result). The official forum is also known to ask for the Activity Log when you post a question.

How are the results produced?

  • Final result: it reads the libhb: work result = N and Encode done! lines. 0 means success, and a non-zero value is known to mean the job didn’t run to the end.
  • Likely causes: it matches the log lines against a rule table this site wrote by hand (NVENC, QSV and AMF hardware encoders, running out of memory or disk space, file permissions and paths, a damaged source, typos in advanced options, output write errors and so on). An error line that isn’t in the rules is not interpreted; it is shown as is, marked ‘no explanation.’ It uses no AI and no outside server, so the same input always gives the same result.
  • Reading settings and converting to ffmpeg: it reads lines such as + encoder, + preset and + quality from the log and, for x264, x265 and SVT-AV1, rewrites them in the form -c:v libx264 -preset … -crf …. For hardware encoders it carries over only the codec name, not the quality value.
  • Measured table: the numbers are not written in the code. The tool reads the CSV from our size and quality by CRF measurements and works out which VMAF and bitrate the RF in your log gave on our clips. If the RF is outside the range we measured, it doesn’t extrapolate.

How to use it

  • Hardware encoder failure: if you see NVENC, QSV or AMF messages, check the driver and the number of concurrent sessions, and try the same settings with a software encoder to tell whether the cause is on the GPU side or the source side. For how long software encoding will take, you can get an estimate from the Encode Time Estimator.
  • Moving to another program: to carry settings you were happy with in HandBrake over to an ffmpeg script, use this tool’s command as a starting point and continue with the FFmpeg Command Builder or the Batch Folder Encode Script Builder. Check the pasted command once more with the FFmpeg Command Explainer & Linter.
  • Getting a feel for RF: table 5 shows roughly what the RF in your log means for quality and size. When you move to another codec, you can find the CRF with the same quality in the RF ↔ CRF map. That the same RF can give very different results from one video to another is covered in CRF measured by content type.
  • To see what the x264 or x265 option string in the log means, you can decode it with the Encoder Settings String Decoder. If you ran ffmpeg directly and it failed, use the FFmpeg Error Log Explainer.

Limitations worth knowing

  • A cause is a candidate, not a verdict. The tool matches words in the log lines against a rule table, so the same line can come from other causes, and an error that isn’t in the rules can’t be explained. The state of the drivers and hardware on your PC can’t be known from the log alone.
  • The log format can differ by HandBrake version, operating system and language. The tool reads only the common line formats of English logs, and with a version that prints the settings lines differently, some items can’t be read. Items it can’t read are left blank, not guessed.
  • The ffmpeg conversion carries over the same encoder settings; it doesn’t give the same result. HandBrake sets its own defaults for filters, frame rate, color handling and audio, so the output file differs even at the same RF. Filters are only given as similar suggestions and are not added to the command automatically.
  • The measured table is based on our PC and our clips. It comes from four 10-second 1080p25 clips, 8-bit, on one PC, measured with FFmpeg’s x264 and x265 (medium) and SVT-AV1 (preset 6); we did not encode with HandBrake itself and compare. It will differ if the preset, resolution or content in your log differs, and hardware encoders were not measured.
  • Problems such as decrypting copy-protected discs are not explained; the tool only points you to the official documentation. The text you paste is not sent to a server.