Convert GIF to TS
Turn GIF images into TS. H.264 video in an MPEG transport stream, at 50 frames per second unless video.fps says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GIF files on the dialor turn it to pick what to do
A GIF turned into transport stream video.H.264 video at 50 frames per second, with each frame's timing kept.
What you get
One TS file with H.264 video in an MPEG transport stream. Every frame keeps its own timing, and the hold on the last frame is included.
The frame rate is 50 frames per second unless you change it with Frame rate (fps).
What changes
Transparency is not kept. The video does not loop by itself, so it does not repeat the way you may expect from an animation.
Options
Set Frame rate (fps) to a value from 1 to 120. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
Set Speed to play the video faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast. Voices keep their pitch.
When it fails
The conversion stops with
input_corruptedwhen the file could not be parsed.
GIF and TS.What each format is, and the options this conversion takes.
- 01 · 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 - 02 · 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 default 50
The formats
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - Kind
- Images
MPEG Transport Stream
MPEG transport streams, the container of broadcast and HLS video.
- Extensions
- .ts .m2ts .mts
- MIME type
- video
/mp2t - Kind
- Video
In your code.The same GIF to TS conversion through the API, for your app or your agent.
$ cv convert photo.gif photo.ts$ cv convert photo.gif photo.tsQuestions.What people ask about GIF to TS.
No. The video does not loop by itself.
50 frames per second, unless you set Frame rate (fps) to another value from 1 to 120.
No. Transparency is not kept in the TS file.
Yes. Set Speed from 0.25 to 4. A value of 2 plays twice as fast and 0.5 plays half as fast.