timestamp issue while no signal detected on Mini Recorder

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

Janus Ng

  • Posts: 3
  • Joined: Wed Mar 22, 2017 12:03 pm

timestamp issue while no signal detected on Mini Recorder

PostTue Jun 06, 2017 7:40 am

I have experienced a time stamp issue on Mini Recorder while no signal is fed into the SDI input.

The time stamp is shorter than it should be while no signal.

I have performed a test on it using the Capture command come with the Desktop Video SDK to illustrate the issue:

The environment:
Machine: HP ProLiant DL380 Gen9, BIOS P89 07/20/2015
Card: DeckLink Mini Recorder
$ uname -a
Linux rthk-2 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -d
Description: CentOS release 6.8 (Final)

$ dmesg | grep -i black
blackmagic_io: module license 'Proprietary' taints kernel.
BlackmagicIO: Driver version 10.9.3a2 loading
blackmagic-io 0000:05:00.0: enabling device (0140 -> 0142)
blackmagic-io 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
blackmagic-io 0000:05:00.0: setting latency timer to 64
blackmagic-io 0000:05:00.0: irq 153 for MSI/MSI-X
blackmagic-io 0000:05:00.0: setting latency timer to 64
BlackmagicIO: Enabled device "DeckLink Mini Recorder" x1/5 Gbps (9a686ba6,430500) FW Date: 11-28 11:51
BlackmagicIO: DeckLink Mini Recorder as blackmagic!io0 [0000:05:00.0]
BlackmagicIO: Initialised serial driver for blackmagic!io0
blackmagic-io 0000:0b:00.0: enabling device (0140 -> 0142)
blackmagic-io 0000:0b:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
blackmagic-io 0000:0b:00.0: setting latency timer to 64
blackmagic-io 0000:0b:00.0: irq 154 for MSI/MSI-X
blackmagic-io 0000:0b:00.0: setting latency timer to 64
BlackmagicIO: Enabled device "DeckLink Duo 2 (1)" x4/5 Gbps (cdcf7b0,510b00) FW Date: 05-16 13:54
BlackmagicIO: DeckLink Duo 2 (1) as blackmagic!io1 [0000:0b:00.0]
BlackmagicIO: Initialised serial driver for blackmagic!io1
BlackmagicIO: Enabled device "DeckLink Duo 2 (3)" x4/5 Gbps (cdcf7b2,510b01) FW Date: 05-16 13:54
BlackmagicIO: DeckLink Duo 2 (3) as blackmagic!io2 [0000:0b:00.0]
BlackmagicIO: Initialised serial driver for blackmagic!io2
BlackmagicIO: Enabled device "DeckLink Duo 2 (2)" x4/5 Gbps (cdcf7b1,510b02) FW Date: 05-16 13:54
BlackmagicIO: DeckLink Duo 2 (2) as blackmagic!io3 [0000:0b:00.0]
BlackmagicIO: Initialised serial driver for blackmagic!io3
BlackmagicIO: Enabled device "DeckLink Duo 2 (4)" x4/5 Gbps (cdcf7b3,510b03) FW Date: 05-16 13:54
BlackmagicIO: DeckLink Duo 2 (4) as blackmagic!io4 [0000:0b:00.0]
BlackmagicIO: Initialised serial driver for blackmagic!io4

Capture output:
$ /tfidm/shared/resource/StatusMonitor -m 0
2017-06-05 06:47:12:48 (1) Busy: 00000000
2017-06-05 06:47:12:48 (1) Duplex Mode: simplex
2017-06-05 06:47:12:48 (1) PCIe Link Width: 1x
2017-06-05 06:47:12:48 (1) PCIe Link Speed: Gen. 1
2017-06-05 06:47:12:48 (1) Video Input Signal Locked: yes
2017-06-05 06:47:12:48 (1) Detected Video Input Mode: 1080i50
2017-06-05 06:47:12:48 (1) Detected Video Input Flags: 00000000
2017-06-05 06:47:12:48 (1) Current Video Input Mode: 1080i50
2017-06-05 06:47:12:48 (1) Current Video Input Flags: 00000000
2017-06-05 06:47:12:48 (1) Current Video Input Pixel Format: 8-bit YUV
2017-06-05 06:47:12:48 (1) Current Video Output Mode: Unknown
2017-06-05 06:47:12:48 (1) Current Video Output Flags: 00000000
2017-06-05 06:47:12:48 (1) Last Video Output Pixel Format: Unknown
2017-06-05 06:47:12:48 (1) Monitoring...
^C
$ time ./Capture -d 0 -m 9 -n 500 > /dev/null
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: 1080i50
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Stopping Capture

real 0m20.787s
user 0m0.058s
sys 0m0.538s
[tfidm@rthk-2 ~]$ time ./Capture -d 0 -m 9 -n 500 > /dev/null
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: 1080i50
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Stopping Capture

real 0m20.775s
user 0m0.117s
sys 0m0.466s
$ /tfidm/shared/resource/StatusMonitor -m 0
2017-06-05 06:48:06:95 (1) Busy: 00000000
2017-06-05 06:48:06:95 (1) Duplex Mode: simplex
2017-06-05 06:48:06:95 (1) PCIe Link Width: 1x
2017-06-05 06:48:06:95 (1) PCIe Link Speed: Gen. 1
2017-06-05 06:48:06:95 (1) Video Input Signal Locked: yes
2017-06-05 06:48:06:95 (1) Detected Video Input Mode: 1080i50
2017-06-05 06:48:06:95 (1) Detected Video Input Flags: 00000000
2017-06-05 06:48:06:95 (1) Current Video Input Mode: 1080i50
2017-06-05 06:48:06:95 (1) Current Video Input Flags: 00000000
2017-06-05 06:48:06:95 (1) Current Video Input Pixel Format: 8-bit YUV
2017-06-05 06:48:06:95 (1) Current Video Output Mode: Unknown
2017-06-05 06:48:06:95 (1) Current Video Output Flags: 00000000
2017-06-05 06:48:06:95 (1) Last Video Output Pixel Format: Unknown
2017-06-05 06:48:06:95 (1) Monitoring...
2017-06-05 06:48:13:20 (1) Video Input Signal Locked: no
^C
$ time ./Capture -d 0 -m 9 -n 500 > /dev/null
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: 1080i50
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Stopping Capture

real 0m20.175s
user 0m0.106s
sys 0m0.476s
$ time ./Capture -d 0 -m 9 -n 500 > /dev/null
Capturing with the following configuration:
- Capture device: DeckLink Mini Recorder
- Video mode: 1080i50
- Pixel format: 8 bit YUV (4:2:2)
- Audio channels: 2
- Audio sample depth: 16 bit
Stopping Capture

real 0m20.209s
user 0m0.110s
sys 0m0.484s

Difference per 1500 frames (= 60 x 25) or 1 minute

[(20.787 + 20.775) - (20.175 + 20.209) / 2] * (1500 / 500)
= 1.767 seconds

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 4 guests