Supported video formats

Updated

20mb.net reads almost any video file: phone, camera, screen-recording and old Windows formats included. By default it keeps your format, so an MP4 stays an MP4 and a WebM stays a WebM. Here’s the full list, what you get back for each format, and which results play inside Discord.

For Discord, choose MP4. MP4 with H.264 video and AAC sound plays inline on desktop, on the web, on iPhone and on Android. When your file’s format won’t play inside Discord, 20mb.net tells you and offers a one-click switch to MP4.

Files 20mb.net can read

File types

  • MP4 and M4V
  • MOV (QuickTime), from iPhones, Macs and cameras
  • WebM
  • MKV (Matroska), from OBS and other recorders
  • AVI
  • WMV and ASF (Windows Media)
  • FLV and F4V (Flash video)
  • 3GP and 3G2, from older phones
  • MPEG-TS, M2TS and MTS, from camcorders and TV recordings
  • MPG, MPEG and VOB (DVD video)
  • GIF (animated)
  • MXF (professional cameras), DV (older camcorders), OGV (Ogg video) and RealMedia (RM, RMVB)

If your file picker doesn’t show a less common file type, drag the file onto the page instead.

Video codecs

  • H.264 (AVC), the most common codec
  • HEVC (H.265), including iPhone video in HDR and Dolby Vision
  • AV1, VP8 and VP9
  • Apple ProRes and Avid DNxHD, from cameras and editing apps
  • MPEG-4 Part 2 (Xvid, DivX), MPEG-1 and MPEG-2
  • Windows Media Video (WMV 7, 8 and 9) and VC-1
  • Theora, DV, Motion JPEG, H.263 and Flash-era codecs such as Sorenson Spark and VP6
  • Lossless and screen-capture codecs: UT Video, FFV1, Lagarith, HuffYUV, MagicYUV, CineForm, Fraps and TechSmith screen capture
  • Older codecs such as RealVideo, Cinepak and QuickTime Animation

Audio codecs

AAC, MP3, MP2, Opus, Vorbis, AC-3 (Dolby Digital), E-AC-3 (Dolby Digital Plus), DTS, Dolby TrueHD, FLAC, ALAC, PCM (uncompressed, as in WAV), WMA (including WMA Pro and WMA Lossless), AMR (phone voice recordings) and RealAudio.

20mb.net compresses videos, so a file needs a picture: audio-only files aren’t supported. If a video uses a codec it can’t decode, it tells you right after you choose the file, before any work starts.

What you get for each input format

Unless you choose otherwise, the compressed video keeps the original format, with these codecs:

Output codecs for each input format and whether the result plays inside Discord
File you start withVideo and sound in the resultPlays inside Discord?
MP4H.264 + AACYes, on every device
WebMVP9 + OpusYes
MOV, M4VH.264 + AACIn Discord’s apps; not reliably in web browsers
MKVH.264 + AACNo: shown as a download card
AVIH.264 + MP3No: download card
WMV, ASFWindows Media Video 8 + WMANo: download card
FLV, F4VH.264 + AACNo: download card
3GP, 3G2H.264 + AACNo: download card
MPEG-TS, M2TS, MTSH.264 + AACNo: download card
MPG, MPEG, VOBMPEG-2 + MP2No: download card
GIFGIF (no sound)Shown as an animated image, not a video
OGV, MXF, DV, RealMediaYou choose the output formatYes with MP4 or WebM

These are the codecs 20mb.net writes when it re-encodes. A file that is already under your target can sometimes be repackaged instead, keeping its original codecs.

Choosing a different output format

Open Advanced options → Output format to pick one of these instead of the original format:

  • MP4 (H.264 + AAC): plays everywhere, including inside Discord on every device. The best choice for sharing.
  • WebM (VP9 + Opus): plays in Discord and in current browsers.
  • MOV (H.264 + AAC): for Apple apps and editing software.
  • MKV (H.264 + AAC): for a media library or a player like VLC; Discord shows it as a download.
  • GIF: an animated image without sound. GIFs get large quickly, so they suit clips of a few seconds. See compressing a GIF.

When you keep a format that doesn’t play inside Discord, 20mb.net warns you before you compress and offers Use MP4 instead.

Formats that need you to choose an output

20mb.net can read some formats that it can’t write back: OGV (Ogg Theora), MXF, DV, RealMedia and a few other rare types. For these there’s no “same as the original”, so 20mb.net opens Advanced options and asks you to choose an output format before you can compress. MP4 is the right answer in almost every case.

What happens to the picture and sound

  • Color: the output is 8-bit 4:2:0, the format every player supports. HDR video (iPhone HLG and Dolby Vision, HDR10) is converted to standard dynamic range (BT.709), so colors look right on every screen.
  • Rotation: phone videos filmed sideways are turned the right way up in the picture itself, so they display correctly everywhere.
  • Interlacing: interlaced video, such as 1080i from camcorders, is deinterlaced.
  • Fast start: MP4 and MOV files get their index at the start, so playback can begin before the whole file has loaded.
  • Tracks: the main video and one audio track are kept. Subtitles and extra audio tracks are left out.
  • Metadata: location (GPS) and device details are removed unless you check Keep metadata. More in the privacy policy.

Repackaging without re-encoding

When a file is already under the target and you only change its format or remove the sound, 20mb.net copies the existing video and sound into the new file instead of compressing them again, provided the new format can hold them. That takes seconds and loses no quality, but the codecs stay as they were. An MKV with H.264 and AAC inside becomes a perfect MP4 this way (see MKV to MP4).

An HEVC, AV1, 10-bit or HDR video is re-encoded to H.264 automatically when you choose MP4, so the result plays for everyone. And when a file already fits and you change nothing, 20mb.net simply tells you it fits as it is. Playback problems are covered in why a video won’t play in Discord.

Questions and answers

Can 20mb.net output HEVC or AV1?

No. MP4, MOV and MKV files get H.264 video and WebM files get VP9, because those play almost everywhere. HEVC and AV1 make smaller files, but they don’t play for every Discord user.

Why does 20mb.net keep my format instead of always making MP4?

Because some people need the same format back, for an editor, a website or a device. For Discord, it tells you when your format won’t play and switches to MP4 in one click.

Does it work with audio files?

No. 20mb.net compresses videos, so the file needs a picture. Audio-only files are refused with a short explanation.

Need a video under 20 MB right now?

Open the compressor