INTERACT FORUM

Please login or register.

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

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

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Blackmagic Design devices - how do we support them better
« Reply #100 on: November 18, 2024, 02:27:38 pm »

OK, will be great if it can be done in an open manner that lets a user provided filter give the info required to drive it
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Blackmagic Design devices - how do we support them better
« Reply #101 on: November 18, 2024, 04:37:42 pm »

Matt,
I think you know that we don't intend for JRVR to be used by other applications.  I hope you understand.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Blackmagic Design devices - how do we support them better
« Reply #102 on: November 18, 2024, 04:46:06 pm »

You misunderstand as it's not another application

I'm talking about a directshow capture filter to use as channel within MC television. I can already use the microsoft provided one for the card but that only supports stereo audio and doesn't expose the colourspace in a way that lets a renderer understand it, you have to use the api provided by the card manufacturer to do all that. Hence write one and then be able to use MC to fully access the card capabilities.

Put simply, it's exactly what Yaobing is doing for the blackmagic cards (which I don't use because they have limited support for the resolution/frame rate output by my cable box. I can't imagine why you'd want to restrict support to a particular card but obviously it's your software so that's your choice.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Blackmagic Design devices - how do we support them better
« Reply #103 on: November 21, 2024, 03:19:41 pm »

We are working on HDR metadata.  It is still not clear how we are approaching it.
regardless of whether you make it public api or not, I'm curious what are the downsides of the method of packing data into IMediaSideData (https://github.com/Nevcairiel/LAVFilters/blob/81c5676cb99d0acfb1457b8165a0becf5601cae3/include/IMediaSideData.h) are? it seems commonly used and pretty straightforward
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Blackmagic Design devices - how do we support them better
« Reply #104 on: November 23, 2024, 04:00:36 am »

FWIW I have my filter functional now and it seems to at least play in MC & I can see that JRVR is tonemapping without changing settings when fed with appropriate data so not sure you need to do anything other than simply integrate their API as a capture filter?

I haven't tackled attempting to handle changing format yet, e.g. my cable box (a virgin 360 aka LG horizon) will switch from sdr to hdr when I go from normal tv to something like apple+, atm I just plan to use its function to overlay an image as OSD to say "restart playback" but would JRVR cope with this? e.g. does it support https://learn.microsoft.com/en-us/windows/win32/directshow/dynamic-format-changes ?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: Blackmagic Design devices - how do we support them better
« Reply #105 on: November 23, 2024, 04:31:23 am »

JRVR is fine with dynamic format changes, if you need to change the allocator due to frame size or format changes, you may need to flush though (so all frames are returned to the allocator). Feel free to refer to LAV Videos format change logic https://github.com/Nevcairiel/LAVFilters/blob/master/decoder/LAVVideo/LAVVideo.cpp#L1500-L1589
Logged
~ nevcairiel
~ Author of LAV Filters

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Blackmagic Design devices - how do we support them better
« Reply #106 on: November 23, 2024, 05:50:07 am »

thanks for the link, will try to adapt/copy
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14465
  • I won! I won!
Re: Blackmagic Design devices - how do we support them better
« Reply #107 on: Yesterday at 12:08:09 am »

I still think an encoder is going to be needed if you want to pause, record etc.  That uncompressed video stream bitrate is too high to write out to disc effectively and the resultant file is full of dropped frames.
Logged
JRiver CEO Elect
Pages: 1 2 [3]   Go Up