Convert TS to MPG
Turn TS videos into MPG. MPEG-2 video with MPEG audio at 48 kHz in an MPEG program stream, for DVD tools and old players.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TS files on the dialor turn it to pick what to do
MPEG-2 video for DVD tools and old players.A transport stream becomes an MPEG program stream with MPEG audio at 48 kHz.
What you get
One MPG file. The video is MPEG-2 and the audio is MPEG audio at 48 kHz, both inside an MPEG program stream. This is the form DVD tools and old players expect.
The TS container is the one used for broadcast and HLS video. MPG covers MPEG-1 and MPEG-2 video, the formats of VCDs and DVDs.
Change the picture or the timing
Set Max width or Max height to shrink a video that is wider or taller than the value. The shape stays the same. A video that is already smaller is not enlarged.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Set Frame rate (fps) to choose how many frames each second holds. Fewer frames make choppier motion, and 24 to 30 looks natural.
Set Speed to play faster or slower. A value of 2 is twice as fast and 0.5 is half as fast. Voices keep their pitch.
Cut and mute
Set Start at (s) to cut that many seconds from the beginning. Decimals such as 1.5 work. Set Stop at (s) to end at a second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.
Turn on Mute to drop the sound track and keep only the picture.
When it stops
If the file cannot be parsed, the conversion stops with
input_corrupted. To go the other way, use MPG to TS.
TS and MPG.What each format is, and the options this conversion takes.
- 01 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
16 to 20000 - 02 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
16 to 20000 - 03 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 04 · speed
Speed
Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.
0.25 to 4 - 05 · trim_end
Stop at (s)
Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.
0 to 86400 - 06 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 07 · video.fps
Frame rate (fps)
Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
1 to 120 - 08 · video.mute
Mute
Drops the sound track and keeps only the picture.
The formats
MPEG Transport Stream
MPEG transport streams, the container of broadcast and HLS video.
- Extensions
- .ts .m2ts .mts
- MIME type
- video
/mp2t - Kind
- Video
MPEG Video
MPEG-1 and MPEG-2 video, the formats of VCDs and DVDs.
- Extensions
- .mpg .mpeg .vob
- MIME type
- video
/mpeg - Kind
- Video
In your code.The same TS to MPG conversion through the API, for your app or your agent.
Questions.What people ask about TS to MPG.
MPEG-2 video and MPEG audio at 48 kHz, in an MPEG program stream. It is made for DVD tools and old players.
Yes. Turn on Mute and the sound track is dropped, leaving only the picture.
Yes. Set Start at (s) to cut from the beginning and Stop at (s) to end at a second of the original. Stop at must be later than Start at.
The file could not be parsed. The conversion stops with input_corrupted when that happens.