Decklink Producer not destroyed in time

Hi All,

Have you ever noticed this behavior?

I call a Decklink Producer like this:
PLAY 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000 MIX 25
The Decklink Producer becomes Initialized as expected
Then I stop it:
STOP 1-10
The layer stops and, about 2 seconds later, the Decklink Producer becomes destroyed.

This seems to be the right behavior …

But many times the process to destroy the Decklink Producer takes much longer !!!

[2022-06-10 13:38:16.935] [info]    async_event_server[:5250] Accepted connection from 10.20.45.49 (1 connections).
[2022-06-10 13:38:16.936] [info]    Received message from 10.20.45.49: LOADBG 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000 MIX 25 Linear RIGHT\r\n
[2022-06-10 13:38:16.953] [info]    DeckLink Duo 2 [1|1080i5000] Initialized
[2022-06-10 13:38:16.954] [info]    Sent message to 10.20.45.49:202 LOADBG OK\r\n
[2022-06-10 13:38:17.054] [info]    async_event_server[:5250] Client 10.20.45.49 disconnected (0 connections).
[2022-06-10 13:38:17.249] [warning] DeckLink Duo 2 [1|1080i5000] in-sync changed: 0.0272708
[2022-06-10 13:38:18.058] [info]    async_event_server[:5250] Accepted connection from 10.20.45.49 (1 connections).
[2022-06-10 13:38:18.058] [info]    Received message from 10.20.45.49: PLAY 1-10\r\n
[2022-06-10 13:38:18.059] [info]    Sent message to 10.20.45.49:202 PLAY OK\r\n
[2022-06-10 13:38:18.161] [info]    async_event_server[:5250] Client 10.20.45.49 disconnected (0 connections).
stop 1-10
[2022-06-10 13:38:57.334] [info]    Received message from Console: stop 1-10\r\n
#202 STOP OK
**[2022-06-10 13:38:59.969]** [info]    DeckLink Duo 2 [1|1080i5000] Destroyed.
play 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000 MIX 25
[2022-06-10 13:39:40.774] [info]    Received message from Console: play 1-10 DECKLINK DEVICE 1 FORMAT 1080i5000 MIX 25\r\n
[2022-06-10 13:39:40.788] [info]    DeckLink Duo 2 [1|1080i5000] Initialized
#202 PLAY OK
[2022-06-10 13:39:41.322] [warning] DeckLink Duo 2 [1|1080i5000] in-sync changed: -0.0126458
[2022-06-10 13:39:41.443] [warning] DeckLink Duo 2 [1|1080i5000] out-sync changed: -0.0124792
stop 1-10
[2022-06-10 13:39:47.822] [info]    Received message from Console: stop 1-10\r\n
#202 STOP OK
**[2022-06-10 13:40:13.575]** [info]    DeckLink Duo 2 [1|1080i5000] Destroyed.

As you can see in the last line, the last destroyed has taken near half a minute in this case (it can be a lot more)
And if I recall the same Decklink Producer before it has been destroyed, it does not initialize and CasparCG throws an error… And it may be a long time before CasparCG finally destroys it !!!

So, my question is, is there a way to make the Decklink Producer becomes destroyed in time ? A better way to call the producer , stop it , recall it ?

I guess that is kind of a garbage collector. Have you tried issue a
CLEAR 1-10
command before the Decklink play?

It’s not good to be adding/removing decklink inputs.

Just hide it when you don’t need it, e.g:

MIXER 1-10 OPACITY 0
MIXER 1-10 VOLUME 0
1 Like

Hi Didi,

Yes, I tried CLEAR 1-10 but it does not resolve the time taken to destroy the Producer…

Hi Hreinnbeck,

Yes, I was thinking in something like this…
Now I know is the way to do :slight_smile:

Thanks guys

Privacy Policy   Terms of Service