Skip to content

Conversation

@Trouffman
Copy link
Collaborator

This PR address the following :

How this fix the problem ?

  • The Preview-output.cpp was not, modified to reflect the changes integrated in main-output.cpp

General hope is that the 2 codebase are extremely similar (with some extra code in Preview for specifics in there)

This bring the codebase to be similar for the approach & logic on both Main output and Preview output

…specific log entries for easier debuggging on outpu settings
@Trouffman Trouffman added Seeking Testers PRs with this label will package the plugin so that others can test Interface (UI/UX) User Interface (UI / GUI) or User Experience (UX) Output (Program/Preview) relate to NDI Output Progam or Preview labels Mar 31, 2025
@BitRate27
Copy link
Contributor

BitRate27 commented Mar 31, 2025

Mod Edit : this is not related to the PR : See reason at : #1237 (comment)

It looks like your changes are indeed needed as they are the exact changes I made to PR 1148 a couple of days ago. However, I still do not get any preview output when I run this PR on the latest master branch from obs-studio. I can select the NDI preview output in Studio Monitor, but there is no video feed. When I change to another preview scene, the NDI preview output in Studio Monitor does not change. Please let me know if you have trouble duplicating this issue.

  1. Get into Studio Mode
  2. In Tools->DistroAV NDI Settings, check Preview Output
  3. Enter "OBS Preview" for the name
  4. Select OK
  5. Open NDI Studio Monitor
  6. Select your local machine, and select "OBS Preview" (this being available is indicative of the NDI sender being created)
  7. Error 1: the display does not change and does not match what is shown in the Preview window in OBS
  8. In OBS select another scene
  9. Error 2: the display does not change and does not match what is shown in the Preview window in OBS

Copy link
Contributor

@BitRate27 BitRate27 left a comment

Choose a reason for hiding this comment

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

I tested this last change by:

  1. turning off main output, changing video resolution in settings, turning main back on.
  2. turning off main output, changing color format in settings, , turning main back on.
  3. changing profiles without turning off main output.
  4. Used empty Main Output and Preview Output names.
    No longer crashes on changes!

@Trouffman
Copy link
Collaborator Author

Can you confirm that your initial reply in this thread was only when using the latest master branch of OBS ?

@BitRate27
Copy link
Contributor

The issue with preview output mentioned above was only seen with the master branch of obs-studio cloned on March 31, 2025. I did not see the issue and verified this PR by installing the .dll generated in the CI actions, on the 31.0.3 release of OBS Studio.

@Trouffman Trouffman merged commit 5fd1e50 into master Apr 1, 2025
6 checks passed
@Trouffman Trouffman deleted the fix-preview-output branch April 1, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Interface (UI/UX) User Interface (UI / GUI) or User Experience (UX) Output (Program/Preview) relate to NDI Output Progam or Preview Seeking Testers PRs with this label will package the plugin so that others can test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants