INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4]   Go Down

Author Topic: Blackmagic Design devices - how do we support them better  (Read 6494 times)

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: Blackmagic Design devices - how do we support them better
« Reply #150 on: December 13, 2024, 03:11:29 pm »

You don't.  In fact it will not work if it is mismatched (you will only get a black screen).  So, if you are using the SDK method, you have to set it to match.
Logged
JRiver CEO Elect

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #151 on: December 13, 2024, 04:11:37 pm »

Hello guys.

Tomorrow I should get an hdmi device allowing to force its output in a given resolution (let say 2160p23) and it should be also able to send LPCM up to 7.1. This should make my tests easier.

I know how to copy paste the directshow filter graph and start a log file.

It’s 23:00 in France, bye bye.
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #152 on: December 13, 2024, 04:23:48 pm »

My question is why would you want something other than what the source provides?

Ie you have some source device, it will.have it's own configuration that controls what it outputs. Why would you want the capture to do anything other than pass that through to MC which deals with anything required to fit the output format?

It's all I did with the magewell SDK so just wondering what I am missing, if anything.

The source usually is configurable. With "Blackmagic WDM Capture" device, the user can run the filter property page and set the format. But with "DeckLink Video Capture", as Nathan discovered, the property page does not offer all formats.

I was thinking the same thing when I started, but I can not wrap my head around it when their API offers a list of possible formats, but does not tell which format the source sends. Or I did not find the right API function?
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #153 on: December 13, 2024, 04:34:55 pm »

Please try this new DLL.

Nathan, for you there is not much change, as I only made sure I initialized the structure. So don't be surprised that it does not make any difference.

The dll should be used with the latest beta.

alext77, you can download and install this version first, before you copy the DLL:

MediaCenter For test

I added some code to insert LAV Audio Decoder during graph building.
Logged
Yaobing Deng, JRiver Media Center

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4268
Re: Blackmagic Design devices - how do we support them better
« Reply #154 on: December 13, 2024, 04:50:35 pm »

Fwiw I decide that based on a few values coming in on the signal

https://github.com/3ll3d00d/mwcapture/blob/main/mwcapture/mwcapture.cpp#L1098

I guess this same info is mostly found somewhere in BMDDeckLinkStatusID by the looks of it
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: Blackmagic Design devices - how do we support them better
« Reply #155 on: December 13, 2024, 07:13:23 pm »

Nathan, for you there is not much change, as I only made sure I initialized the structure. So don't be surprised that it does not make any difference.

Did a quick test. Seemed the same.
Logged
JRiver CEO Elect

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #156 on: December 14, 2024, 07:23:55 am »

Please try this new DLL.

Nathan, for you there is not much change, as I only made sure I initialized the structure. So don't be surprised that it does not make any difference.

The dll should be used with the latest beta.

alext77, you can download and install this version first, before you copy the DLL:

MediaCenter For test

I added some code to insert LAV Audio Decoder during graph building.

Hello,

Yaobing, have you received my private message ?

Installation of MC 51 is done but I still cannot see LAV audio decoder in the directshow filters :

below the copy/paste :

