No transparency on animated titles

Bug #1365851 reported by Moonbase on 2014-09-05
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
High
Unassigned

Bug Description

This seems to be around for a while but I couldn't find a way to fix it: When creating animated titles, they always have a gray background, whatever "alpha" settings I use. Instead of being transparent, the title totally obstructs the underlying video track. I *have* read that there was (?) a bug concerning using SKY vs. TRANSPARENT settings for Blender somwehen, but it appears not to have been fixed.

I observe this on two machines:
1. Ubuntu Studio 14.04 (64-bit), OpenShot 1.4.3 (versions *should* be same as below but cannot check right now)
2. Linux Mint 17 (Cinnamon, 64-bit), OpenShot 1.4.3-1.1 and Blender 2.69-4ubuntu2, MLT & melt 0.9.0-3, libavcodec54 6:9.16-0ubuntu0.14 (versions as Synaptic shows them)

Both are the versions installed by the distro's software centers, respectively. I didn't risk messing up things by trying to add ppas or compiling myself, being a Linux newbie, more or less.

Ionică Bizău (bizauionica) wrote :

Any progress on this? Or any workaround?

The snowflakes generated video has gray background, not transparent... :-/

Olivier Girard (eolinwen) wrote :

We need to see if we can do something, if Blender does'nt work now but like they have changed their api.........

Changed in openshot:
status: New → Confirmed
importance: Undecided → High
milestone: none → 1.5.0

Hello,

there is a workaround, you can read on http://www.mp-development.de/blog/18-openshot-blender-titelanimation-transparenz-fehler (german language)

you have to edit the phython-script files which controls the blender rendering in /usr/share/pyshared/openshot/blender/scripts/

1) search for:
            'color' : [0.8,0.8,0.8],
            'alpha' : 1.0,

and add the line:
            'alpha_mode' : 'TRANSPARENT',

2) 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 the lines:
try:
    bpy.context.scene.render.alpha_mode = params["alpha_mode"]
except:
    pass

Please fix the scripts. without the transparency working directly, this function is completely useless!

mEon (me.on.line) wrote :

you can download the modified .py-Files here:

https://dl.dropboxusercontent.com/u/1383938/usr-share-pyshared-openshot-blender-scripts.tar.gz

The compressed archive also contains a folder with the "originals", so no backup is needed.

lamberto (diaz-lamberto) wrote :

Thank you very much!
I had the same problem and, it was solved.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers