-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: NDI Playback distorted #1542
Comments
I can confirm switching to the libndi.so.6 library does not solve the problem. However on further testing turning off alpha on the sending device changes the level of stretching which makes me think it is an issue with stride/pixel format |
Some more information: As mentioned in #1543 discussion it is also distorted on Windows builds. However when I tested it is working correctly on v2.4.0 release. Upon bisecting I found that commit e3289ec is the commit that broke the expected behaviour. For those who got here by some sort of search:
That was caused by the firewall blocking ndi. Make sure your firewall rules allow communication between the server and the ndi source/destination. |
I'll have a look at the (my) offending commit |
Observed Behavior
It seems like the resolution being fed from NDI into the backend is incorrect. Could also the the pixel format but unlikely. I have attached pictures of the expected output vs what is actually being output. I see the same behaviour on both the decklink consumer output and output from screen consumer so it seems like the issues is before the consumer at the very least. The FFMPEG, IMAGE and COLOUR producers seem to work fine, this does seem restricted to the NDI producer.
I have made some code changes to try faultfinding:
I threw an exception at
server/src/modules/newtek/producer/newtek_ndi_producer.cpp
Line 199 in e4e9ed2
I also logged the width and height here:
server/src/modules/newtek/producer/newtek_ndi_producer.cpp
Line 204 in e4e9ed2
I may try bumping to NDI V6 but that needs some code changes in casparcg, and seeing if that solves the problem.
Expected behaviour
NDI Playback works as expected, and is it does on windows.
Steps to reproduce
Playback NDI on linux
Environment
The text was updated successfully, but these errors were encountered: