Convert TS to GIF
Turn TS videos into GIF. A looping GIF at 10 frames per second with square pixels and the interlaced fields merged, at most 480 pixels wide unless asked otherwise, and one 256-color palette for the whole clip.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TS files on the dialor turn it to pick what to do
A looping GIF from a transport stream.The clip plays on a loop at 10 frames per second, with no sound.
What you get
One GIF that loops. It runs at 10 frames per second and is at most 480 pixels wide unless you ask for another size. Pixels are square, and the interlaced fields are merged into whole frames.
The whole clip shares one 256-color palette. GIF allows 256 colors per frame, and this conversion uses a single palette for the entire clip.
What it leaves behind
The sound is dropped, because a GIF holds only pictures.
Frames come at the set rate, so the GIF has as many frames per second as Frame rate (fps) says. Fewer frames per second means choppier motion.
Size, speed and length
Set Max width (px) or Max height (px) to change the size. Each one shrinks anything larger and keeps the shape. A clip that is already smaller stays as it is, so nothing is enlarged.
Set Frame rate (fps) to change how smooth the motion is. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
To use only part of the video, set Start at (s) to cut seconds from the beginning, and Stop at (s) to end at a second of the original. Stop at (s) counts from the start of the original, so it must be later than Start at (s).
When it stops
A file that cannot be parsed stops the conversion with
input_corrupted.
TS and GIF.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.
1 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.
1 to 20000 default 480 - 03 · 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 - 04 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 05 · 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 50 default 10
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
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - Kind
- Images
In your code.The same TS to GIF conversion through the API, for your app or your agent.
Questions.What people ask about TS to GIF.
No. The sound is dropped, because the GIF holds only the picture.
At most 480 pixels wide unless you ask otherwise. Set Max width (px) to use another limit. A video narrower than the limit is not enlarged.
Yes. Set Start at (s) and Stop at (s). Stop at (s) counts from the start of the original.
The file could not be parsed. The conversion stops with input_corrupted when that happens.