Convert animated gif file to videos on bamboo

  • Command lines converting animated gif to different video formats

Example: : gif —Eddie's 2.5D emission Jets
New formats: avi, mp4, mov, mpeg/mpg

  • Convert gif to jpg files first
    convert old.gif old%05d.jpg
    
  • Convert jpg files to avi
    avconv -i old-%d.jpg new.avi
    
  • Convert avi to mp4, mov
    avconv -i new.avi new.mp4 
    avconv -i new.avi new.mov
    
    
  • Convert mp4 to mpeg/mpg
    1. Converting avi to mpg directly will cause problem: new2.mpg
      avconv -i new.avi new.mpg
      
    2. Converting from mp4 works OK new.mpg
      avconv -i new.mp4 -c:v mpeg2video -q:v 2 -c:a libmp3lame new.mpg
      

Attachments (3)

Comments

No comments.