FFMPEG tricks and tips

  • Convert a movie to a series of images; also, rotate images 90degres.
    • ffmpeg -i ../IMG_6788.MOV -vf “transpose=1″ -r 15 -f image2 %05d.png
    • transpose options:
      0=90CounterCLockwise and Vertical Flip (default) 1=90Clockwise 2=90CounterClockwise 3=90Clockwise and Vertical Flip
  • Convert a series of images into a movie
    • ffmpeg -i ffmpeg_temp/%05d.png  output.mpg
  • Set the bit rate higher to get a higher quality output
    • ~/ffmpeg -i ani%4d.jpg -b 5000k out.mp4

Leave a Reply

Your email address will not be published. Required fields are marked *

*


four + = 7

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>