Create video with ffmpeg in Houdini



Create video with ffmpeg

macOS:

ffmpeg -framerate 30 -pattern_type glob -i '*.tif' -start_number 1 -vframes 190 -c:v libx264 -r 30 -pix_fmt yuv420p _out.mp4 ffmpeg -framerate 25 -pattern_type glob -i '*.tif' -c:v libx264 -r 25 -pix_fmt yuv420p -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" _out.mp4 parameters: -start_number 1 -vframes 190 (define frame range 1-190) -pix_fmt yuv420p (better quality/more colour than RGB) -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" (divisible error)

windows 10:

open powershell then type: ffmpeg -framerate 25 -start_number 3001 -i %04d.tif -c:v libx264 -r 25 -pix_fmt yuv420p _out.mp4 (assuming animation starts with 3001.tif, 3002.tif etc, glob not supported)

src

https://www.youtube.com/watch?v=MFg3lB7PCRM https://www.youtube.com/watch?v=v9YyNeF2RxM https://www.youtube.com/watch?v=_KHwKVB0vOc



Published: August, 2020