transparent Background

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
the_gill_boy
Posts: 23
Joined: Wed Sep 18, 2019 8:38 am

transparent Background

Post by the_gill_boy »

Hey All,
Alright here is the set-up, I have AS Pro 11... I want to animate some shots that I would then like to composite together with other stuff...etc etc. Is there a way to export an animation in AS with a transparent BG so I can circumvent the whole blue screen, green screen, roto thing?

Any of your worldly advice on this topic would be greatly appreciated. I feel like this is a feature that should be pretty easy to find/straight forward but I have no clue. I thank you all in advance!

Trev
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: transparent Background

Post by hayasidist »

export as png sequence should work
the_gill_boy
Posts: 23
Joined: Wed Sep 18, 2019 8:38 am

Re: transparent Background

Post by the_gill_boy »

Hmmm, I'll give that a try. Unfortunate there seems to be no way to export a actual animation w/o a bg...
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: transparent Background

Post by slowtiger »

Exporting video with alpha is just a matter of chosing the right codec. Apple ProRes 4444 is one of them, PNG with MIllions+ Colours another.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
the_gill_boy
Posts: 23
Joined: Wed Sep 18, 2019 8:38 am

Re: transparent Background

Post by the_gill_boy »

sliwtiger,
I've never seen the million+ colours option. Is this a Mac exclusive thing? I am on PC...
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: transparent Background

Post by Greenlaw »

It's best to render out a png sequence and then composite or compile the frames in another program. For a variety of reasons (described at the end of this post,) this a common workflow for most animation software, especially when the intent is compositing.

But if you really need to render to a movie file, as Slow Tiger mentions, you need to use a format that supports at least 32-bits (24-bit for RGB and 8-bits for the alpha channel.) There are basically two ways to do this on Windows:

1. If you're using Moho 12.5 and earlier and you are running the x64 version, make sure you also have the x32 version of Moho installed because this one supports Quicktime. Naturally, you will also need to have Quicktime installed. Now, when you save as a .mov file, even in the x64 version of Moho, you will see the option for Quicktime and the option for Millions+ (the 'plus' is the alpha channel.) When you render from the x64 version, Moho invisibly uses the x32 version to render the .mov file.

Note that this isn't an option with Moho 13 because there is no x32 version available.

2. The other option is to use 'AVI For Windows' (not to be confused with 'AVI'.) After choosing this and clicking OK, another window will pop up that allows you to choose from available codecs. You'll need to choose one that supports an alpha channel. On my computer, I would probably choose something like MagicYUV-RGBA or MagicYUV-YUVA 4444, and it looks like this:

Image

On your computer this will probably look different because it depends on the codec you have installed. In my case, I'm using the commercial version of MagicYUV. If you see PNG listed, that will work too (this is technically the same as rendering a PNG image sequence but in an .avi container.) Basically, you will need to install the codec you wish to use to see it in this list. You'll have to research that bit; I don't normally render movie files out of Moho so I don't have current recommendations for codec packs.

IMO, it really is best and easiest to render a PNG image sequence and then compile the frames in another program. The main reason is because rendering an image sequence uses less computer resources (i.e., processing and RAM) so Moho can render faster and more efficiently. And if Moho happens to crash or renders some mistakes or bad frames, then you only need to re-render a portion of your animation to fix it, not the entire animation from frame 1 as would be the case with .mov or .avi. After the image sequence is done, you can compile it in any editing or compositing program. Many media players can do this too. This is a common workflow for many professional artists and studio productions.

Finally, I recommend using Moho Exporter vs. the basic Export Animation command. Moho Exporter has several options to make it easier to render a scene, and it has the ability to automatically break out a scene for compositing using your settings from the Layer Comps window. (For example, you might use this to render separate passes for character, foreground/midground/background, props, effects, and special matte passes for lighting and shadow effects...all from a single project file. The possibilities are endless!) The typical workflow is to render your frames from Moho, composite in a compositing program (like After Effects, Fusion, HitFilm or Nuke,) and then output a movie file to place in a video editing program. Some video editing programs will let you composite as well but it's easier to do this sort of thing in a dedicated compositing program.

Hope this helps.
Last edited by Greenlaw on Mon Aug 24, 2020 2:55 am, edited 7 times in total.
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: transparent Background

Post by Greenlaw »

Just an extra bit of info: if you use the MagicYUV codec, note that even though there are options for higher color depths, Moho can only output 8-bits per channel, so it's pointless to use these options with Moho. Hopefully, the developers will increase Moho's bit-depth capabilities in the future.
the_gill_boy
Posts: 23
Joined: Wed Sep 18, 2019 8:38 am

Re: transparent Background

Post by the_gill_boy »

Greenlaw,
Many thanks for the in-depth reply! I have never heard of Moho exporter, I will look into it! I appreciate your help! I will take your advice and export as an image sequence! Thank you again.

Cheers
Trev
User avatar
p8guitar
Posts: 103
Joined: Tue Oct 09, 2007 6:56 pm
Location: Dortmund, Germany

Re: transparent Background

Post by p8guitar »

I ran into the same problem as there is no 32 bit Moho 13 with legacy Quicktime. As MagicYUV doesn't work with Resolume or the windows movies and TV app on my computer (have to find out why...), I just export to full frames (uncompressed), which results in huge files, and convert with Resolume Alley to DXV or Motion JPG. This works quite well, only have to remember to delete the raw video files... :shock:
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: transparent Background

Post by slowtiger »

Video with alpha always results in large files, as the codecs have only a bit or no compression at all. That's normal, and the reason why you need to invest in some big harddrive.

Just a recent example: a 1,5 min film is 1.4 GB in Apple ProRes (that's nearly uncompressed, in good enough quality to import into programs), and only 130 MB in H.264 for online distribution. But my production files add up to 15 GB, which take space in backup as well. And this is in animation, where we don't have excess camera rolls which have to be cut down. So just be aware of file sizes and invest in TB drives.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
Post Reply