Changes between Version 5 and Version 6 of Software/encoding


Ignore:
Timestamp:
03/22/18 13:33:45 (6 years ago)
Author:
Herwig Zilken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/encoding

    v5 v6  
    120120
    121121==== ffmpeg Examples
    122 (https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9)
     122(https://ffmpeg.org/ffmpeg.html)\\
     123(https://trac.ffmpeg.org/wiki/Slideshow)\\
     124(http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/)\\
     125(https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9)\\
     126
     127Here is how to generate a mp4 movie from a number of .png images. Each image is shown 2 seconds (-framerate 1/2). The resulting movie has 25 fps (-r 25) and 4K resolution (-s 3840x2160). The filenames of the images are read from the filesystem (-pattern_type glob  -i '*.png').
    123128{{{#!ShellExample
     129ffmpeg -framerate 1/2 -pattern_type glob  -i '*.png' -vcodec libx264 -crf 25 -s 3840x2160 -r 25 foo.mp4
     130}}}
     131
     132
     133Just some more examples:
     134{{{#!ShellExample
     135ffmpeg -r 2 -f image2 -s 1920x1080 -i B1-gBMO%03d.png -vcodec libx264 -crf 25  -pix_fmt yuv420p foo.mp4
     136ffmpeg -f image2 -framerate 12 -i foo-%03d.jpeg -s 1920x1080 foo.avi
    124137ffmpeg -i input -c:libx264 -profile:baseline -preset:ultrafast -level 1.2
    125138}}}