Convert GIF to MPG
Turn GIF images into MPG. MPEG-2 video in an MPEG program stream, for DVD tools and old players, 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
An animated GIF as MPEG-2 video.The result is one MPG file for DVD tools and old players.
What you get
One MPG file holding MPEG-2 video in an MPEG program stream. This is the kind of file DVD tools and old players expect.
The video runs at 50 frames per second unless you set Frame rate (fps) to something else. Every frame keeps its own timing, and the hold on the last frame is included.
What changes
Transparency is not kept. The video also does not loop by itself, so it plays through once and stops.
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.
When it stops
A file that cannot be parsed stops the conversion with
input_corrupted.
GIF and MPG.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 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 GIF to MPG conversion through the API, for your app or your agent.
$ cv convert photo.gif photo.mpg$ cv convert photo.gif photo.mpgQuestions.What people ask about GIF to MPG.
50 frames per second, unless you set Frame rate (fps). It accepts values from 1 to 120.
No. The video does not loop by itself. It plays once.
No. Transparency is not kept in the MPG.
Yes. MPG to GIF does the reverse conversion.