[Chimera-users] Creating movies with alpha channel / transparent background

Tom Goddard goddard at sonic.net
Mon Oct 28 13:05:20 PDT 2019


Hi Martin,

  You can have Chimera save a series of transparent background images using the movie command, for example,

	set bgtransp
	movie record dir ~/Desktop/test format png ; turn y 1 90 ; wait 90 ; movie stop

Then you would need to encode the PNG images in ~/Desktop/test into a movie using some encoding program.  I doubt the Chimera "movie encode" command supports any video format that can handle transparent background.  Chimera uses ffmpeg to encode movies and apparently ffmpeg can encode some video formats with transparency, for example, as described here the motion PNG format in .mov can handle transparency

	https://stackoverflow.com/questions/644684/turn-image-sequence-into-video-with-transparency <https://stackoverflow.com/questions/644684/turn-image-sequence-into-video-with-transparency>

  Tom




> On Oct 28, 2019, at 10:06 AM, Martin Textor wrote:
> 
> Hello,
> 
> I was wondering if it is possible to create movies with a transparent background? I know that it's possible to create images with a transparent background and that the video formats supported by Chimera to encode movies include avi and mov, both of which support an alpha channel as far as I know.
> 
> Kind regards,
> Martin Textor
> 
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20191028/6971aba3/attachment.html>


More information about the Chimera-users mailing list