How to Check If a Video File Is Corrupted [Using FFmpeg]

I can't play a video file on Windows PC, and I wonder why? How to check if a video file is corrupted or not? And is there any way to repair the corrupted video file?

Best Answered by

Brithny· Answered on Jan 05, 2024

If you want to know how to check if a video file is corrupted, an easy way to check the video is by using FFmpeg on your Windows PC and using the trusted software EaseUS Fixo Video Repair to repair the corrupted video.

 Free Download

Trustpilot Rating 4.7

 Free Download

Secure Download

Download and install the powerful repair tool EaseUS Fixo Video Repair to fix corrupted video with three steps:

Step 1. Install EaseUS Fixo on your PC. Choose 'Video Repair' and add the corrupted video files by clicking 'Add Videos'.

Step 2. Move to the video you want to repair and click 'Repair'. Or you can Click 'Repair All' to repair all corrupted videos added.

Step 3. Click the play icon to preview the repaired videos. Click 'Save' next to the play icon to save a single video. Choose 'Save All' to save all fixed videos.

FFmpeg is the easiest way of checking the integrity of any video file type. Follow the steps below to check if a video file is corrupted or not:

Step 1. Download and launch FFmpeg on your Windows PC.

Step 2. Use a feature in FFmpeg video converter: the command line will just read the input file and report any errors that will appear: ffmpeg.exe -v error -i file.avi -f null - >error.log 2>&1.

Step 3. If it doesn't catch all problems with missing frames, use the command: ffprobe -show_entries stream=r_frame_rate,nb_read_frames,duration -select_streams v -count_frames -of compact=p=1:nk=1 -threads 3 -v 0.

Step 4. Check the output, which should be like this:

  • header framerate
  • video length in seconds
  • true frame count

Step 5. You can then check if there are missing frames. e.g., 25 * duration should equal the frame count, or it will be less if you miss frames.

EaseUS Fixo helps to repair corrupted videos, photos, emails, Word, Excel, PPT and other types of files.

Learn how to use EaseUS Fixo to repair corrupted pictures, videos and documents from PCs, laptops, cameras or drones.

People Also Ask