Skip to content

Use previous filter as source for dedicated NDI output filter#1239

Closed
BitRate27 wants to merge 4 commits into
DistroAV:masterfrom
BitRate27:filtertarget
Closed

Use previous filter as source for dedicated NDI output filter#1239
BitRate27 wants to merge 4 commits into
DistroAV:masterfrom
BitRate27:filtertarget

Conversation

@BitRate27

@BitRate27 BitRate27 commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

This PR fixes a problem reported in #613. The NDI output filter was not using the cropped image output from the Crop/Pad filter before it in the filter list. The fix was as simple as getting the target source (previous filter output) from OBS, instead of the parent source (the actual source).

Verified the size of the NDI output from OBS changes as the size of the crop changes in OBS. Also removed the Crop/Pad filter and verified the full source size was output over NDI.

Trouffman
Trouffman previously approved these changes Apr 5, 2025
@Trouffman

Copy link
Copy Markdown
Collaborator

This is pretty crazy the fix was that simple!

Reading the doc for this totally makes sense.

@Trouffman

Copy link
Copy Markdown
Collaborator

@BitRate27 can you check if this would have an impact/solution on this : #969

@Trouffman Trouffman added this to the 6.1.0 milestone Apr 5, 2025
@BitRate27

BitRate27 commented Apr 17, 2025

Copy link
Copy Markdown
Contributor Author

The user who reported the problem, tried out this fix and sees a black NDI feed output. I can also duplicate this problem. After further investigation, it seems our use of the media-io/video non-public API makes this change not a viable solution. This PR should not be included in the DistroAV as a black screen all the time is worse than not cropping.

@BitRate27 BitRate27 added the !DO NOT MERGE! For PRs that should not be merged (incomplete or just PoC) label Apr 17, 2025
@Trouffman
Trouffman dismissed their stale review April 17, 2025 21:28

Overlooked a test.

@Trouffman
Trouffman marked this pull request as draft April 18, 2025 03:51
@Trouffman Trouffman added enhancement filter-feature For anything that is tied to an NDI Filter. labels May 8, 2025
@Trouffman Trouffman modified the milestones: 6.1.0, 6.1.1 May 8, 2025
@Trouffman Trouffman modified the milestones: 6.1.1, 6.1.2 Jun 12, 2025
@Trouffman

Copy link
Copy Markdown
Collaborator

@BitRate27 maybe this would be a good start to steer away from the non-public/undocumented media-io/video API.

You can get in it in this PR or create a new one and close this one.

@Trouffman

Copy link
Copy Markdown
Collaborator

THis has been managed in #1343

@Trouffman Trouffman closed this Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!DO NOT MERGE! For PRs that should not be merged (incomplete or just PoC) enhancement filter-feature For anything that is tied to an NDI Filter.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants