Customize animated titles in OpenShot

2 minute read

Educational videos are a great teaching tool, so I have been learning how to create them by using FOSS. Unfortunately, I have not found a free software that has everything you need to create a quality educational video. Probably, even commercial programs have their own limitations and several programs are always needed.

Nice features in OpenShot

In this post I want to comment why I think that OpenShot is a very interesting software that you should try for preparing your educational videos.

After some tests in Ubuntu 15.10 and the recommended software versions. I must admit that OpenShot seems to lack stability and crashes too often when performing quite simple tasks. For plain video editing I prefer the Kdenlive stability. However, I think that OpenShot is much more intuitive and has some interesting features related to effects and animations.

OpenShot is a free, simple-to-use, feature-rich video editor for Linux, Windows and Mac. Of course, it has many good things, but I’m very impressed with the amazing Animated Title Editor. You can read this post about it.

This feature is presented as easy-to-use templates that execute python scripts in Blender, so there is no need to learn Blender to include some nice animations in your educational videos.

A problem with customization

In the above mentioned post, it seems that in these animated titles have full alpha (i.e. transparency), and can be composited on top of any other video, such as the screenshot above of the chimpanzee. However, it appears to be a problem with this, and I was not able to do so.

I have found info on this bug here and here. There is a workaround for achieving transparent background on your animated titles. It implies that you have to edit those python scripts that execute Blender.

As explained in those links, you have to edit the phython-script files in /usr/share/pyshared/openshot/blender/scripts/

In each script search for

'color' : [0.8,0.8,0.8],
'alpha' : 1.0,

and add this line

'alpha_mode' : 'TRANSPARENT',

Then search for

except:
    bpy.context.scene.render.image_settings.file_format = params["file_format"]
    bpy.context.scene.render.image_settings.color_mode = params["color_mode"]

and add these lines

try:
    bpy.context.scene.render.alpha_mode = params["alpha_mode"]
except:
    pass

Already edited scripts

In the above mentioned link, mEon shared all the modified scripts in a dropbox public link. That link is still active, but I want to collaborate to the diffusion of these scripts by sharing an additional link:

Opportunities

All those animated titles are very nice, but I wonder how can I create more customized animations with a little python scripting. Take a look at the Blender Wiki example on using python scripts.

I’m sure that I can found many other scripts somewhere in the Internet. I will keep you informed ;)