CGJU
CGJU
June 28, 2026 · 6 min read

Introduction: What are FLV and RTMP?

In the field of online live streaming, FLV and RTMP are two frequently mentioned terms. They were the core technologies of early online live streaming and are still widely used today.

  • FLV (Flash Video): A video file format developed by Adobe, which was once the dominant format for web video.
  • RTMP (Real-Time Messaging Protocol): A real-time messaging protocol developed by Adobe, primarily used for audio, video, and data communication between Flash platforms.

Although Flash has gradually faded into history, FLV and RTMP are still used in many live streaming scenarios, especially in traditional live streaming systems and surveillance cameras.

1. Live Streaming Principles

1.1 RTMP Protocol Principles

RTMP is an application-layer protocol based on TCP, with a default port of 1935. Its general working process is as follows:

  1. Connection Establishment: The client establishes a TCP connection with the server, then performs an RTMP handshake
  2. Stream Creation: After the connection is established, create audio and video streams
  3. Data Transmission: Audio and video data are transmitted in real-time in the form of packets
  4. Playback Control: Supports control commands such as play, pause, and stop

The biggest feature of RTMP is low latency, typically around 1-3 seconds, making it very suitable for scenarios with high real-time requirements, such as live streaming interactions and video conferencing.

1.2 FLV Format Introduction

FLV is a streaming media format with a very simple structure, consisting of a file header and a series of tags:

  • FLV Header: File header that identifies the file format and version
  • FLV Body: Consists of a series of Tags, each of which can be audio, video, or script data

The advantages of the FLV format are:

  • Small file size, suitable for network transmission
  • Can be played while downloading (progressive download)
  • Supports multiple video codecs (H.264, VP6, etc.)
  • Supports multiple audio encodings (MP3, AAC, etc.)

1.3 What is HTTP-FLV?

HTTP-FLV is a streaming media transmission method that encapsulates the RTMP protocol within the HTTP protocol. Simply put, it transmits audio and video data in FLV format through an HTTP connection.

Advantages of HTTP-FLV:

  • Can penetrate firewalls because it uses the HTTP protocol (ports 80/443)
  • Low latency, similar to RTMP
  • Better compatibility, can be played in browsers that support MSE
💡 Tip: Many live streaming platforms now use the HTTP-FLV format, which combines the low latency of RTMP with the good compatibility of HTTP.

2. How to Get Live Stream URLs?

2.1 Common Live Stream URL Formats

Live stream URLs typically come in the following formats:

  • RTMP URL: rtmp://server/live/stream
  • HTTP-FLV URL: http://server/live/stream.flv
  • HTTPS-FLV URL: https://server/live/stream.flv

2.2 Where to Get Live Streams?

Here are some common ways to obtain live streams:

  • Provided by live streaming platforms: Some live streaming platforms provide official live stream URLs
  • Set up your own live streaming server: Use software like SRS, NGINX-RTMP to set up your own live streaming server
  • Surveillance cameras: Many network cameras support RTSP/RTMP output
  • Third-party live stream sources: There are some public live stream sources online (be sure to verify legality)

2.3 How to Verify if a Live Stream is Valid?

Before using a live stream, it's best to verify that the stream is valid:

  1. Check if the URL format is correct
  2. Try playing with a player
  3. Check if the network connection is normal
  4. Confirm whether the live stream is currently active

3. Tutorial: How to Play FLV/RTMP Live Streams

3.1 Using a Web Player (Recommended)

The simplest way is to use a web-based FLV player, no need to download or install any software.

Step-by-step instructions:

  1. Open the player: Visit FLV/RTMP Online Player
  2. Enter the live stream URL: Paste your FLV or RTMP live stream URL into the input box
  3. Click Play: Click the "Play" button and wait for the video to load
  4. Adjust settings: Adjust volume, quality, and other settings as needed
💡 Note: Web players currently mainly support the HTTP-FLV format. Pure RTMP protocol may require plugins or desktop players due to browser limitations.

3.2 Using VLC Player

VLC is a powerful open-source player that supports almost all streaming media protocols, including RTMP and FLV.

Steps:

  1. Download and install VLC Player
  2. Open VLC, click menu "Media" → "Open Network Stream"
  3. In the pop-up window, enter the live stream URL
  4. Click the "Play" button and wait for connection

Tips for playing RTMP with VLC:

  • If playback is choppy, try increasing the buffer: Tools → Preferences → Input / Codecs → Network caching (set to 1000-3000ms)
  • If it won't play, check if the URL is correct and the network is stable
  • VLC supports multiple formats including RTMP and HTTP-FLV

3.3 Previewing Live Streams with OBS

If you're a streamer and want to preview your own live stream, you can use OBS Studio:

  1. Open OBS Studio
  2. Click "File" → "Play Network Stream"
  3. Enter your live stream URL
  4. Click "Play" to preview

