Skip to content

Conversation

@jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Dec 18, 2025

Changelog Description

This enhancement adds representation filtering capability to ExtractOIIOTranscode, enabling selective processing of representations based on name patterns. The feature addresses the need for more granular control over which representations undergo color transcoding operations.

The implementation introduces a new representations field in profile settings, allowing users to specify regex patterns that determine which representations should be processed. When patterns are defined, only matching representations are transcoded; an empty list processes all representations, maintaining backward compatibility with existing workflows.

Additionally, the system now automatically adds the "review" family to instances when review outputs are generated, ensuring proper downstream processing of transcoded review files. This resolves workflow gaps where review files were created but not properly tagged for review systems.

Additional info

Key technical changes:

  • Added representations list field to ExtractOIIOTranscodeProfileModel in server settings
  • Modified _repre_is_valid() method to accept profile parameter and evaluate representation name patterns using regex matching
  • Implemented auto-tagging of "review" family when review representations are added

Pattern matching behavior:

# Example profile configuration
representations: ["beauty", "diffuse.*", ".*_comp"]
# Matches: "beauty", "diffuse", "diffuse_raw", "main_comp"
# Skips: "shadow", "reflection"

Testing notes:

  1. Configure an OIIO transcode profile with specific representation patterns (e.g., ["beauty", "render.*"])
  2. Publish an instance with multiple representations including matching and non-matching names
  3. Verify only representations matching the patterns are transcoded
  4. Test with empty representations list to confirm all representations are processed (backward compatibility)
  5. Confirm review family is automatically added when review outputs are generated

Ensures that instances with added review representations are properly
tagged with the "review" family for downstream processing.
Adds support for filtering which representations to transcode based on
regex patterns. The profile now accepts a list of representation name
patterns, and only matching representations will be processed. If no
patterns are specified, all representations are processed.
@ynbot ynbot added size/XS type: enhancement Improvement of existing functionality or minor addition labels Dec 18, 2025
@jakubjezek001 jakubjezek001 self-assigned this Dec 18, 2025
@jakubjezek001 jakubjezek001 added the sponsored This is directly sponsored by a client or community member label Dec 18, 2025
@jakubjezek001 jakubjezek001 changed the title ExtractOIIOTranscode profiles with representation filtering ExtractOIIOTranscode: Add representation filtering to profiles Dec 18, 2025
@jakubjezek001 jakubjezek001 requested a review from BigRoy December 18, 2025 09:12
@ynbot ynbot moved this to Review In Progress in PR reviewing Dec 18, 2025
@iLLiCiTiT iLLiCiTiT changed the title ExtractOIIOTranscode: Add representation filtering to profiles ExtractOIIOTranscode: Add filtering by representation name Jan 5, 2026
return True

return False

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS sponsored This is directly sponsored by a client or community member type: enhancement Improvement of existing functionality or minor addition

Projects

Status: Review In Progress

Development

Successfully merging this pull request may close these issues.

5 participants