Convert TS to PNG
Turn TS videos into PNG. The first frame, or the one frame_at seconds in, as one PNG at the video's own size.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TS files on the dialor turn it to pick what to do
One frame from a TS video as a PNG.You get the first frame, or the one at a time you choose, at the video's own size.
What you get
One PNG file with a single frame from the video. By default it is the first frame. Set Frame at (s) to take the frame from a later second instead, anywhere from 0 to 86400.
The picture has the same width and height as the video, unless you set a size.
What stays as it is
Interlaced broadcasts are not deinterlaced. If the frame has moving parts, they show comb lines.
Setting the size
Set Width (px) or Height (px) to give an exact size. If you set only one, the other follows the aspect ratio. If you set both, the picture can be stretched.
Set Max width (px) or Max height (px) to shrink a large frame while keeping its shape. A frame that is already smaller stays as it is, so nothing is enlarged.
Failures
The conversion stops with
input_corruptedwhen the file could not be parsed.
TS and PNG.What each format is, and the options this conversion takes.
- 01 · frame_at
Frame at (s)
The second of the video the picture is taken from. The first frame is used when it is left out.
0 to 86400 - 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000 - 03 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 05 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same TS to PNG conversion through the API, for your app or your agent.
Questions.What people ask about TS to PNG.
Yes. Set Frame at (s) to the second you want. If you leave it out, the first frame is used.
No. The result is one PNG with one frame.
Interlaced broadcasts are not deinterlaced. Moving parts in the frame show comb lines as a result.
No. Max width (px) only shrinks frames that are wider than the value. Narrower frames stay as they are.