Streaming a file[MOV/MXF/MP4] through Decklink API

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

Anil Dora

  • Posts: 7
  • Joined: Fri Jun 26, 2015 9:42 am

Streaming a file[MOV/MXF/MP4] through Decklink API

PostTue Jun 30, 2015 5:59 am

We have an mxf file which needs to be streamed/played out to SDI. Through DeckLinkAPI, how can we do it. we saw methods like createVideoFrame and startScheduledvideoFrame but couldn't find how to provide any source/input (say any file such as mp4, mxf, mov).

Thanks in advance.
Offline

Nicholas Gill

Blackmagic Design

  • Posts: 169
  • Joined: Mon May 04, 2015 10:28 pm

Re: Streaming a file[MOV/MXF/MP4] through Decklink API

PostThu Jul 09, 2015 2:55 am

Hi Anil,

The DeckLink SDK includes only the mechanisms to output ( & capture) a video signal, it does not include any codecs nor container formats.

To achieve your goal, you will need to integrate a decoder for your input file, and provide the raw video frame data to the SDK (Via the IDeckLinkVideoFrame interface).

See SDK Manual section "2.4.2 Playback" for a description of the interfaces needed to perform a playback operation.

Hope that helps,

-nick
Offline

Dave Johnstone

  • Posts: 223
  • Joined: Mon Dec 08, 2014 11:12 am
  • Location: Adelaide

Re: Streaming a file[MOV/MXF/MP4] through Decklink API

PostThu Jul 09, 2015 12:33 pm

Hi Anil,

You may want to look at higher-level access to the Decklink cards - ffmpeg or Gstreamer can both output to the cards and have elements for file handling, de-multiplexing and decoding. This approach may better suit your needs.

Regards,

Dave.
Freelance Television Broadcast Engineer
and Software Programmer.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 35 guests