DeckLink SDI output on Ubuntu

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

xiaocaocao

  • Posts: 1
  • Joined: Mon Apr 15, 2024 3:10 am
  • Real Name: ZhangSan

DeckLink SDI output on Ubuntu

PostMon Apr 15, 2024 3:41 am

Test Environment:
os: Ubuntu 22.04 LTS
driver: desktopvideo_12.4.1a15
decklink device: DeckLink 8K Pro

My program execution flow:
1) EnableVideoOutput
2) call ScheduleVideoFrame to preroll 3 frames
3) StartScheduledPlayback(0, 25000, 1.0)
4) Trigger ScheduledFrameCompleted callback

Most of the time,(99.9% of the time), the program runs well, but occasionally I find that the ScheduledFrameCompleted callback never triggers, no matter how long I wait.
Then when I call StopScheduledPlayback, ScheduledFrameCompleted triggers.

Once this problem occurs, even if I restart the process, it cannot be recovered, the problem remains.
Only when I restart the device, this problem will disappear (99% of the time).

After encountering this problem, I also tried using DisplayVideoFrameSync. As I kept calling this function to feed frames (25 fps), I observed no output, and the memory usage of the process kept increasing, which should mean that the decklink device buffered all the data and not sent it out.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests