In this video, we will create a script that imports mp4 videos into Blender’s video sequence editor, trim them into 4 seconds clips, and stitch them together with a fade-in transition.
Start Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/sequence_editor_stitched_together_clips/sequence_editor_stitched_together_clips_start.py
Complete Code:
https://github.com/CGArtPython/blender_plus_python/blob/main/sequence_editor_stitched_together_clips/sequence_editor_stitched_together_clips_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:51 – Set up the workspace
02:47 – Get the code
03:09 – Go over the helper code
08:10 – Import the videos
17:53 – Trim the videos
23:38 – Move the clips into place
28:56 – Add the fade-in transition between clips
31:41 – Controlling the start of the clips
37:57 – Organize the code with functions
42:03 – Outro
Intro Music
Fiery Trails – Silent Partner
Outro Music
Geographer – Easy Shake
#blender #python #scripting
Python for Blender’s Video Sequence Editor: How to stitch together videos
- Price type: Free