hdmi audio support?

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

3ll3d00d

  • Posts: 4
  • Joined: Sat Mar 29, 2025 9:45 am
  • Real Name: Matt Khan

hdmi audio support?

PostMon Mar 31, 2025 8:29 pm

IDeckLinkInput::EnableAudioInput requires specification of the content to capture (fs, bit depth, no of channels) but I cannot see any mechanism by which you can read what is specified by the incoming signal, does any such mechanism exist in the SDK?

for example

the HDMI audio infoframe contains a variety of information about the signal, is this accessible anywhere?

assuming some IEC61937 (eac3 etc) encoded content is delivered, does the IDeckLinkAudioInputPacket just provide the raw bytes from which one can locate & extract the databurst for decoding? (NB: I think only 48kHz is supported so this will be limited to AC3 or PCM but I'm just interested in what is possible using the SDK at the moment)

Thanks
Matt
Offline

Julusian

  • Posts: 57
  • Joined: Mon Aug 03, 2020 9:36 pm
  • Real Name: Julian Waller

Re: hdmi audio support?

PostMon Mar 31, 2025 10:56 pm

3ll3d00d wrote:assuming some IEC61937 (eac3 etc) encoded content is delivered, does the IDeckLinkAudioInputPacket just provide the raw bytes from which one can locate & extract the databurst for decoding? (NB: I think only 48kHz is supported so this will be limited to AC3 or PCM but I'm just interested in what is possible using the SDK at the moment)


I would be surprised if the decklink supports anything other than PCM.
Seeing as the first parameter to EnableAudioInput is a BMDAudioFormat enum with a single value of PCM, the sdk suggests that it only supports PCM.
Offline
User avatar

3ll3d00d

  • Posts: 4
  • Joined: Sat Mar 29, 2025 9:45 am
  • Real Name: Matt Khan

Re: hdmi audio support?

PostFri Apr 04, 2025 8:44 pm

PCM is just bytes, encoded audio is ultimately just bytes as well so if PCM just means "the frame contains the raw bytes" then seems like it should work ok. The q is ultimately what does the decklink sdk do here?
Offline

Julusian

  • Posts: 57
  • Joined: Mon Aug 03, 2020 9:36 pm
  • Real Name: Julian Waller

Re: hdmi audio support?

PostWed Apr 09, 2025 1:32 pm

Sure it is all just bytes, so they probably could support passing through the raw bytes for other formats pretty easily. Unless even doing that would involve licensing costs (I feel like it wouldn't, but I dont know for certain)

But as the current implementation explicitly states the audio will be PCM, I would not expect it to be passing through other data. If it does, then that is something that would end up getting reported as a bug.

My main reason for not expecting it is that the Decklink cards are primarily SDI with a little bit of HDMI sprinkled in there. So the features look to be primarily defined by what makes sense for SDI. As SDI doesnt support encoded audio (as far as I can tell), I expect it is a hard sell to spend time on supporting

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 6 guests