4. Screenshot Tips

4.1 Taking Screenshots with Web Player

Our FLV Online Player has a built-in screenshot function, which is very simple to use:

  1. While playing the video, click the "Screenshot" button at the bottom right of the player
  2. The screenshot will automatically download to your local device
  3. Default saves as PNG format with clear quality

4.2 Using System Screenshot Tools

If the player doesn't have a screenshot function, you can also use the system's built-in screenshot tools:

Windows System:

  • Win + Shift + S: Call up the system screenshot tool, select an area to capture
  • Win + PrtScn: Full-screen screenshot, automatically saved to "Pictures/Screenshots" folder
  • PrtScn: Full-screen screenshot to clipboard, need to paste into Paint or other software to save

Mac System:

  • Command + Shift + 3: Full-screen screenshot
  • Command + Shift + 4: Area screenshot
  • Command + Shift + 5: Screenshot toolbar (supports screen recording)

4.3 Some Screenshot Tips

  • Pause before screenshot: Pause playback first, find the desired frame then take the screenshot for better results
  • Use player screenshot: Prioritize using the player's built-in screenshot function for the best quality
  • Save format: PNG format has good quality but larger files, JPG format has smaller files but is lossy
  • Screenshot naming: Give screenshots meaningful names for easier future reference

5. Common Issues and Solutions

5.1 What if the Live Stream Won't Play?

Possible reasons:

  • Live stream URL is incorrect or has expired
  • Network connection issues
  • The live stream has ended
  • Server failure or insufficient bandwidth
  • Protocol not supported (e.g., web player doesn't support pure RTMP)

Solutions:

  • Check if the live stream URL is correct
  • Confirm the network connection is normal
  • Try using another player (like VLC)
  • Contact the live stream provider to confirm the stream status

5.2 What if Playback is Choppy or Has High Latency?

Solutions:

  • Check network speed, ensure sufficient bandwidth
  • Close other bandwidth-consuming applications
  • Try using a wired network connection
  • Reduce video quality (if multi-bitrate is supported)
  • Increase player buffer size
  • Try changing the network environment

5.3 What if There's Only Audio but No Video?

Possible causes and solutions:

  • Video codec not supported: Try using another player, such as VLC
  • Video data missing: Check if the network is normal, refresh and retry
  • Player decoding issues: Update the player to the latest version

5.4 What if There's Corrupted or Green Screen?

Solutions:

  • Refresh the page or restart the player
  • Check if the graphics card driver is normal
  • Try turning off hardware acceleration
  • Try a different player

5.5 RTMP Stream Can't Play in Web Browsers?

Cause: Modern browsers no longer support Flash, and the RTMP protocol originally relied on Flash Player.

Solutions:

  • Use a desktop player that supports RTMP (such as VLC)
  • If the live streaming server supports it, switch to HTTP-FLV or HLS format
  • Use browser plugins (not recommended, security concerns)

5.6 How to Record Live Stream Video?

If you want to record live stream content, you can try the following methods:

  • Record with VLC: During playback, click "Playback" → "Record"
  • Record with OBS: Add a media source, then start recording
  • Use FFmpeg: Command-line tool with powerful features, suitable for technical users

6. Useful Tool Recommendations

6.1 Web Players

  • CGJU Online FLV Player: Supports HTTP-FLV, clean interface, practical features
  • flv.js Demo: Official demo of the open-source flv.js from Bilibili

6.2 Desktop Players

  • VLC: Open-source and free, supports almost all formats, highly recommended
  • PotPlayer: Popular player on Windows platform, powerful features
  • MPV: Minimalist style open-source player

6.3 Live Streaming Servers

  • SRS: Open-source live streaming server with excellent performance
  • NGINX-RTMP: Live streaming module based on Nginx
  • OBS Studio: The most popular live streaming software

7. Security Considerations

When watching live streams, please note the following security considerations:

  • Only obtain live stream URLs from trusted sources
  • Don't enter personal information on untrusted websites
  • Pay attention to protecting personal privacy — do not take screenshots and distribute content casually
  • Comply with relevant laws and regulations, don't watch illegal live streams
  • If using third-party players, download from official channels

Summary

Although FLV and RTMP are relatively early technologies, they still have wide applications in the live streaming field. Through the introduction in this article, we believe you now have a basic understanding of FLV/RTMP live streaming and have learned how to play and take screenshots.

If you want to quickly experience FLV live streaming playback, why not try our free FLV online player, no download or installation required, just open your browser and use it!

Related Recommendations

More great articles and useful tools

Want to Play FLV Live Streams Right Now?

Use our free FLV online player, no download or installation required, watch live streams directly in your browser

Try It Now ➡