logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AudioGreg  
#1 Posted : Sunday, November 21, 2021 6:22:57 AM(UTC)
AudioGreg

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2020(UTC)
Posts: 88
United States
Location: Earth

Was thanked: 18 time(s) in 16 post(s)
OK, I know this will be a big can of worms, but doing it anyway. :-) Please reference this screen shot, and understand this is a representation of an issue we've spent several weeks testing. Let's put aside any judgements of my setup or networking skills and assume for a sec that I know what I'm doing.

NDI stats

Here's the issue. NDI Screen Capture drops a lot of frames and I would like know why, or at least have NewTek say something about this as I believe it's a problem with their product. As you can see, I have several NDI sources for comparison. This shot shows about 5 minutes of elapsed time, and the number of frames each source dropped.

Birddog P100 camera - 0
BirdDog FlexIn - 2
Pana AW-HE40 (HX) - 8
NUC7i5BNK - Intel HD GPU running NDI Screen Capture 4.6 - 4109
vMix5 i9-11990K/Quadro GPU running NDI Screen Capture 5.0.10 (latest i think) - 4313

The switch is a Cisco SG350X-24PD, with an optimized vLAN for NDI traffic. My vMix computers live on 10G legs, the NUC on a 2.5G leg, and the rest of the contribution devices all have a gigabit leg to themselves. Before you ask, I've also tried the same switch with a factory reset config with nearly same results. I've tried several other multi-gigabit switches (Cisco, Netgear AV, TP-Link) with same results, incl. a generic gigabit dumb switch. BTW the NIC load coming into vMix4 never goes over 550Mb. We've tried different NIC drivers on the computers, different versions of vMix as the host, changed out cables and even tried different NICs in all 3 computers. We keep coming back to NDI Tools Screen Capture as the only thing we see these amounts of dropped frames on, no matter which computer we run it on.

Now all of that said, most techs here don't see a problem in the Screen Capture video feed (i see the occasional frame freeze-just 1 frame), although the drop rate is running several hundred frames per minute. Not horrendous I guess, but it reminds me of a joke where the punchline is "how many drops of urine can i put in your coffee before you notice?". We can load vMix Desktop capture utility on the same contribution computers and see a very small number (less than 10) of dropped frames in the same 5min window.


So here's the request to the forum, and anyone at vMix or NewTek that cares to follow up with this. What are your dropped frame stats in vMix using NDI Screen Capture?? Are you seeing the same thing that we are? Is there another tool besides vMix I can use to check for dropped frames?
Hypohamish  
#2 Posted : Thursday, November 25, 2021 5:47:03 AM(UTC)
Hypohamish

Rank: Advanced Member

Groups: Registered
Joined: 12/19/2020(UTC)
Posts: 56
United Kingdom
Location: London

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)
Yes - it 'drops frames' when the NDI source stops moving, it's perfectly normal/expected behaviour.

So if you're screen capturing, let's say a PPT, once the slide has transitioned, the NDI feed effectively pauses until it detects a change/movement again, because presumably this is more efficient/it'd be a waste of bandwith to do anything otherwise.

You can test this yourself. Watch the stats live when you're screen capturing a desktop, move the mouse around and stuff and you'll notice it stops dropping frames. The second you stop moving/updating the screen, it'll drop hundreds of frames a minute!
thanks 1 user thanked Hypohamish for this useful post.
SportsNetUSA.net on 11/25/2021(UTC)
AudioGreg  
#3 Posted : Friday, November 26, 2021 9:40:29 AM(UTC)
AudioGreg

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2020(UTC)
Posts: 88
United States
Location: Earth

Was thanked: 18 time(s) in 16 post(s)
in this case, the screen capture computers were running a full screen video playback with constant motion. we have also seen this behavior when using screen capture with zoom/teams/skype video call content. if it was just powerpoint slides i wouldn't care.
mjgraves  
#4 Posted : Tuesday, November 30, 2021 3:21:04 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
It's quite a lot of ask of a purely software solution; (1) play full-screen, full motion video while (2) capturing that same playback to a separate encode process.

It requires a very capable host. Most especially a capable GPU. Or a hardware solution.

I usually mirror the screen output to an HDMI port, encoding that with a BirdDog encoder. Eases the load on the host PC while ensuring no dropped frames.
mjgraves  
#5 Posted : Friday, December 3, 2021 6:45:47 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,151
Man
United States
Location: Houston TX

Thanks: 319 times
Was thanked: 263 time(s) in 233 post(s)
I had a little time so I staged a simple test to compare three modes of capture from the same laptop.

- NDI Tools 5 NDI Screen Capture
- NDI Tools 5 NDI-HX Screen Capture
- HDMI output mirrored to a BirdDog Mini NDI encoder

Source is Lenovo X1 Carbon Gen 7
- Intel® Coreā„¢ i7-8565U
- Windows 10 Pro 64
- 16GB LPDDR3 2133MHz
- 512GB Solid State Drive M.2 PCIe-NVMe
- 14.0" FHD (1920 x 1080)
- Integrated Intel® UHD Graphics 620
- USB 3.0 Gigabit Ethernet interface

All captures are 1080p60, which is the native size and frame rate of the display.

A forensic 1080p60 clip (https://www.youtube.com/watch?v=ZrQsl5AGAMo) locally played in VLC.

Captured into vMix at 1080p60. Recorded at 1080p60 @ 20 Mb/s using hardware encoding. Examined in Premier Pro 2022.

The NDI Tools captured both show significant amount of "source frame dropped" over the 90 second duration of the clip. Like 2000+ frames.

The clip captured using the BirdDog encoder had <10 source frames dropped over 90 seconds.

Hardware capture is the definitive solution.
AudioGreg  
#6 Posted : Wednesday, December 15, 2021 3:09:20 AM(UTC)
AudioGreg

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2020(UTC)
Posts: 88
United States
Location: Earth

Was thanked: 18 time(s) in 16 post(s)
Additional info. All of the tests in my first post involved computers with 2 displays. Noticing that if I remove either one of the displays and test again with single screen, then the screen capture into vMix behaves more closely to what we would expect only dropping a handful of frames. This seems to be consistent across several brands of computer and GPU here. Problem or "feature"?
Worshipgal  
#7 Posted : Friday, January 26, 2024 2:41:35 PM(UTC)
Worshipgal

Rank: Newbie

Groups: Registered
Joined: 4/8/2020(UTC)
Posts: 2
United States
Location: LEBEC

So what program is better than ndi screen capture?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.