Convert TS to MPG
Max file size 100mb.
TS vs MPG Format Comparison
| Aspect | TS (Source Format) | MPG (Target Format) |
|---|---|---|
| Format Overview |
TS
MPEG Transport Stream
A streaming-oriented container designed for broadcast television and live transmission where data loss is expected. Transport Stream uses fixed-length 188-byte packets with error correction, making it resilient to transmission errors. TS supports multiplexing multiple programs and is the foundation of HLS streaming and Blu-ray disc storage (M2TS variant). Standard Lossy |
MPG
MPEG-1/MPEG-2 Program Stream
The foundational digital video format standardized in the 1990s for Video CD (MPEG-1) and DVD-Video (MPEG-2). MPG files use MPEG Program Stream multiplexing to combine MPEG-1 or MPEG-2 video with MP2 or AC-3 audio for sequential, error-free playback. While superseded by H.264 for modern use, MPEG-2 remains the backbone of broadcast television and DVD authoring. Legacy Lossy |
| Technical Specifications |
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 |
Container: MPEG Program Stream (ISO/IEC 11172-1, 13818-1)
Video Codecs: MPEG-1, MPEG-2 Audio Codecs: MPEG-1 Layer II (MP2), MP3, AC-3 Max Resolution: Up to 1920×1152 (MPEG-2 Main Profile @ High Level) Extensions: .mpg, .mpeg, .vob, .m2p |
| Video Features |
|
|
| Processing & Tools |
TS encoding and broadcast operations with FFmpeg: # Encode to MPEG Transport Stream ffmpeg -i input.mp4 -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 |
MPG encoding for DVD and legacy systems with FFmpeg: # Convert TS to MPEG-2 Program Stream ffmpeg -i input.ts -c:v mpeg2video -b:v 5M \ -maxrate 8M -bufsize 2M -c:a mp2 -b:a 256k output.mpg # DVD-compliant MPEG-2 encoding ffmpeg -i input.ts -target pal-dvd output.mpg |
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
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) |
Introduced: 1993 (MPEG-1, ISO/IEC 11172), 1995 (MPEG-2, ISO/IEC 13818)
Current Version: ISO/IEC 13818 (MPEG-2, multiple parts) Status: Legacy standard, maintained for broadcast and DVD Evolution: MPEG-1/VCD (1993) → MPEG-2/DVD (1995) → DVB/ATSC broadcast → still used in broadcast TV |
| Software Support |
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 |
Media Players: VLC, Windows Media Player, mpv, MPC-HC
Web Browsers: Not natively supported Video Editors: Adobe Premiere Pro, DaVinci Resolve, Avidemux Mobile: Android (VLC, MX Player), iOS (VLC) CLI Tools: FFmpeg, mpgtx, dvdauthor, MEncoder |
Why Convert TS to MPG?
Converting TS to MPG transforms a broadcast Transport Stream into an MPEG Program Stream — moving from the error-resilient broadcast delivery format to the sequential local playback and DVD authoring format. While both formats can carry MPEG-2 video, their container structures serve fundamentally different purposes. Transport Stream is built for unreliable broadcast channels with packet-level error recovery, while Program Stream is designed for reliable sequential access from local storage like DVDs and hard drives.
The most common reason to convert TS to MPG is DVD creation. Standalone DVD players expect MPEG-2 Program Stream with specific resolution and bitrate parameters. If you have recorded television programs from DVB-T, ATSC, or IPTV as Transport Stream files, converting to DVD-compliant MPG is the required step before burning to disc. FFmpeg handles the complete DVD specification with its target presets: -target ntsc-dvd for North American standard or -target pal-dvd for European standard.
This conversion is also relevant for legacy media infrastructure. Older digital signage systems, video-on-demand servers, and industrial display equipment often require MPEG Program Stream input. Medical imaging displays in hospitals, flight information screens at airports, and museum exhibit systems built in the 2000s commonly expect MPG files. Converting broadcast captures or IPTV feeds to MPG ensures compatibility with these installed systems.
The trade-off is compression efficiency. If the TS source uses H.264 video, converting to MPG means re-encoding to MPEG-2, which requires roughly 2-3x more data for equivalent visual quality. The resulting MPG file will be significantly larger than both the original TS and what an MP4 conversion would produce. Only convert to MPG when DVD authoring or legacy system compatibility is specifically required.
Key Benefits of Converting TS to MPG:
- DVD Compatible: Create files ready for DVD-Video disc authoring
- Hardware Playback: Works on standalone DVD players and set-top boxes
- Legacy Support: Compatible with older media systems and displays
- Simple Structure: Sequential Program Stream is easy for hardware to parse
- Universal Decoder: MPEG-2 hardware decoders exist in virtually all video devices
- Broadcast Standard: Recognized by all broadcast and media equipment
- Low CPU: Minimal processing power needed for MPEG-2 playback
Practical Examples
Example 1: Recorded TV Shows to DVD Collection
Scenario: A family records their favorite weekly TV series from DVB-T broadcasts as TS files and wants to create a DVD box set of the complete season for the living room DVD player.
Source: drama_series_s03e01-e12.ts (12 episodes, 38 GB total, 1080i, H.264) Conversion: TS → MPG (DVD-compliant, per disc) Result: 3 DVD-5 discs, 4 episodes each (4.3 GB per disc) DVD box set workflow: 1. Downscale 1080i to 720×576 PAL DVD resolution 2. Deinterlace and encode MPEG-2 at 5 Mbps 3. Audio to AC-3 stereo at 192 kbps 4. 4 episodes per DVD-5 disc (4.3 GB each) 5. Create DVD menus with dvdauthor ✓ Complete season on 3 professionally labeled DVDs ✓ DVD menus for episode selection ✓ Plays on any DVD player worldwide (PAL) ✓ Commercial breaks removed during TS editing
Example 2: IPTV Feed for Medical Display System
Scenario: A hospital receives patient education videos via IPTV in TS format and needs to convert them to MPG for their waiting room display systems that only accept MPEG Program Stream files.
Source: patient_education_nutrition.ts (650 MB, 720x576, MPEG-2, MP2) Conversion: TS → MPG (for medical display hardware) Result: patient_education_nutrition.mpg (620 MB, 720x576, MPEG-2, MP2) Medical deployment: 1. Remux MPEG-2 from TS to Program Stream 2. Verify CBR compliance for display hardware 3. Validate audio levels for waiting room volume 4. Load onto display system USB drive 5. Configure loop playback schedule ✓ Seamless loop playback on display hardware ✓ MPEG-2 Program Stream directly compatible ✓ No re-encoding needed (same MPEG-2 codec) ✓ Smaller file without TS broadcast overhead
Example 3: Broadcast Archive to VCD Format
Scenario: A community library in a developing region distributes educational broadcast recordings on VCDs for patrons who still use VCD players. The recordings are captured as DVB-T Transport Streams.
Source: educational_science_ep08.ts (1.8 GB, 720x576, MPEG-2, MP2) Conversion: TS → MPG (VCD-compliant MPEG-1) Result: educational_science_ep08.mpg (680 MB, 352x288, MPEG-1, MP2) VCD production workflow: 1. Downscale from 720×576 to 352×288 (VCD resolution) 2. Re-encode as MPEG-1 at 1.15 Mbps (VCD bitrate) 3. Audio to MPEG-1 Layer II at 224 kbps 4. Burn to CD-R using VCD authoring tool 5. Test on target VCD player hardware ✓ 74 minutes of content per CD-R disc ✓ Plays on VCD and most DVD players ✓ Extremely low cost per copy (CD-R media) ✓ Educational content accessible without internet
Frequently Asked Questions (FAQ)
Q: What is the difference between MPG and MPEG?
A: Nothing — .mpg and .mpeg are the exact same format with different filename extensions. The .mpg extension originated from the DOS 8.3 filename convention, while .mpeg uses the full name. Both contain MPEG Program Stream data with MPEG-1 or MPEG-2 video. All video software treats them identically.
Q: Can I remux TS to MPG without re-encoding?
A: If the TS contains MPEG-2 video with MP2 or AC-3 audio, a container remux may work: ffmpeg -i input.ts -c copy -f mpeg output.mpg. However, results are not guaranteed for all players, especially DVD players. For reliable output, use the DVD target preset which re-encodes to DVD-compliant parameters.
Q: Why is the MPG file bigger than my H.264 TS source?
A: MPEG-2 is far less compression-efficient than H.264. A 1 GB H.264 TS file typically becomes 2-3 GB when re-encoded to MPEG-2 MPG at equivalent visual quality. This is the fundamental trade-off of using MPG — you get maximum hardware compatibility but lose compression efficiency.
Q: How do I make a DVD-compliant MPG file?
A: Use FFmpeg's DVD target preset: ffmpeg -i input.ts -target ntsc-dvd output.mpg for NTSC (720x480, 29.97fps) or -target pal-dvd output.mpg for PAL (720x576, 25fps). This automatically sets the correct resolution, bitrate, GOP structure, and audio parameters for DVD-Video compliance.
Q: Can MPG files store HD video?
A: MPEG-2 supports up to 1920×1152 resolution, so technically yes. However, DVD-Video is limited to standard definition (720×480/576). For HD MPEG-2, Blu-ray uses the M2TS container (Transport Stream), not Program Stream. You can create HD MPG files, but they will not play on standard DVD players.
Q: What bitrate should I use for DVD quality?
A: DVD-Video supports video bitrates from 2 Mbps to 9.8 Mbps. For good quality, use 5-7 Mbps. Higher bitrates give better quality but reduce recording time per disc. A DVD-5 (4.7 GB) holds approximately 60-120 minutes depending on bitrate. For maximum quality on short recordings, use 8-9 Mbps.
Q: How do I handle widescreen content for DVD?
A: DVD supports 16:9 widescreen using anamorphic encoding — the video is stored at 720×480/576 but flagged as 16:9 for the player to stretch. Add the aspect flag: ffmpeg -i input.ts -target pal-dvd -aspect 16:9 output.mpg. The player handles the correct display aspect ratio during playback.
Q: Can I add subtitles to the MPG file?
A: Standard MPG files do not support embedded subtitles. For DVD with subtitles, you need to create a full DVD structure with VOB files using dvdauthor or similar tools. The subtitles are burned as bitmap overlays in the DVD mux process. For simple MPG playback, use external SRT subtitle files loaded by the player.
Q: Should I convert to MPG or MP4?
A: Use MP4 for any modern use case — web streaming, mobile playback, social media, or digital archival. Use MPG only when you specifically need DVD-Video authoring, legacy hardware compatibility, or integration with systems that require MPEG Program Stream. MP4 with H.264 provides 2-3x better compression and plays on every modern device.