Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Render out PNG sequence with bounding box

  • Render out PNG sequence with bounding box

    Posted by Chad Ridgeway on September 6, 2012 at 6:00 pm

    I want to render out a PNG sequence with bounding box (based on alpha channel) to cut down on file size. (it’s a 720p sequence with a pretty small character moving around)

    How can I do this in After Effects without having to run it through Nuke’s bounding box tool?

    Kevin Camp replied 13 years, 10 months ago 3 Members · 9 Replies
  • 9 Replies
  • Chad Ridgeway

    September 6, 2012 at 6:37 pm

    Ok but my character is moving all over the screen, so I need an animated bounding box, and I’m thinking basing it off the alpha channel would be the easiest thing for AE to calculate.

  • Walter Soyka

    September 6, 2012 at 7:10 pm

    [Chad Ridgeway] “I want to render out a PNG sequence with bounding box (based on alpha channel) to cut down on file size. (it’s a 720p sequence with a pretty small character moving around)…”

    [Chad Ridgeway] “Ok but my character is moving all over the screen, so I need an animated bounding box, and I’m thinking basing it off the alpha channel would be the easiest thing for AE to calculate.”

    The transparent areas of the raster should compress very efficiently. I don’t think you’d actually save much space at all.

    If you did a bounding box crop on each frame, how would use this animation elsewhere? All the positioning within the raster will be gone, and you won’t have a consistent anchor point.

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Chad Ridgeway

    September 6, 2012 at 7:24 pm

    Ok guys, the bounding box actually does cut down on the file size pretty dramatically, and is extremely useful and common place in visual effects when you’re dealing with multiple elements and want to cut down on file size and processing power.

    If you still don’t get what I’m talking about, the first few minutes of the Nuke bounding box tutorial (https://www.youtube.com/watch?v=U3emOAmlhhU) should make it’s purpose completely clear.

    I just ran my animation through Nuke (autocropped with the bounding box) and re-imported it and AE did not like it, so maybe AE just isn’t made for it.

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Walter Soyka

    September 6, 2012 at 7:53 pm

    [Chad Ridgeway] “Ok guys, the bounding box actually does cut down on the file size pretty dramatically, and is extremely useful and common place in visual effects when you’re dealing with multiple elements and want to cut down on file size and processing power.”

    I know what you mean — but when in Nuke, think like Nuke. When in AE, think like AE. A good Nuke workflow is not necessarily a good AE workflow, and vice versa.

    Bounding boxes are a perfect example. AE has no bbox tools; there’s no way for the user to dynamically change the area considered for processing for a layer in AE.

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Chad Ridgeway

    September 6, 2012 at 7:55 pm

    Yeah got it, so AE can’t do it.

    I will say it’s not just a matter of workflow, my files after being re-rendered through Nuke with the bounding box are about half the file size.

  • Walter Soyka

    September 6, 2012 at 8:17 pm

    [Chad Ridgeway] “I will say it’s not just a matter of workflow, my files after being re-rendered through Nuke with the bounding box are about half the file size.”

    Personally, I care about the RAM and CPU implications a lot more than the disk space.

    If you really need to crunch the files, you can enable LZW compression in the output module’s PNG format options. Note that this will trade disk space for decode complexity.

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Chad Ridgeway

    September 6, 2012 at 8:48 pm

    Yes absolutely for this project file size is at a premium. LZW compression isn’t an available option for PNGs (it is for TIFs). What is your recommendation for the absolute smallest file size? (I’ve ran multiple tests but so far nothing is beating a PNG with a bounding box)

  • Walter Soyka

    September 6, 2012 at 8:55 pm

    [Chad Ridgeway] “Yes absolutely for this project file size is at a premium. LZW compression isn’t an available option for PNGs (it is for TIFs). What is your recommendation for the absolute smallest file size? (I’ve ran multiple tests but so far nothing is beating a PNG with a bounding box)”

    My bad — I was thinking TIFF. PNG is already compressed (with deflate).

    PNG may be tough to beat. If you can deliver 8b, and if your image has large areas of flat color, TGA with RLE compression enabled may be smaller.

    Walter Soyka
    Principal & Designer at Keen Live
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    RenderBreak Blog – What I’m thinking when my workstation’s thinking
    Creative Cow Forum Host: Live & Stage Events

  • Kevin Camp

    September 10, 2012 at 7:54 pm

    depending on the animation, rendering lossless with compression keyframes enabled may create smaller files than png… in the format settings, enable the ‘keyframe every xx frames’.

    the effectiveness of compression keyframes can vary greatly based on the animation, but you could give it a try.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy