godot-video-rendering-demo icon indicating copy to clipboard operation
godot-video-rendering-demo copied to clipboard

Demo project for high-quality offline video rendering with Godot

Godot video rendering demo

A project that shows how to render high-quality "offline" videos with Godot.

Example output

Preview

Click for higher quality.

Installation

This demo currently requires Godot 3.1 beta 8 or later.

Usage

Make sure to run the project from the command line using the --fixed-fps 60 command line argument. Otherwise, frame timings won't be correct.

When run outside of the editor, frames will be rendered and saved to PNG images in the render/ directory located in the project data directory. These can be combined into a video using FFmpeg by running the following command while in the render/ directory:

ffmpeg -r 60 -f image2 -s 2560x1440 -i %d.png -vcodec libx264 -crf 15 video.mp4

License

Copyright © 2019 Hugo Locurcio and contributors

  • Unless otherwise specified, files in this repository are licensed under the MIT license; see LICENSE.md for more information.
  • The Suzanne model was taken from the glTF samples repository.