Problem: video recording speed x2 or x3 of normal speed

Hi guys, I have a problem, when recording the decklink duo 2 input the video comes out with a x2 or x3 speed, it doesn’t come out normal, I use the 1080i5994 format.
When I use that format above the video has that problem but when I use 720i5994 it records normal, but I need it to be 1080i5994. any ideas? I’ll leave my configuration below.

Configuration Casparcg latest version

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <log-level>info</log-level>
  <paths>
    <media-path>C:/media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <font-path>font/</font-path>
    <template-path>template/</template-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  <channels>
    <channel>
      <video-mode>1080i5994</video-mode>
      <producers>
        <decklink>
          <device>1</device>
          <embedded-audio>true</embedded-audio>
        </decklink>
      </producers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
  <osc>
    <default-port>6250</default-port>
    <disable-send-to-amcp-clients>false</disable-send-to-amcp-clients>
    <predefined-clients />
  </osc>
</configuration>

Casparcg-connection
PLAY

await cg.executeCommand({
    command: Commands.PlayDecklink,
    params: { channel: 1, layer: 1, device: 1 },
  })

ADD

await cg.executeCommand({
    command: Commands.Add,
    params: {
      channel: 1,
      consumer: 'FILE',
      parameters: 'C://media//prueba.mxf -c:v mpeg2video -pix_fmt yuv422p -c:a pcm_s16le -ac 2',
    },
  })

It is simply frame droping. Hardware is not able to record all frames. So frames are missing. If you record 60 seconds , it results only 30 seconds.

So it is a problem of the decklink duo 2?

No it’s a problem of the system‘s overall performance. What is your hardware setup?

Dell OptiPlex 7060
Windows 10 64 bits
Intel UHD Graphics 630 graphics card
Intel(R) Core™ i7-8700 CPU @ 3.20GHz 3.19 GHz
RAM 8GB

What about HDD/SSD?

Hard Disk SSD

Usually when you have frame drops the disc (HDD or SSD) is too slow.

These are the formats that have this loss of frames
1080i5000|1080i5994|1080i6000 - 1080p5000|1080p5994|1080p6000

and the other formats record well, I don’t know what to do, help.

to check if it is the disk speed you can try with a RAM disk partition,
tools like ImDisk are handy for that

I would create a little partition, less than 1GB since you have only 8GB in total, then try to record on it.
If you have the same issue than is definitely a cpu/gpu performance issue.
Please, pay attention to remove the partition after the test, otherwise is a waste of ram

If you use the Media Expess software, same problem?

No, when I record it with this software it records it well and without problems.