Changes between Version 7 and Version 8 of Software/encoding
- Timestamp:
- 03/22/18 13:44:13 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/encoding
v7 v8 121 121 ==== ffmpeg Examples 122 122 (https://ffmpeg.org/ffmpeg.html)\\ 123 ( https://trac.ffmpeg.org/wiki/Slideshow)\\123 (Some very good hints: https://trac.ffmpeg.org/wiki/Slideshow)\\ 124 124 (http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/)\\ 125 125 (https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9)\\ 126 126 127 Here 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 quality is set to 25 (-crf 25). Lower means better quality, 15-25 is usually good. The filenames of the images are read from the filesystem (-pattern_type glob -i '*.png').127 Here 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 quality is set to 25 (-crf 25). Lower means better quality, 15-25 is usually good. The filenames of the images are read from the filesystem in alphanumerical order (-pattern_type glob -i '*.png'). Note that glob is not available on Windows systems. If your filenames contain a consecutive numbering, you can use a pattern like "-start_number 1 -i filename_%03d.png" instead. 128 128 {{{#!ShellExample 129 129 ffmpeg -framerate 1/2 -pattern_type glob -i '*.png' -vcodec libx264 -crf 25 -s 3840x2160 -r 25 foo.mp4