-
Notifications
You must be signed in to change notification settings - Fork 270
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
Subregion <dest-y> parameter doesn't work with custom resolution and decklinks at UHD without height and width #1538
Comments
I have a fix for case 2 and 6. It wasn't clamping the copy bounds to be within the height of the channel, resulting in a failed copy of in your case row 1729. I'm not able to reproduce 3 (I am using a 8K pro for this test) |
I put it there because I couldn't tell them apart at that point, but case 3 is probably just about not having the "waiting for reference" part in the config. At that moment I had installed one 8K Pro with the 4 SDI separated and one Extreme 12G (not in use). It was fixed by adding that part to the config, so it's probably not related to this issue. |
Actually for case 3 maybe I had the wrong connectors config at that moment (SDI 1 in, SDI 2 out) and maybe that's why it couldn't initialize? |
Nevermind Case 3, it was a client bug on how I was conecting and restarting the server. If the wait for reference was more than 7 seconds it failed to connect and I wrongly believed it was a server error (and the omision of those config lines meant 10 seconds by default). We can forget about that one. Thanks. |
I believe this is fixed in 2.5.0 d3af0b0 |
I tested this a bit more on 2.5.0. It doesn't crash the server now, thanks a lot. However; Is it possible that dest-y it's not moving the whole channel canvass correctly? For example: I set a custom resolution: 3840 x 600. I set a decklink to UHD, What I was expecting was for the whole 600px channel to shift down and be fully visible, so my signal will be showing from y=200 to y=800. Instead what happened is the channel started at y=200 but cutting the upper part (200px) of the content, so instead of adding the black bar and moving the content, it's only adding the black bar leaving the content in the same place (y=0). Bottom still gets cut at y=600, making it effectively only 400px high instead of 600. Because Thank you. |
Continuing here is fine. |
Now the content is properly moved, but I believe the "black bar after the content" also needs to be shifted down. As it is 00f0099 right now the content is still cut at y=600 instead of going down to y=800. Thanks. |
@Sidonai-1 I'm not seeing anything wrong here.
|
Sorry, I should've mentioned that I was using a custom resolution channel. This config is a good example:
Then we move dest-x 400px, and it does what it should:
But if we move dest-y then it crops the down part of the content
Using width and height or not doesn't change the outcome. |
Another fix pushed, it was some bad maths that only had an issue when the channel format has less height than the decklink |
Fixed on c0c4dd7. Thanks a lot! |
Observed Behavior
I've been trying different configurations to see what the problem could be. I think it is a combination of: dest-y needing to specify width and height when you use a custom video-mode and set the decklinks above HD resolution.
Here are all the tests that I did:
CASE 1
Standard UHD; no ports.
dest-y WORKS NO PROBLEM
CASE 2
Custom video-modes; set at UHD; no ports;
UNABLE TO INITIALIZE DECKLINK:
CASE 3 This was a client bug, not a server error.
Standard UHD; using ports. no "wait for reference" lines.
UNABLE TO INITIALIZE DECKLINK:
CASE 3a: Adding
<wait-for-reference>auto</wait-for-reference><wait-for-reference-duration>4</wait-for-reference-duration>
fixes the CASE 3 problem and dest-y works. I don't know if this is a bug or intended behaviour.CASE 4
Custom video-mode; set at UHD; no ports; Specifying width and height.
dest-y WORKS NO PROBLEM
CASE 5
Custom video-mode; set at UHD; Specifying width and height; using ports
dest-y on primary decklink WORKS NO PROBLEM
CASE 5a: using dest-y in ports and specifying width and height also makes both dest-y work.
CASE 6
Custom video-mode; set at UHD; using ports; specifying width and height only in primary.
dest-y in port causes startup crash
CASE 7
Custom video-mode; using ports; set at HD;
dest-y WORKS FOR BOTH
I went pretty deep into the rabbit hole, I just hope it helps!
Expected behaviour
Use dest-y in any resolution
Steps to reproduce
See configs above.
Environment
2.4 Stable Windows 10
Decklink 8K Pro
The text was updated successfully, but these errors were encountered: