Skip to content

Canvases - Part Tres (Multitrack Changes) - #11833

Merged
RytoEX merged 4 commits into
obsproject:masterfrom
amazon-contributing:rodney/multi-canvas-multitrack
May 5, 2025
Merged

RytoEX merged 4 commits into
obsproject:masterfrom
amazon-contributing:rodney/multi-canvas-multitrack

Conversation

@dsaedtler

@dsaedtler dsaedtler commented Feb 5, 2025 •

Copy link
Copy Markdown

Description

Note

This contains the two previous PRs (#11823, #11832) and hence is a draft.

Adds canvases to the multitrack output and settings.

  • Updates multitrack schema to the latest version (2025-01-25)
  • Adds combobox to select an additional canvas for use with multitrack
  • Adds selected canvases to API request
  • Configures encoders to use canvas video instead of always using the main video
  • Bumps the limit for encoders per output to 10
    • In the future we might want to do 4+3 or 5+2 on GPUs capaable enough to not sacrifice too much on the landscape canvas, raising this to 10 should be relatively unproblematic, and it's a limit we have used in our closed beta builds for the past year

Motivation and Context

Allow multi-format (landscape + portrait) streaming. Plus potentially other multi-canvas use-cases in the future.

Documentation for the changes to the GetClientConfiguration API schema is here: https://d50yg09cghihd.cloudfront.net/other/20250207-DualFormatApiSpecification.pdf

How Has This Been Tested?

This was tested with this fork of the vertical canvas plugin that makes use of the new APIs: https://github.com/dsaedtler/obs-vertical-canvas

Note that the server-side changes are not yet live, and once they are live this feature will be restricted to select users while the Twitch/IVS components are being built.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from 59c2394 to 63f97a8 Compare February 6, 2025 21:56
@WizardCM WizardCM added the kind/feature Functionality or other elements that the project doesn't currently have. label Feb 12, 2025
@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from ac89ae2 to 5cd6032 Compare February 25, 2025 15:53
@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from 5cd6032 to 45cb598 Compare March 5, 2025 09:13
@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from 45cb598 to 257920a Compare April 2, 2025 16:49
@dsaedtler
dsaedtler marked this pull request as ready for review April 2, 2025 16:49
@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch 3 times, most recently from fab1761 to 2e08dc9 Compare April 3, 2025 07:38

@PatTheMav PatTheMav left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks fine apart from my other comments. Will have to give this a whirl locally, to understand some of the more complex bits, but nothing jumped at me immediately.

@RytoEX
RytoEX requested a review from PatTheMav April 15, 2025 20:27
@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch 2 times, most recently from 9207943 to 1551b56 Compare May 2, 2025 11:06
@RytoEX

RytoEX commented May 2, 2025

Copy link
Copy Markdown
Member

CI has failed. #11823 and #11832 have been merged, so this can be rebased.

@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from 1551b56 to 99d96af Compare May 2, 2025 18:37
@dsaedtler

Copy link
Copy Markdown
Author

Rebased, should build now.

@RytoEX

RytoEX commented May 2, 2025

Copy link
Copy Markdown
Member

Are there screenshots of the UI changes for this?

@RytoEX
RytoEX requested a review from Warchamp7 May 2, 2025 20:28
@RytoEX RytoEX self-assigned this May 2, 2025
@RytoEX RytoEX added this to the OBS Studio 31.1 milestone May 2, 2025

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tentatively approved.

@dsaedtler

Copy link
Copy Markdown
Author

Are there screenshots of the UI changes for this?

It just adds a single combobox to the EB settings (obviously the only option will be "None" unless you have a plugin installed that creates a secondary canvas like I have in this case):
2025-05-02_22-52-17_zsXghz

@dsaedtler
dsaedtler force-pushed the rodney/multi-canvas-multitrack branch from 99d96af to 3028daf Compare May 3, 2025 18:09
@dsaedtler

Copy link
Copy Markdown
Author

The force push is just correcting the translation string used in an error message, everything else remains the same.

@RytoEX
RytoEX merged commit 0552062 into obsproject:master May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Functionality or other elements that the project doesn't currently have.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants