ffmpeg:create_a_video_from_images
This is an old revision of the document!
Table of Contents
ffmpeg - Create a video from images
ffmpeg -r 1/5 -start_number 2 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
NOTE: This creates a video file from multiple images, such as:
img001.jpg img002.jpg img003.jpg
Add all images with jpg extension to the output video
ffmpeg -framerate 1 -pattern_type glob -i '*.jpg' video.mp4
Create video from frames
ffmpeg -y -framerate $(frames) -pattern_type glob -i '$(path)/*.jpg' out.mp4
ffmpeg/create_a_video_from_images.1735857920.txt.gz ยท Last modified: 2025/01/02 22:45 by peter