Convert FLV to TS
Max file size 100mb.
FLV vs TS Format Comparison
| Aspect | FLV (Source Format) | TS (Target Format) |
|---|---|---|
| Format Overview |
FLV
Flash Video
Adobe's Flash Video container was the dominant web video format from 2002 to 2015, powering YouTube, Hulu, and virtually every video-sharing site before HTML5. FLV supports Sorenson Spark, VP6, and H.264 video with MP3 or AAC audio, optimized for progressive download and real-time streaming via RTMP protocol. Following Adobe Flash Player's end-of-life in December 2020, FLV has become a legacy format — though significant archives of FLV content still exist. Legacy Lossy |
TS
MPEG Transport Stream
A streaming-oriented container format designed for broadcast television, cable systems, and live transmission where data loss is expected. Unlike MPEG Program Stream, Transport Stream uses fixed-length 188-byte packets with error correction, making it resilient to transmission errors and ideal for IPTV, DVB, ATSC, and Blu-ray disc storage. TS is the foundation of HLS (HTTP Live Streaming) for modern adaptive bitrate delivery. Standard Lossy |
| Technical Specifications |
Container: Adobe Flash container (FLV/F4V)
Video Codecs: Sorenson Spark (H.263), VP6, H.264/AVC Audio Codecs: MP3, AAC, Speex, ADPCM, Nellymoser Max Resolution: Up to 1080p (H.264 profile) Extensions: .flv, .f4v |
Container: MPEG-2 Transport Stream (ISO/IEC 13818-1)
Video Codecs: MPEG-2, H.264/AVC, H.265/HEVC Audio Codecs: MPEG-1 Layer II (MP2), AAC, AC-3, DTS Max Resolution: Up to 8K (H.265 in ATSC 3.0) Extensions: .ts, .mts, .m2ts, .tsv |
| Video Features |
|
|
| Processing & Tools |
FLV encoding and streaming with FFmpeg: # Convert to FLV with H.264 ffmpeg -i input.mp4 -c:v libx264 -preset medium \ -crf 23 -c:a aac -b:a 128k -f flv output.flv # Legacy FLV with VP6 codec ffmpeg -i input.mp4 -c:v flv -b:v 1M \ -c:a mp3 -b:a 128k output.flv |
TS encoding and HLS segmentation with FFmpeg: # Encode FLV to MPEG Transport Stream ffmpeg -i input.flv -c:v libx264 -c:a aac \ -f mpegts output.ts # Create HLS segments from TS ffmpeg -i input.ts -c copy -hls_time 10 \ -hls_list_size 0 output.m3u8 # Blu-ray compatible M2TS ffmpeg -i input.flv -c:v libx264 -level 4.1 \ -c:a ac3 -f mpegts output.m2ts |
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
Introduced: 2002 (Macromedia Flash Player 6)
Current Version: FLV1 / F4V (Adobe, 2007) Status: Deprecated (Flash Player EOL December 2020) Evolution: Flash MX/FLV (2002) → VP6 (2005) → H.264/F4V (2007) → Flash EOL (2020) |
Introduced: 1995 (ISO/IEC 13818-1, MPEG-2 Systems)
Current Version: MPEG-2 Systems Amendment 4 (2018) Status: Active standard for broadcast, Blu-ray, and HLS Evolution: MPEG-2 TS (1995) → DVB/ATSC (1998) → Blu-ray/M2TS (2006) → HLS segments (2009) → ATSC 3.0 (2019) |
| Software Support |
Media Players: VLC, mpv, PotPlayer, KMPlayer
Web Browsers: No native support (Flash Player deprecated) Video Editors: Adobe Premiere Pro (import), FFmpeg Mobile: Android (MX Player), iOS (not natively supported) CLI Tools: FFmpeg, FLVTool2, yamdi, MediaInfo |
Media Players: VLC, mpv, PotPlayer, Kodi
Web Browsers: Via HLS.js (as HLS segments) Video Editors: Adobe Premiere Pro, DaVinci Resolve, Kdenlive Mobile: Android/iOS (via HLS streaming players) CLI Tools: FFmpeg, tstools, DVBInspector, MediaInfo |
Why Convert FLV to TS?
Converting FLV to TS (MPEG Transport Stream) bridges the gap between Adobe's deprecated web video format and the streaming and broadcast world's fundamental container. Transport Stream is the backbone of modern video delivery infrastructure — it powers HLS (HTTP Live Streaming) used by Netflix, Twitch, and Apple's streaming services, forms the basis of Blu-ray disc storage (M2TS), and remains the standard for broadcast television worldwide. If you need to repurpose Flash content for streaming infrastructure, broadcast, or Blu-ray, TS is the target format.
The most relevant modern use case for FLV-to-TS conversion is preparing content for HLS adaptive bitrate streaming. HLS works by splitting video into small TS segments (typically 6-10 seconds each) referenced by an M3U8 playlist. Converting FLV to TS is the first step in creating an HLS stream that plays on virtually any device — Safari natively, Chrome and Firefox via HLS.js, and all mobile apps. This is particularly valuable for migrating legacy Flash video platforms to modern HTML5 streaming infrastructure.
Transport Stream's error-resilient design — using fixed 188-byte packets with synchronization and error correction — makes it inherently more robust than FLV for transmission over unreliable networks. Where FLV would fail catastrophically if packets were lost during RTMP streaming, TS gracefully recovers from data loss, making it superior for live streaming and broadcast applications.
The trade-off is that TS files have slight packet overhead (approximately 5-10% larger than equivalent MP4 files) and are not ideal for local file playback. For simple file storage and desktop playback, MP4 or MKV are better choices. Use TS when your workflow involves HLS streaming, broadcast playout, Blu-ray authoring, or IPTV delivery systems.
Key Benefits of Converting FLV to TS:
- HLS Streaming: Foundation format for HTTP Live Streaming used by major platforms
- Broadcast Ready: Standard format for DVB, ATSC, and IPTV television systems
- Error Resilience: Packet-based design recovers gracefully from transmission errors
- Blu-ray Compatible: M2TS variant used for Blu-ray disc storage
- Modern Codecs: Supports H.264, H.265/HEVC for high-quality streaming
- Multi-Program: Multiplex multiple video/audio streams in a single transport
- Live Streaming: Ideal for live event broadcasting and IPTV delivery
Practical Examples
Example 1: Migrating Flash Videos to HLS Streaming
Scenario: A video platform is migrating from Flash-based RTMP streaming to modern HLS delivery and needs to convert their FLV content library to TS segments for HLS playlists.
Source: tutorial_video_01.flv (200 MB, 1280x720, H.264, AAC) Conversion: FLV → TS → HLS segments Result: HLS playlist with 10-second TS segments HLS migration workflow: 1. Convert FLV to single TS file (remux if H.264) 2. Segment TS into 10-second chunks for HLS 3. Generate M3U8 playlist for adaptive streaming 4. Deploy to CDN for global delivery Command (single TS): ffmpeg -i tutorial_video_01.flv \ -c copy -f mpegts tutorial_video_01.ts Command (HLS): ffmpeg -i tutorial_video_01.ts -c copy \ -hls_time 10 -hls_list_size 0 tutorial_video_01.m3u8 Result: HTML5-compatible HLS stream, plays on all devices
Example 2: Creating Blu-ray Disc from Flash Content
Scenario: A filmmaker wants to create a Blu-ray disc of their web series originally published in FLV format, requiring M2TS (Blu-ray Transport Stream) formatted files.
Source: web_series_ep01.flv (300 MB, 1920x1080, H.264, AAC stereo) Conversion: FLV → M2TS (Blu-ray compatible) Result: web_series_ep01.m2ts (450 MB, 1920x1080, H.264, AC-3 5.1) Blu-ray workflow: 1. Re-encode to H.264 Level 4.1 (Blu-ray requirement) 2. Convert audio to AC-3 5.1 for Blu-ray specification 3. Wrap in M2TS transport stream container 4. Author Blu-ray structure with tsMuxeR or multiAVCHD Command: ffmpeg -i web_series_ep01.flv \ -c:v libx264 -level 4.1 -b:v 20M \ -c:a ac3 -b:a 448k -ac 6 \ -f mpegts web_series_ep01.m2ts Result: Blu-ray-compliant M2TS for disc authoring
Example 3: Converting Flash Live Stream Recordings to IPTV Format
Scenario: A cable TV operator has recorded live stream archives in FLV format from their RTMP-based system and needs to convert them to TS for playback through their IPTV distribution network.
Source: live_event_recording.flv (1.2 GB, 1920x1080, H.264, AAC) Conversion: FLV → TS (IPTV distribution) Result: live_event_recording.ts (1.3 GB, same quality, TS container) IPTV deployment: 1. Remux H.264/AAC from FLV to MPEG-TS (lossless) 2. Add DVB service information metadata 3. Verify transport stream with tstools analyzer 4. Deploy to IPTV head-end for distribution Command: ffmpeg -i live_event_recording.flv \ -c copy -f mpegts \ -mpegts_service_id 1 live_event_recording.ts Result: IPTV-ready transport stream, lossless remux
Frequently Asked Questions (FAQ)
Q: Can I convert FLV to TS without re-encoding?
A: Yes, if the FLV contains H.264 video and AAC audio. MPEG Transport Stream supports H.264 and AAC natively, so FFmpeg can remux the streams directly: ffmpeg -i input.flv -c copy -f mpegts output.ts. This preserves original quality instantly. FLV files with Sorenson Spark or VP6 require re-encoding.
Q: What is the difference between TS and M2TS?
A: Both use the MPEG Transport Stream container. M2TS (MPEG-2 Transport Stream with timestamps) is the Blu-ray disc variant that adds additional timestamp information for accurate disc navigation. TS is the general broadcast/streaming version. For HLS and broadcast, use .ts; for Blu-ray authoring, use .m2ts.
Q: Why are TS files slightly larger than equivalent MP4 files?
A: Transport Stream uses fixed 188-byte packets with synchronization bytes, adaptation fields, and null packet padding. This packet overhead adds approximately 5-10% to the file size compared to MP4's more compact container structure. The overhead is the trade-off for TS's error resilience and streaming capabilities.
Q: Can I use TS files for HLS streaming?
A: Yes, TS is the native segment format for HLS (HTTP Live Streaming). FFmpeg can convert FLV to HLS directly by creating TS segments and an M3U8 playlist. HLS with TS segments plays on Safari natively, and on Chrome/Firefox/Edge via the HLS.js library. This is the standard approach used by Netflix, Twitch, and most streaming platforms.
Q: Will TS files play on regular media players?
A: VLC, mpv, PotPlayer, and most desktop media players handle TS files without issues. However, TS is not as universally supported as MP4 for local file playback. Windows Media Player may have limited TS support. For simple local playback, MP4 is more practical; use TS specifically for streaming, broadcast, or Blu-ray workflows.
Q: How does TS compare to RTMP for live streaming?
A: RTMP (used with FLV) is a real-time streaming protocol, while TS is a container format used within streaming protocols like HLS and MPEG-DASH. Modern live streaming typically uses RTMP for ingest (camera to server) and HLS/TS for delivery (server to viewers). Converting FLV to TS moves content from the outdated ingest format to the modern delivery format.
Q: Can I create a Blu-ray disc from converted TS files?
A: Yes, but you need M2TS format specifically (Blu-ray's variant of Transport Stream). Ensure H.264 Level 4.1 video and AC-3/DTS audio for Blu-ray compliance. Tools like tsMuxeR, multiAVCHD, or Java Blu-ray Creator can author Blu-ray disc structures from M2TS files.
Q: Is TS suitable for long-term video archiving?
A: TS is not ideal for archiving due to its packet overhead and complex structure. For long-term storage, MKV or MP4 are better choices — they have lower overhead and better metadata support. Use TS for active streaming and broadcast workflows, and MP4 or MKV for archive storage.