Check a video for decoding errors

Updated: November 26, 2026

If a long video opens normally but freezes later, check your local copy before uploading it again. Play through the affected minute locally. For a check of every frame, run a full decode with FFmpeg. It can find errors the decoder recognizes, while an editing mistake may decode normally.

Check the exact delivery file

Use the file you were going to upload. Suppose a 50-minute lesson freezes near 34:10. Open the local file there and let it play for at least a minute. The first few seconds tell you whether the file opens. They give no evidence about the frames near the end. If you have an earlier export, compare it at the same point.

Read the streams without exporting

The command selects the first actual video stream and the first audio stream if there is one. FFmpeg decodes these streams and discards the output. With -xerror it stops on an error. Wait for it to finish and save any error message. Additional tracks that were not selected are outside this check.

For a long file, run the check on a machine that can spend time decoding it, and retain the source intact. If the check fails, record the FFmpeg version and the exact copy you tested. You can then reproduce the result after making a new export.

ffmpeg -v error -xerror -i input.mp4 -map 0:V:0 -map '0:a:0?' -f null -

Choose what to publish

If the test fails, use your original or a known-good copy. Export again and run the check before uploading. If the test reports no errors but the picture freezes in every player, examine the edit. A still image may already be part of the video. After publishing, also try that section in your destination player.

Frequently asked questions

It confirms that this FFmpeg build detected no errors in the selected streams. Test playback in your target browsers too.

You might also like

Host your videos for free and earn from every view

Create your account in under a minute, upload your first video and start earning from day one.