Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Solved

"Video can’t be played because the file is corrupt" but video can be played using Chromium, MPV, and VLC.

Anonymous

Media resource could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) Details: virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<62>::DoDecode(mozilla::MediaRawData*, uint8_t*, int, bool*, mozilla::MediaDataDecoder::DecodedData&): avcodec_send_packet error: Unknown error occurred

Media resource could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004) Details: virtual mozilla::MediaResult mozilla::FFmpegVideoDecoder<62>::DoDecode(mozilla::MediaRawData*, uint8_t*, int, bool*, mozilla::MediaDataDecoder::DecodedData&): avcodec_send_packet error: Unknown error occurred

All Replies (3)

Does it play if you restart into Troubleshoot Mode (from Help menu)?

Chosen Solution

It turns out I had to install different software.

I too experience "Video can’t be played because the file is corrupt" even though other browsers handle the .mp4 files just fine on the same Linux system.

I'm glad "anonymous" found a solution. However, saying "...install different software" does not inform the reader about how to address this Firefox problem.

I'm forced to use a different browser for some video content. Mozilla says Firefox uses codecs provided by the O/S, but that's also unhelpful. Curiously, the same .mp4 videos play well on Firefox for Android. Too, though I'm not 100% sure of this, the problem may have started with fairly recent Firefox versions.

Some kind of meaningful advice (e.g., a list of commercial software that plays mp4 files in Firefox) about fixing this would be much appreciated.

یک سؤال بپرسید

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.