Convert TS to Y4M
Turn TS videos into YUV4MPEG. Uncompressed YUV 4:2:0 frames in a YUV4MPEG2 file, without sound; the file is very large.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TS files on the dialor turn it to pick what to do
Raw video frames from a transport stream.The video becomes uncompressed YUV 4:2:0 frames in a Y4M file, without sound.
What you get
One Y4M file in the YUV4MPEG2 format. It holds uncompressed YUV 4:2:0 frames with a small header, the form used for codec testing.
The audio is not carried over, so the file has video only. The file is very large, because the frames are not compressed.
Shaping the video
Set Start at and Stop at to cut a part of the video. Stop at counts from the start of the original, not from where trimming starts, so it must be later than Start at.
Set Max width or Max height to shrink video that is larger than the limit. The shape is kept, and smaller video is never enlarged. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.
Set Frame rate to choose how many frames each second holds. Fewer frames make a smaller file and choppier motion. Set Speed to play faster or slower, from 0.25 to 4.
When it stops
The conversion stops with
input_corruptedwhen the file could not be parsed.
TS and Y4M.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
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
YUV4MPEG
Raw uncompressed video frames with a small header, the exchange format of codec testing.
- Extensions
- .y4m
- MIME type
- video
/x -yuv4mpeg - Kind
- Video
In your code.The same TS to Y4M conversion through the API, for your app or your agent.
Questions.What people ask about TS to Y4M.
Y4M holds uncompressed frames, so the file is very large. Setting a lower Frame rate makes it smaller.
No. The output has video only, without sound.
Files with the extensions ts, m2ts and mts. They are MPEG transport streams, the container of broadcast and HLS video.
Yes. Y4M to TS converts in that direction.