Filter Graph Info (TV graph):

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'Capture' of filter 'Decklink Audio Capture'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'JRVR'
        CLSID: {555E6803-14EF-4946-8646-B6EF9E9121E2}
        Host:
        Input Pin ''
            Connected to pin 'XForm Out' of filter 'AVIDecompressor'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_RGB32, Format type FORMAT_VideoInfo

    Filter 'Decklink Audio Capture'
        CLSID: {AAA22F7E-5AA0-49D9-8C8D-B52B1AA92EB7}
        Host: c:\program files\blackmagic design\blackmagic desktop video\decklink64.dll
        Output Pin 'Capture'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'AVIDecompressor'
        CLSID: {CF49D4E0-1115-11CE-B03A-0020AF0BA770}
        Host: c:\windows\system32\quartz.dll
        Input Pin 'XForm In'
            Connected to pin 'Capture' of filter 'Decklink Video Capture AFF3E920987F1D8D'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {43594448-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin 'XForm Out'
            Connected to pin '' of filter 'JRVR'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_RGB32, Format type FORMAT_VideoInfo

    Filter 'Decklink Video Capture AFF3E920987F1D8D'
        CLSID: {44A8B5C7-13B6-4211-BD40-35B629D9E6DF}
        Host: c:\program files\blackmagic design\blackmagic desktop video\decklink64.dll
        Output Pin 'Capture'
            Connected to pin 'XForm In' of filter 'AVIDecompressor'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {43594448-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin '~VANC'
        Output Pin '~Timecode'
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #157 on: December 14, 2024, 09:19:44 am »

Some news :

My source can send 2160p23 HDR, I can check it with my VERTEX that I have installed in between my source and the blackmagic board. I can see the metadata sent to the board. The issue is JR video renderer don’t see the meta data.

About audio : my source can send LPCM up to 7.1 but JR audio renderer can see only 2 channels. With LPCM 2.0 it is consistent but with moré Channel I can hear only the side or the rear channels.
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #158 on: December 14, 2024, 09:38:04 am »

Some news :

My source can send 2160p23 HDR, I can check it with my VERTEX that I have installed in between my source and the blackmagic board. I can see the metadata sent to the board. The issue is JR video renderer don’t see the meta data.

About audio : my source can send LPCM up to 7.1 but JR audio renderer can see only 2 channels. With LPCM 2.0 it is consistent but with moré Channel I can hear only the side or the rear channels.

Did you copy the JRTelevision.dll over after you installed the new version of MC?

You can email me a log if you prefer. yaobing at jriver
Logged
Yaobing Deng, JRiver Media Center

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #159 on: December 14, 2024, 09:43:33 am »

Yes I did. I will send you an email.

Have you reveived my private message ?
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #160 on: December 14, 2024, 10:26:57 am »

Did you copy the JRTelevision.dll over after you installed the new version of MC?

You can email me a log if you prefer. yaobing at jriver

Log sent by email. (alex_xxxxx at yahoo fr, check your spam)
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #161 on: December 14, 2024, 10:55:35 am »

Yes I got your PM.
Logged
Yaobing Deng, JRiver Media Center

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #162 on: December 15, 2024, 02:14:18 pm »

Hello

If you want me to test anything, I’m ready :)
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #163 on: December 16, 2024, 10:59:58 am »

Hello

If you want me to test anything, I’m ready :)

I received the log by email.

The log shows that the audio was PCM. That is why LAV Audio decoder filter was not involved. I believe LAV decoder filters are designed to connect to only compressed media formats, not uncompressed ones.

Here is the sequence of what went on:

1. We try connecting LAV. It failed to connect because the audio is PCM.
2. We try connecting without an intermediate filter (from the capture filter to the renderer directly). That succeeded.

The video format is 'HDYC' which is not in our code. So somehow the filter's output already got that.

We are currently not messing with the audio output pin yet, so whatever format configured at the audio output pin must be the default, which would be plain PCM.
Logged
Yaobing Deng, JRiver Media Center

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4268
Re: Blackmagic Design devices - how do we support them better
« Reply #164 on: December 16, 2024, 12:20:14 pm »

Are you sending pcm or compressed?

Logged

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #165 on: December 16, 2024, 01:18:51 pm »

Hello.

The source sends LPCM multichannel or stereo but it can send DD 5.1 as well, I tested LPCM 2.0 and DD 5.1 and LAV audio decoder was not in the filter list in both cases, I will redo the test later on with a log file.

Thanks.
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10949
  • Dogs of the world unite!
Re: Blackmagic Design devices - how do we support them better
« Reply #166 on: December 18, 2024, 01:39:04 pm »

Hello.

The source sends LPCM multichannel or stereo but it can send DD 5.1 as well, I tested LPCM 2.0 and DD 5.1 and LAV audio decoder was not in the filter list in both cases, I will redo the test later on with a log file.

Thanks.

After you try this and produce a log, I would like you to try the following too:

Go to TV Options, select your Blackmagic device and click Configure button.

In Advanced section, there is a list of DirectShow property pages. Look for "Audio Capture Pin...", "Video Capture Pin...", and "Video Capture Filter...". You may or may not have all of them. If you find "Audio Capture Pin...", double click it to bring up the property page.  If you don't find it, try "Video Capture Filter...". On the property page, do you see anything that allows you to select an audio format? If so, what are the choices?
Logged
Yaobing Deng, JRiver Media Center

alext77

  • Recent member
  • *
  • Posts: 35
Re: Blackmagic Design devices - how do we support them better
« Reply #167 on: December 19, 2024, 01:37:00 am »

After you try this and produce a log, I would like you to try the following too:

Go to TV Options, select your Blackmagic device and click Configure button.

In Advanced section, there is a list of DirectShow property pages. Look for "Audio Capture Pin...", "Video Capture Pin...", and "Video Capture Filter...". You may or may not have all of them. If you find "Audio Capture Pin...", double click it to bring up the property page.  If you don't find it, try "Video Capture Filter...". On the property page, do you see anything that allows you to select an audio format? If so, what are the choices?

Hello, I will do/check in few days. Thanks for your support.
Logged
I’m a Windows 10 pro user. Currently enjoying JRiver 33.
Pages: 1 2 3 [4]   Go Up