DeckLink SDI 4K dropping/skipping frames

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Angel Moran

  • Posts: 4
  • Joined: Sun Jan 21, 2018 7:59 pm

DeckLink SDI 4K dropping/skipping frames

PostSun Jan 21, 2018 8:09 pm

I have a strange issue with a pair of DeckLink SDI 4K cards installed in different workstations.

When I try to capture video from a workstation to the other using Media Express, I get a "Media express could not capture the clip. One or more frames were dropped" error. It may happen after a few seconds or minutes, but it eventually happens.

To test things out, I have created a video with TC burned and have modified one of the code samples to capture the video without drops and I have found that, once in a while, the captured video is repeating one frame, then skipping one. So, when I watch the resulting video, it reads:

...
00:00:15:10
00:00:15:11
00:00:15:12
00:00:15:12
00:00:15:13
00:00:15:15
00:00:15:16
...

So it's repeating frame 00:00:15:12 and skipping frame 00:00:15:14. I don't know if it's the playing or the capturing device, but something fishy is going on. Funny enough, it happens less in 4K25p format than in 1080p50.

I use 10.9.7 drivers on a windows 10 machine with 16GB or RAM and i7-7700 CPU.

I'm at a loss of what may be going on.
Offline

Jodon Karlik

  • Posts: 3
  • Joined: Tue May 30, 2017 7:44 pm

Re: DeckLink SDI 4K dropping/skipping frames

PostMon Jan 29, 2018 10:14 pm

Just spent months debugging something similar with a client and solved it minutes ago. So here's a suggestion: Are you sure the card is plugged into a port that is receiving enough PCIe lanes?

If you're on Windows:

Go to Device Manager. Right-Click on your DeckLink 4K Pro card. Click Properties... Click Details tab. Choose the Property you want to look at in this tab is "PCI current link width". If it's not 8, you're not getting enough PCIe lanes to keep up with 4K content.
Offline
User avatar

Xtreemtec

  • Posts: 5387
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: DeckLink SDI 4K dropping/skipping frames

PostMon Jan 29, 2018 10:21 pm

Wow this is usefull info!! Thank you Jodon!
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

Angel Moran

  • Posts: 4
  • Joined: Sun Jan 21, 2018 7:59 pm

Re: DeckLink SDI 4K dropping/skipping frames

PostFri Feb 02, 2018 11:49 am

Thanks a lot Jodon!

That looked promising, so I checked and it's getting 4 lanes (which, by the way, is what the box for the SDI 4K card claims you need). So, to be sure, got rid of all other PCI cards (graphics and network), plugged the card into a x16 slot and I'm getting the same problem. It gets 4 lanes and seems to be running fine... but the problem persists.

Just updated drivers to 10.9.10, no luck neither...

I have found that even the InputLoopThrough sample, with does pretty much nothing at all, is dropping frames too, so it seems it may be a problem with either the card not been able to keep up when capturing and streaming at the same time, or maybe the problem is with windows 10?
Offline

Ben Doyle

  • Posts: 33
  • Joined: Wed Sep 13, 2017 8:07 pm

Re: DeckLink SDI 4K dropping/skipping frames

PostFri Jul 29, 2022 11:47 pm

Did you ever figure this out? I'm having the same issue on two different systems (running vMix).

Thanks!
Offline

Mike Ambrose

  • Posts: 188
  • Joined: Wed Jan 13, 2016 11:31 pm

Re: DeckLink SDI 4K dropping/skipping frames

PostSat Jul 30, 2022 12:37 pm

As the bandwidth of the SDI link gets higher the temperature of the chip on the board gets lower (the 8K Pro for example has a max operating temperature of 50C). I have a dual 8K Pro setup that was dropping tons of frames until we figured out it was a thermal issue.

The SDI 4K has a listed max operating temp of only 40C (104F- that's crazy low!)

Unfortunately BMD didn't include the ability to read the card's temp right inside DesktopVideo but the SDK does have the ability to read it. Furthermore, the SDK ships with a sample application that can read all of the cards current stats (temp, genlock, bandwidth, color space, etc).

We always keep this open during a show to keep an eye on temps and have noticed that the stuttering starts at we reach max temp.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 7 guests