ExtractOIIOTranscode: Log warning instead of raise error if media can't be transcoded due to unknown RGBA channels #988
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Description
Allow ExtractOIIOTranscode to pass with a warning if it can't find the RGBA channels in source media instead of raising error
Additional info
Over time we've had annoying reports where studios were unable to publish their renders because the publishing system (due to user configuration) tries to transcode e.g. a Z-depth AOV layer which may only have a named
Z
orY
channel and has noR
,G
,B
orA
channels and hence we don't really know what layer to process.Instead of this we could also implement detecting more cases, so that if
RGBA
is not found in the file that maybe we allow to fall back to channels:Here's metadata output for a file that fails without this PR:
It's an Arnold Z-depth render AOV.
Testing notes: