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
Decklink Input missing back pressure #1095
Comments
Is it the same if you loop the channels main decklink output back to the input? Dont care about video- and audiofeedback for this test. It is just about reference timing. |
after looping (Decklink Out to Back Decklink Input) memory usage is now normal. |
@ronag Obviously there is no frame synchronizer behavior for live inputs implemented yet. If the SDI source is not genlocked to the output's clock reference then you will run into trouble sooner or later. Else if they are running on same timebase everything is fine. In this case the input clock is running faster then the output (or channel?) clock and will buffer more and more frames into memory as they are read slower from frame buffer as they are written. |
You might be right. I might look to it when I have time. Otherwise a PR is also welcome. |
ok, today i update Graphics Driver from some 2015 version to latest 2018. after this memory issue has been gone and also not getting any in-sync warning. Graphics Card: Quadro K4000 |
should i close this ?? |
I don't think so, as this should be considered a bug in my opinion. |
This is a problem when you already have a problem, i.e. you are ingesting frames faster than you can handle... there are two ways to handle that, either you keep buffering or your start dropping... I guess dropping is the proper way to handle this though |
This would be only no problem when all(!) inputs and outputs are in perfect sync (genlocked to same sync source, professional environment). So the main basic question is at first: What is the clockmaster in CasparCG? |
@premultiply: ah, very true, currently it's the slowest consumer with lock capabilities |
Then first of all this should be changed in geberal to a more predictive behavior. Means if all sources and outputs are genlocked the whole system will allow for lowest delay without any dropped or doubled frames. |
Expected behaviour
play 1-1 Decklink 1 should play Decklink input with some buffer memory usage
Current behaviour
After this command system memory increasing continuously
Environment
The text was updated successfully, but these errors were encountered: