iLoveConverter
Categories 11 categories

The FLV (.flv) Format, Explained

iLoveConverter Team 3 min read

On this page

FLV — Flash Video — was Adobe’s streaming container for the Flash era. Its design was simple and purpose-built for progressive download over HTTP, which made it the default on YouTube, Vimeo and almost every video website between 2003 and 2012. Flash is gone, and so is FLV as a delivery format — but thousands of legacy files still live on servers, external drives and old CMS archives.

The FLV structure

An FLV starts with a short header identifying it as version 1 (the common one). The rest is a sequence of tags, each with a type byte, a 3-byte size and a timestamp. Three tag types exist:

  • Video — usually VP6, Sorenson Spark or H.264. Most FLVs you meet contain H.264 video.
  • Audio — AAC is common; older files use MP3 or Nellymoser (speech-oriented).
  • Script data — metadata such as duration, dimensions and caption cues.

FLV was designed to be written in real time, which is why streaming was so natural. There is no central directory; tags are appended as they arrive. The downside: tools cannot jump to a future point without scanning from the start.

Why FLV died

Flash Player reached end-of-life in late 2020, and every major browser removed support. The video world moved on:

FLV codecReplacementNotes
Sorenson Spark (FLV1)H.264 / HEVCSpark is obsolete
VP6VP8 / VP9VP9 is the modern open choice
H.264 inside FLVH.264 inside MP4Same codec, better container

H.264 video from an FLV and H.264 video from an MP4 can be identical bytes; only the container differs. The industry picked MP4 as the standard delivery container once Flash was gone.

Playing FLV today

No modern browser plays FLV natively. Options:

  • ffplay or VLC — both handle FLV flawlessly on any OS.
  • Remux to MP4 — if the codecs are H.264 + AAC, ffmpeg -i in.flv -c copy out.mp4 rewraps without re-encoding.
  • Transcode — if the FLV uses obsolete codecs, re-encode to H.264/AAC in MP4 or WebM.

Converting FLV

  • To MP4 — the default target. Stream copy when codecs are modern, transcode otherwise.
  • To WebM — VP9 + Opus; best for open web delivery.
  • Extract audio — -vn -acodec copy audio.aac for AAC; transcode to MP3 if needed.
  • Batch archive migration — script ffmpeg across a folder of FLVs; remux is fast.

Remuxing H.264/AAC FLV to MP4 is lossless and usually finishes in seconds even for large files. Most FLV players already handle these codecs; the work is just changing the container.

Common problems

  • “Codecs out of order” — ffmpeg warns but usually handles it during remux.
  • H.264 FLV does not remux cleanly — very old FLVs have a modified AVCC; -bsf:v h264_mp4toannexb before remux fixes it.
  • Missing audio — if the audio is Nellymoser, you must transcode; modern containers do not carry it.
  • Seeking broken after remux — MP4 needs an index at the start; -movflags +faststart moves it.

FAQ

Is FLV still used?

Rarely for new content, but millions of legacy files still exist. Most are now streamed through HLS or re-encoded to MP4.

Can I play FLV in a browser?

No modern browser supports FLV natively. Use a player like VLC or convert to MP4.

Is an FLV video lower quality than an MP4?

Not necessarily. If both use H.264, the picture can be identical; only the container differs.

Does remuxing FLV to MP4 lose quality?

No. -c copy keeps the bytes identical and only changes the container.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: FLV (.flv) , MP4 (.mp4) , WEBM (.webm)