I wrote a small application in C++ that does this.
It accepts a filename to play and number of seconds that the file is long from the commandline.
And plays directly to decklink, no gui, no preview, only playback to decklink.
Is anyone aware is it allowed to publish such code, so that others that have the same problem as me don’t have to code a application themselves?