blackmagicplayer 1080p output

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

Raul Tamariz

  • Posts: 8
  • Joined: Tue Mar 21, 2017 8:47 pm

blackmagicplayer 1080p output

PostTue Mar 21, 2017 9:12 pm

Greetings.

We have two cards:

Blackmagic Design DeckLink Quad 2
Blackmagic Design DeckLink SDI/Duo/Quad

Normally, we output video as 1080i:
./blackmagicplayer -m 1 -c 2 -b 1 -d ./lib/libblackMagicPlaybackDevice.so -f $VIDEO

Now, we want to output as 1080p.
./blackmagicplayer -m 2 -c 2 -b 1 -d ./lib/libblackMagicPlaybackDevice.so -f $VIDEO

We updated the mode but the video still going out as 1080i. We validated the type by connecting the output to the HD Star hand held (VideoTek) and it shows as 1080i. The 1080i remains constant but we can toggle the Hz (FPS). The video is 1080p. The driver is 10.6.4a21

Do we need to do anything to the card? driver? Are there any options missing from my command line?
Our goal is to output video as 1080p and based on the specs - these cards support it. Thank you.
Offline

Raul Tamariz

  • Posts: 8
  • Joined: Tue Mar 21, 2017 8:47 pm

Re: blackmagicplayer 1080p output

PostWed Mar 22, 2017 5:30 pm

Reloading the drivers seem to have worked.

Using mode 4 gives us 1080/60p:

blackmagicplayer -m 4 -c 1 -b 1 -V -i -d $LIB_DIR/libblackMagicPlaybackDevice.so -f $VIDEO

but the requirement is 1080/29.97p. Using:

blackmagicplayer -m 2 -c 1 -b 1 -V -i -d $LIB_DIR/libblackMagicPlaybackDevice.so -f $VIDEO

comes as 1080i though.

Usage:
blackmagicplayer -m mode -c chan -b numBuffers -d library -f videoFile [-t] [-E] [-i] [-V] -O source
where:
mode - Mode
-m 0 = 525 59.94
-m 1 = 1080i 59.94
-m 2 = 1080p 29.97
-m 3 = 1080p 30.00
-m 4 = 1080p 60.00
-m 5 = 1080i 60.00
Offline

Raul Tamariz

  • Posts: 8
  • Joined: Tue Mar 21, 2017 8:47 pm

Re: blackmagicplayer 1080p output

PostWed Mar 22, 2017 7:46 pm

We found the status monitor tool and this is the output:

Busy: 00000002
Duplex Mode: full-duplex
PCIe Link Width: 4x
PCIe Link Speed: Gen. 2
Video Input Signal Locked: no
Current Video Input Mode: 525i59.94 NTSC
Current Video Input Flags: 00000000
Current Video Input Pixel Format: 10-bit YUV
Current Video Output Mode: 1080p29.97
Current Video Output Flags: 00000001
Last Video Output Pixel Format: 8-bit YUV
Reference Signal Locked: no
Reference Signal Mode: Unknown

Is it possible to set "Current Video Output Flags" without code changes?
Would this be the reason we are not seeing output as 1080p?
Offline

Raul Tamariz

  • Posts: 8
  • Joined: Tue Mar 21, 2017 8:47 pm

Re: blackmagicplayer 1080p output

PostWed Mar 22, 2017 9:14 pm

... so I downloaded the SDK and hijacked the VancOutput.cpp - I can set all the modes but when I set the BMDDisplayMode to bmdModeHD1080p2997 or bmdModeHD1080p30, the Video Output Flag gets set to 00000001. I tried all the BMDVideoOutputFlags and they do not return an error.

Any ideas?

# lspci -kvvnn | grep -i black
84:00.0 Multimedia video controller [0400]: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Subsystem: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Kernel driver in use: blackmagic_driver
85:00.0 Multimedia video controller [0400]: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Subsystem: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Kernel driver in use: blackmagic_driver
86:00.0 Multimedia video controller [0400]: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Subsystem: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Kernel driver in use: blackmagic_driver
87:00.0 Multimedia video controller [0400]: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Subsystem: Blackmagic Design DeckLink SDI/Duo/Quad [bdbd:a11b]
Kernel driver in use: blackmagic_driver
Offline

Raul Tamariz

  • Posts: 8
  • Joined: Tue Mar 21, 2017 8:47 pm

Re: blackmagicplayer 1080p output

PostWed Mar 22, 2017 10:23 pm

I found this post: viewtopic.php?t=45662

Got the Desktop Video Utility to run on my box.

Set the output to 1080/29.97 and unchecked the "1080PsF On".

I'm now getting 1080p video output.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 19 guests