Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

AfterEffects: publish multiple compositions #4092

Merged

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Nov 11, 2022

Brief description

This allows publishing of multiple compositions in one publish process.

Description

Previously there was limitation on single composition, most probably because of Deadline, but that seems to be resolved.

Now multiple composition could be published.

There are still some assertions:

  • only single item in Render Queue per composition
  • only single Output Module in Render Queue per composition (eg. file format)

Release Info:

Added new flag to AE Creator:
Screenshot 2022-11-15 163544
Updated default subset template in project_settings/global/tools/creator/subset_name_profiles. If you have there any overrides, you must add this for AE:
Screenshot 2022-11-15 165417

Additional info

Warning
Requires extension redeployment !!

~~
There is still outstanding question about naming convention for created subsets. As previously there was only single composition, using composition name in subset name didn't make any sense. Now multiple subsets need to be differentiated.
Currently only option is to manually modify Variant (eg. instead of Main but there Composition1Main for example).

This limits a position of composition name in subset name. I could implement adding composition name to the subset similarly as in PS, where {layer} placeholder is possible (when multiple subsets are created).

I have two issues there:

  • not particularly fond of having different value of placeholder in every DCC (layer vs composition vs renderLayer vs...). But that is probably bigger discussion for different day
  • {composition} should be probably used only when there are multiple subsets created. (In other case there will be difference between 'old' (without) and 'new' (with) subsets. Solution could be have explicit toggle Use composition name in subset toggle (default to False) on Creator.
    ~~

Note: This is built on top of release/3.15.x branch, eg. Python 3.9 and Publisher only.

Testing notes:

  1. create multiple subsets, remember to modify Variant to differentiate them
  2. publish locally
  3. publish on Deadline
  4. publish some legacy file

There cannot be multiple Render items for same composition in Render Queue.
There cannot be multiple output modules for same Render item.
Do not do get render queue again, should be already collected.
Weird synchronization issue was happening in getRenderInfo when re-publishing published workfile. This implementation is ugly, but seems to work.
@kalisp kalisp added type: enhancement Enhancements to existing functionality sponsored Client endorsed or requested labels Nov 11, 2022
@kalisp kalisp self-assigned this Nov 11, 2022
@ynbot
Copy link
Contributor

ynbot commented Nov 11, 2022

Task linked: OP-4361 After Effects multiple compositions

@kalisp
Copy link
Member Author

kalisp commented Nov 14, 2022

After discussion it will be required to have multiple output modules per composition.
Flag in creator is confirmed.

There is new flag to allow use composition name
Updated subset template. Removed obsolete 'renderLocal', now it is only 'render' with a flag.
Previously it was renaming composition with subset name, this was missing in new creator.
Renamed items to more descriptive 'comps'.
@kalisp kalisp requested a review from 64qam November 15, 2022 15:51
@kalisp
Copy link
Member Author

kalisp commented Nov 15, 2022

Updated, there could be multiple output modules per composition (eg. output formats). Each of them is added as a representation.

Copy link
Member

@iLLiCiTiT iLLiCiTiT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One note regarding subset name creation, otherwise looks good.

@kalisp kalisp merged commit 1e0ae0c into release/3.15.x Nov 16, 2022
@kalisp kalisp deleted the feature/OP-4361_After-Effects-multiple-compositions branch November 16, 2022 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: After Effects sponsored Client endorsed or requested type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants