.flv

Term side of the Card.
Topic: Video
Unit title: .flv
Categories: Format
Explanation side of the Card

Explanation: The obsolete video format that was played with Adobe Flash Player in web pages. Flash is no longer supported by any browser, so web video uses `.mp4` or `.webm` with the native `<video>` element.

Example

Wronghtml
<object data="player.swf" type="application/x-shockwave-flash">
  <param name="flashvars" value="file=talk.flv">
</object>
Righthtml
<video controls poster="talk.jpg">
  <source src="talk.webm" type="video/webm">
  <source src="talk.mp4" type="video/mp4">
</video>

Flash no longer runs in browsers, so the video is converted and played by the native <video> element.

Common mistakes

  • Keeping old Flash <object> embeds that now show an empty box.
  • Generating SWF player markup from outdated tutorials.

Key points

  • Video is embedded with <video> and .mp4 or .webm sources, not <object> or <embed> with a SWF player.
  • Streaming uses HLS or DASH segments, not an FLV stream.

Interview questions

How do I convert FLV to MP4?

Use FFmpeg: ffmpeg -i in.flv -c:v libx264 -c:a aac out.mp4. FLV files often hold H.264, so -c copy may work too.

Is FLV still used anywhere?

Some live streaming ingest still uses RTMP, which carries FLV-style data, but viewers never get FLV files in the browser.

Analytics cookiesWe'd like to use analytics cookies to see which pages are useful. They're set only if you accept. Privacy Policy