VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. way to Rigel 7 cornemuse's Avatar
    Join Date
    Mar 2014
    Location
    Cyber Dystopia
    Search Comp PM
    I have googled (actually DuckDuck, quacked?) to convert animated gif to mpg mpgII mpeg, I get lots of mpg (+) to gif. Even with (boolien?) switches, just mpg to jif. Is there a simple way? None of them are very large.

    -corne-
    Cranky Old Man
    Quote Quote  
  2. you can use ffmpeg

    any reason for mpeg2 ?

    did you want it the same dimensions, framerate ?

    any restrictions for specific scenarios ? eg. DVD ?


    Code:
    ffmpeg -i input.gif -c:v mpeg2video -q:v 2 -an output.mpg
    Quote Quote  
  3. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    This kind of conversion is not much recommendable, anyway.

    The GIF format only supports a limited number of discrete colors, whereas most efficient video codecs prefer natural photo content. Sharp edges or dither patters will reduce the achievable quality quite obviously.

    It would probably be much more convenient to convert the original material which was reduced to the animated GIF, instead of the GIF, if you still have it or can discover its origin.
    Quote Quote  
  4. way to Rigel 7 cornemuse's Avatar
    Join Date
    Mar 2014
    Location
    Cyber Dystopia
    Search Comp PM
    Media player supports

    Video File Support: MKV, MP4, AVI, MOV, ISO, and VOB files encoded with H.264/AVC, VC1, and MPEG1/2/4, up to 19201080, 30fps, 40mbps. DOES NOT SUPPORT HEVC/H.265, 10-bit MKV, and 4K videos
    I picked mpeg2. Any of above, except MKV. (I have had nothing but grief with MKV)

    I can zoom in with player.

    Humorous gif's. I can view them on computer, however, on TV, player cant play animated gifs.

    Whichever one with least amount of degradation.

    I have no idea where the original vids came from I d/l'ed them as gifs.
    Cranky Old Man
    Quote Quote  
  5. I would pick h.264/avc from that list, mp4 container. That is very common and supported by many devices

    ffmpeg -i input.gif -c:v libx264 -crf 18 -an output.mp4
    Quote Quote  
  6. way to Rigel 7 cornemuse's Avatar
    Join Date
    Mar 2014
    Location
    Cyber Dystopia
    Search Comp PM
    All right I'll try ffmpeg.
    Cranky Old Man
    Quote Quote  



Similar Threads