Skip to content

Instantly share code, notes, and snippets.

@Patrikgrinsvall
Last active July 25, 2021 18:33
Show Gist options
  • Save Patrikgrinsvall/3f9c35dbe56ddd6e476fef98a62e0092 to your computer and use it in GitHub Desktop.
Save Patrikgrinsvall/3f9c35dbe56ddd6e476fef98a62e0092 to your computer and use it in GitHub Desktop.
Blender And Video handy commands

FFMPEG

Image strip to video

Using cuda

When using h264_nvenc dont render in RGB or RGB24 color format since it only supports YUV444. png is rgb so dont follow example, use tiff

  • lossless ffmpeg.exe -framerate 25 -hwaccel cuda -hwaccel_output_format cuda -i 1%04d.png -c:v h264_nvenc -preset 10 grasscar.mp4
  • Lossy, since png with color conversion artifacts (but not bad) ffmpeg.exe -framerate 25 -hwaccel cuda -hwaccel_output_format cuda -i 1%04d.png -c:v h264_nvenc -preset 9 grasscar.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment