• facebook
  • twitter
  • linkedin

Read time 8 minutes

Summary: Are you exhausted with the corruption of videos? Do your videos get corrupted automatically in the local hard drive of your computer? We have a technical solution: the FFmpeg method to repair corrupted videos. You can also use the automated Kernel Video repair tool to repair corrupted files instantly.

Video has become the modern medium to give information to the masses and let them better grasp what the information conveys. Digital video content is popular with all audience segments, including education, entertainment, digital marketing, social sharing and more. Digital content has undergone a notable transformation in the past decade, and broad acceptance for video content has been sighted content.

Instant Solution

Get Kernel Video Repair tool to repair crashed, broken or corrupt video files of any formats, such as, MP4, MOV, MPEG, MKV, AVI, WMV, FLV, 3GP, F4V, etc.

Even though we witness continuous technological upgrades, everything we have on our PCs still turns corrupt and damaged, including videos, photos, audio, and other files. In 1986, the first digital video came out with Sony D1 format, and accounting for the time gap since then, now a range of digital video formats – containers, are available that perform better and provide better quality even at high compression.

It’s terrible when your essential video gets corrupted for some reason, and you cannot access that video urgently. To access those corrupted videos, we have an all-time solution, the FFmpeg method, to repair corrupted videos instantly. Before proceeding to the video repair part, let’s know how the FFmpeg method works.

What is FFmpeg?

FFmpeg is a software project that has libraries and programs for handling video, audio, and the rest of the multimedia, including streams, published under the GNU Lesser General Public License 2,1+ or GNU General Public License 2+, depending on which options are enabled. The name “FFmpeg” is inspired by the standard video group MPEG, in which FF stands for “Fast-Forward.”

What is FFmpeg used for?

Natively, FFmpeg is a technical term that will be assisted with command-line avoiding a dedicated GUI, and it can be used for processing videos, audio files, format transcoding, basic editing, video scaling, video post-production effects, and standards compliance – SMPTE, ITU.

FFmpeg includes libavcodec, Lavf – libavformat, an audio/video container mux and demux library, and FFmpeg command-line program for transcoding multimedia files, libavcodec an audio/video codec library that is commonly used by many commercial and free software products.

Things Possible With FFmpeg

  • Read the text with the selected voice.
  • Add, edit, or delete file metadata.
  • Add the logo or configure PiP – Picture in Picture.
  • Create digital sounds with mathematical expressions.
  • Use one or multiple webcams and seamlessly stream their input within a single interface.
  • Filter multimedia files, perform encoding, decoding, transcoding, multiplexing, demultiplexing, and streaming.
  • Convert video to stills and stills to video.
  • Edit or modify frame rate, bitrate, max file size, etc.

How to Repair Corrupt Video File Using FFmpeg

Now that you’ve got the basics about FFmpeg let’s move on to the steps to help you repair and recover corrupt or damaged video files. The only thing necessary before we begin is to install FFmpeg on the system.

Here is a chain that will assist you in repairing corrupted videos using the FFmpeg method.

Convert Video to Still Images

When your video file gets corrupted and cannot play in any media player, try the FFmpeg method to fix the corruption of your video and give you a seamless experience of video watching. First, download the FFmpeg zip from the official website. After that, place the corrupt or damaged video file in the bin folder.

  1. Launch Command prompt on your PC.
  2. Type the following command in the command prompt:
    .\ffmpeg.exe -i .\videoname.wmv -an -f image2 filename%03d.jpg

    command prompt

Extract Audio

After separating each image, extract audio from the video with these commands.

Step 1: Type the command mentioned in the table.

.\ffmpeg.exe -i .\videoname.wmv audio.mp3

Extract Audio - command prompt

Step 2: Figure out the exact audio duration with this command:

.\ffprobe.exe -i .\audio.mp3 -show_entries format=duration -v quiet – print_format json

exact audio duration

Step 3:The output will be something like below, though; the numbers would be different depending on the duration of your video file:

“format”: {
“duration”: “3323.603000”

Step 4: Before we start converting the stills back as the video, you need to calculate the frame rate of output video, so that both the audio & video can match.

Step 5:To do so, divide the number of stills by the audio duration number:

Step 6:In this case, it is 99739 divided by 3323.603 which will be 3.0093, type the command as below:

.\ffmpeg.exe -framerate 30.0093 -f image2 -i .\filename%03d.jpg -codec copy output_noaudio.mkv

Convert the Stills Back to a Video

Step 1: Now mix the audio video to repair your video; type the command below:

.\ffmpeg.exe -i .\output_noaudio.mkv -i .\audio.mp3 -c copy -map 0:v:0 -map 1:a:0 output.mkv

You’ve successfully repaired a corrupt video using FFmpeg through the command line. With FFmpeg, there are multiple approaches that you can use to address the problem of video file corruption. Though FFmpeg is more effective than other manual methods for fixing video corruption issues, it’s not definite that it’ll come in handy for every video issue or error. After FFmpeg, if your video is still not playing seamlessly, try a third-party tool to repair the corrupted video. Video Repair for optimal results.

Try an automated tool to repair corrupted video.

Use the Kernel Video Repair tool to repair corrupted videos instantly. It is an advanced tool with a minimal yet intuitive UI with meaningful options. It is designed to be easily accessible and compatible with the Microsoft Windows ecosystem. There is no restriction on the size of the corrupt video file or how many video files you wish to load and repair at once.

The tool is compatible with various video file containers, for example, MP4, MOV, MPEG, MKV, AVI, WMV, FLV, WEBM, etc. Here is a step-by-step guide to repairing a corrupted video.

  1. Download and Install the tool.
  2. Run the tool and tap on the Add (+) icon present on the home screen of the tool. Add the corrupt video file(s) you want to repair.
    Kernel Video Repair Tool
  3. Note: You can add a single or multiple corrupt files to repair with this tool.

  4. To add files, tap the (+) icon and remove a video tap (-) simultaneously. Click on the Repair Files option.
    add video files
  5. Browse a destination path to save repaired videos.
    Provide a destination to save repaired video files
  6. After assigning the destination path, repairing will start automatically. You can track the repair status on the tool’s screen.
    repairing video files
  7. After repairing, tap the Save report to CSV report button to get a CSV report; otherwise, hit Close.
    Get the CSV report


To use FFmpeg, you need the technical knowledge that will assist you in converting your corrupted videos into healthy videos safely. You can lose your corrupted data if you make a single mistake. To avoid data loss and prevent your essential video, use the Kernel Video Repair tool to repair corrupted videos with a few steps.

Kernel Video Repair