MP4, WebM, MP3, WAV & GIF: practical media format guide
Understand containers vs. codecs, choose the right audio bitrate, and decide when to export WebM, GIF89a, MP3, or 16-bit WAV locally.
Container (.mp4, .webm) vs. codec (H.264, VP9, AAC)
A file extension like .mp4 or .webm only describes the wrapper container — the box structure holding video, audio, and timing metadata. Inside an MP4 container, video might be H.264 (universally playable), HEVC/H.265 (common on iPhones, restricted in some browsers), or AV1.
If a clip refuses to play in a browser or video editor, inspect its container boxes first with the local Video Metadata Viewer before re-encoding.
Choosing between MP3 and 16-bit PCM WAV
Uncompressed 16-bit stereo WAV at 44.1 kHz consumes roughly 10 MB per minute and preserves every PCM sample faithfully — ideal as an intermediate file for editing or trimming.
MP3 compresses audio by 6× to 12× using psychoacoustic masking. Use 128 kbps for voice recordings and lectures, 192 kbps for general music, and 320 kbps when maximum MP3 fidelity is needed.
- Extract speech or podcasts from MP4 recordings → MP4 to MP3 at 128–192 kbps.
- Keep lossless audio while cutting clips for another editor → Audio Trimmer with WAV output.
- Share short 3–6 second UI animations in GitHub PRs or docs → Video to GIF at 8–10 FPS and 480 px width.