<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Martin,<div class=""><br class=""></div><div class=""> It is possible that some Chimera movie encode command format option will put the transparency channel into the movie -- it all depends on what ffmpeg does and what those formats support. I don't know what ffmpeg supports nor what formats support transparency -- you could try to look that up online, or you could simply try each of the Chimera formats and see if it produces a movie with transparency. Chimera simply hands the sequence of PNG images to ffmpeg (which is bundled with Chimera, ffmpeg version 2.1). From what I saw in ffmpeg docs there is not a special include transparency option -- it is simply a matter of having a transparency channel in the images and having ffmpeg support for the specific output format.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/movie.html#encode-options" class="">https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/movie.html#encode-options</a></div><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 28, 2019, at 2:04 PM, Martin Textor <<a href="mailto:martin_textor@gmx.de" class="">martin_textor@gmx.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Tom,</div><div class=""><br class=""></div><div class="">thank you. I'm aware that Chimera can output a series of images with a transparent background, I have done this already (using png). As this is possible, and the "movie encode" command supports, besides other formats, .avi and .mov, both of which definitely support an alpha channel, I had hoped there might be some option for "movie encode" that's just not described in the documentation which allows obtaining a video with transparent background and spares me from having to use a third-party tool. <br class=""></div><div class=""><br class=""></div><div class="">With regards to Elaine's reply, I want to use the video overlaid to another one, so a static background image is not an option in this specific case, but thanks for the suggestion.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Martin<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 28. Okt. 2019 um 20:05 Uhr schrieb Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Martin,<div class=""><br class=""></div><div class=""> You can have Chimera save a series of transparent background images using the movie command, for example,</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span>set bgtransp</div><div class=""><span style="white-space:pre-wrap" class=""> </span>movie record dir ~/Desktop/test format png ; turn y 1 90 ; wait 90 ; movie stop</div><div class=""><br class=""></div><div class="">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</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span><a href="https://stackoverflow.com/questions/644684/turn-image-sequence-into-video-with-transparency" target="_blank" class="">https://stackoverflow.com/questions/644684/turn-image-sequence-into-video-with-transparency</a></div><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 28, 2019, at 10:06 AM, Martin Textor wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">Martin Textor<br clear="all" class=""><div class=""><br class=""></div></div></div>
_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><br class="">-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><span class=""><font color="#888888" class="">
Martin Textor<br class=""></font></span></div><div class=""><span class=""><font color="#888888" class="">20 Elmer Mews,<br class=""></font></span></div><div class=""><span class=""><font color="#888888" class="">Leatherhead, Surrey,<br class=""></font></span></div><div class=""><span class=""><font color="#888888" class="">KT22 9DN, UK<br class=""></font></span></div><div class=""><br class=""><span class=""><font color="#888888" class="">
Fon: <a value="+496312054481" class="">+49(0)178 3993650</a><br class="">
Mail: <a href="mailto:martin_textor@gmx.de" target="_blank" class="">martin_textor@gmx.de</a><br class="">
</font></span></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>