gst-plugin-ndi icon indicating copy to clipboard operation
gst-plugin-ndi copied to clipboard

Signal lost if not refreshed

Open RobertoAlda opened this issue 3 years ago • 3 comments

Hi, if i receive a signal which doesn't change, like a fixed test pattern from Windows NDI Tools or a still slide from another PC with NDI Screen Capture running, it doesn't refresh when i change the signal later.

The command executed in a Ubuntu 20.04.2 LTS machine to receive NDI Tools Test patterns from a Windows PC is:

gst-launch-1.0 ndivideosrc ndi-name=""PCROBERTOALDA\ (Test\ Pattern)"" url-address="192.168.1.114:5963" ! autovideoconvert ! autovideosink

and the result is a new window with the correct test pattern signal, but when i change it in the Windows PC it doesn't refresh in gstreamer window on Ubuntu machine. I also tried to use " timeout=0 connect-timeout=0 ", but th eissue still remains.

With GST_DEBUG=5 i noticed these msgs :

0:00:12.642529922 [334m11655[00m 0x560a77c468d0 [37mDEBUG [00m [00m ndivideosrc src/receiver.rs:918:gstndi::receiver:[00m No video frame received yet, retry 0:00:12.692653642 [334m11655[00m 0x560a77c468d0 [37mDEBUG [00m [00m ndivideosrc src/receiver.rs:918:gstndi::receiver:[00m No video frame received yet, retry 0:00:12.742997130 [334m11655[00m 0x560a77c468d0 [37mDEBUG [00m [00m ndivideosrc src/receiver.rs:918:gstndi::receiver:[00m No video frame received yet, retry 0:00:12.793306393 [334m11655[00m 0x560a77c468d0 [37mDEBUG [00m [00m ndivideosrc src/receiver.rs:914:gstndi::receiver:[00m Timed out -- assuming EOS 0:00:12.793394885 [334m11655[00m 0x560a77c468d0 [37mDEBUG [00m [00m ndivideosrc src/receiver.rs:727:gstndi::receiver:[00m Signalling EOS

Here the complete log file:

ndiLog_Test pattern.txt

Do i need to force some kind of refresh in the stream?

Please help me, thank you.

RobertoAlda avatar May 19 '21 10:05 RobertoAlda

@RobertoAlda Have you solved the problem? I have the same issue.

nanazhan avatar Jul 13 '21 08:07 nanazhan

Unfortunately not, but I haven't worked on it anymore

RobertoAlda avatar Jul 20 '21 13:07 RobertoAlda

Try a larger "timeout" parameter like 60000.

robspearman avatar Jun 12 '23 18:06 robspearman