# .flv

> The `.flv` (Flash Video) is an obsolete video format that required Adobe Flash Player.

> **Deprecated.** Required Adobe Flash Player, which no browser supports anymore. Use `.mp4` or `.webm` for web video. Use instead: [.mp4](https://wonderium.dev/engineering/mp4.md), [.webm](https://wonderium.dev/engineering/webm.md).

## What replaced FLV and Flash video on the web?

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.

- Topic: Video
- Type: format

## Example

Wrong:

```html
<object data="player.swf" type="application/x-shockwave-flash">
  <param name="flashvars" value="file=talk.flv">
</object>
```

Right:

```html
<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.

## Related cards

- [.mp4](https://wonderium.dev/engineering/mp4.md)
- [.webm](https://wonderium.dev/engineering/webm.md)
- [`<video>`](https://wonderium.dev/html/video.md)

---

- Level: [Engineering](https://wonderium.dev/engineering.md)
- HTML version: https://wonderium.dev/engineering/flv
- Last updated: 2026-11-25
