window.ENTITIES={'/api/snippets/bash/ffmpeg%20-%20convert%20images%20to%20video%20(av1)':[{"result":true,"message":null,"batch":{"type":"bash","name":"ffmpeg - convert images to video (av1)","items":[{"id":"jm5w0j","type":"bash","name":"FFmpeg - convert images to video (av1)","content":"cat *.jpg | ffmpeg -framerate 1 -f image2pipe -i - -c:v libsvtav1 -r 30 -pix_fmt yuv420p output_video.mp4\n\n\n# Where:\n#\n# in cat:\n# *.jpg means input file names (only jpg files are read)\n# in ffmpeg:\n# -framerate 1 means used 1 picture per 1 second\n# -f image2pipe means input images to pipe conversion (pipe is created from images sequence)\n# -i - means STDIN using as process input (images are provided by cat command)\n# -c:v libsvtav1 means used encoder name\n# -r 30 means video frames per second (so in our case one image will be repeated 30 times per second)\n# -pix_fmt yuv420p means images encoding using YUV 4:2:0 in video frames (https://en.wikipedia.org/wiki/Chroma_subsampling)\n# output_video.mp4 means output file name\n\n\n# Hint: check this snippets to find different encoders that may be faster in your case:\n# 1. https://dirask.com/snippets/pJZLop\n# 2. https://dirask.com/snippets/jvyMap","source":"","author":{"id":"4a62ka","name":"Theodora-Battle","avatar":"1629142389626__4a62ka__w40px_h40px.jpg","points":528,"role":"BASIC"},"creationTime":1718917178000,"updateTime":1718917246000,"removalTime":null}]}}]};