Free

Python for Blender’s Compositor: How to import a sequence of images

In this video, we will create a script that imports frames into the Compositor as a sequence of images.

Start Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/compositor_import_image_sequence/compositor_import_image_sequence_start.py

Compositor Nodes doc:
https://docs.blender.org/api/current/bpy.types.CompositorNode.html#bpy.types.CompositorNode

Compositor Image Node doc:
https://docs.blender.org/api/current/bpy.types.CompositorNodeImage.html#bpy.types.CompositorNodeImage

Complete Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/compositor_import_image_sequence/compositor_import_image_sequence_done.py

Python for Blender: How to import images into Blender’s video sequence editor

Blender: How to set up Python console output on macOS

Blender: How to set up Python console output on Linux

00:00 – Intro
01:35 – Set up the workspace
02:31 – Get the code
03:09 – Get a list of all the frames
08:37 – Set up the Compositing node tree
10:43 – Add nodes into the Compositing node tree
15:48 – Import sequence of images
23:26 – Set end frame, resolution, and the FPS
26:15 – Outro

Python for Blender’s Compositor: How to import a sequence of images


View on YouTube
  • Price type: Free