Home / Repair guides / WebM with no duration

WebM or MKV recording with no duration, or you can’t skip ahead: how to fix it

Websites and web apps that record your webcam or screen in the browser, such as video messages, interviews, online lessons or screen recorders, usually use the browser’s MediaRecorder. It saves the video while you record, piece by piece, as a .webm file (some sites name it .mkv), and it usually doesn’t write the total length or the index that lets a player jump to a point. The footage is usually all there. Here is how to check it, the free fix, and what an upload repairs.

FrameRescue repair guide · Updated November 26, 2026

What you see, and why

What you seeLikely causeWhat to do
No length or 0:00, and the progress bar doesn’t workThe recording has no duration and no index (Cues)Rewrite it with both: free with FFmpeg (below), or by upload
It plays, but skipping ahead is slow or doesn’t workNo index: the player has to read the file from the start to find a pointThe same rewrite adds the index
It won’t open in some apps, such as QuickTime Player or a video editorThe app doesn’t support WebM or MKV files, or the codec inside themMake an MP4 copy (below). The file itself may be fine
It stops early, or won’t open at all, after the tab, the browser or the computer closedThe recording was cut off while it was being writtenUpload it: the cut-off end is removed and the rest is copied into MP4
The file is 0 bytes or a few kilobytesNothing was recorded, or the download failedNothing to repair: download it again if the website still has it

Why browser recordings have no duration

MediaRecorder writes a recording like a live stream: small blocks of video and audio, one after another. That is also why a recording that stopped abruptly is usually readable up to the point where it stopped. But a normal video file also has two things that players rely on, and a live recording often leaves them out:

The missing duration is tracked in the Chromium bug tracker (issue 40482588), and Addpipe’s analysis of the WebM files Chrome produces describes both points. Players cope in different ways: some read the whole file before they show the length, some show 0:00 or no length at all, and some refuse the file.

Free fix when the recording plays to the end

If the recording plays from start to end in Chrome or in VLC, the file is complete and only the duration and the index are missing. Rewriting it without re-encoding adds both. With the free tool FFmpeg:

ffmpeg -i recording.webm -c copy -cues_to_front 1 fixed.webm

-c copy keeps the video and audio exactly as recorded, and -cues_to_front 1 writes the index at the start of the file, where players look for it. This works when the video is VP8, VP9 or AV1, the usual codecs of a .webm file. If FFmpeg reports that the codec isn’t supported in WebM, the video is H.264 (some websites record H.264): copy the video into an MP4 instead, and convert the audio to AAC, which MP4 players expect:

ffmpeg -i recording.webm -c:v copy -c:a aac fixed.mp4

A VP8 or VP9 video can’t be copied into an MP4 that plays everywhere: to open it in apps that only accept MP4, it has to be converted, for example with HandBrake. Converting re-encodes the video, so keep the original.

What FrameRescue repairs in .webm and .mkv files

FrameRescue recognises a WebM or Matroska file from its content, not from its name, and repairs recordings with one video track in H.264, HEVC, VP8, VP9 or AV1, and their audio tracks, when they:

The result is a standard MP4 with a duration and an index:

Only the broken pieces are removed: the cut-off end, and after damage in the middle, the frames up to the next keyframe. The repair is offered only if at least about 95% of the frames and of the audio remain, and the result is decoded from start to end before it is offered. You see a preview, then pay €5.00 to download name-repaired.mp4.

If the file already has its duration and index and decodes from start to end, it is not damaged: the page tells you “Your video isn’t damaged”, with no checkout. FrameRescue doesn’t convert healthy files; use the FFmpeg commands above or a converter.

What can’t be repaired yet

In these cases the page says that no verified repair was found, and there is nothing to pay.

Recordings from other browsers

So far the repair has been tested mainly with test files built with the same structure as Chrome’s recordings. Edge is built on the same engine as Chrome. Firefox also records .webm files, but its recordings have not been tested yet. Safari records MP4 files instead: for an MP4 with no duration, see video shows 0 seconds.

Questions about browser recordings

Why does my browser recording show no duration?

The browser writes it like a live stream and often leaves out the total length and the index. The video and audio are usually all there: rewriting the file adds the duration and makes skipping work.

Will I lose quality?

Not with H.264 or HEVC video: it is copied unchanged. VP8, VP9 and AV1 video has to be converted to H.264 to go into an MP4 that plays widely. It is converted at high quality, but a conversion is never an exact copy.

Why do I get an MP4 back when I upload a .webm file?

MP4 opens in more apps and on more devices than WebM or MKV, and it stores the duration and the index where every player expects them.

The website still has my recording. Should I download it again?

Yes, try that first. If the website kept a complete copy, a new download may already play. If the file you have was cut off during the download, the missing part exists only on the website.

Related repair guides

Repair your browser recording

Upload the original .webm or .mkv file. FrameRescue checks the result before offering it, and you pay €5.00 only if a repaired file is ready.

Upload the recording