Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Blackmagic Design VANC Data Garbled

  • VANC Data Garbled

    Posted by Mike Dehmlow on October 4, 2010 at 8:46 pm

    I’m working to make an application to read VANC data from the SDI input of my Black Magic DeckLink Studio card. I have used Black Magic Design to set lines 1, 2 and 3 with Line 9 VANC Data. I have a simple DirectShow filter that takes the the first line of data and outputs the first 200 pixels luma values into a text file. The values aren’t what I expect them to be but more bizarre is I see variations in the data where I would expect there to be none. For instance I see 0x51,0x51,0x51,0x51 then all the sudden I’ll see a 0x50 when no change should have occurred. I thought there was some interference and a bit got flipped somewhere along the way. But then I’ll see 0x7F 0X7F, 0X80, which is not a bit flip but more so a rounding of 0x7f to 0x80. The final oddity is that my source is 59.94 and but I only get exactly 30 FPS in my graph.

    I’m new to every thing evolved here.

    Any thoughts?
    Thanks

    Mike Dehmlow replied 15 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Daniel Moore

    October 6, 2010 at 12:15 am

    Hi Mike,

    If you’re looking at closed-caption information, and possibly other VANC data,
    you’ll need to use a 10 bit mode. The CC data has eight significant bits (and
    two check bits), but they’re at the opposite end of the 10 bit word than the
    active picture and get stripped in the 10 to 8 bit conversion.

    Please contact Blackmagic Developer Support at developer@blackmagic-design.com for
    any DirectShow or other development related issues.

    cheers

  • Mike Dehmlow

    October 12, 2010 at 3:09 pm

    Thank you that was in fact the problem, for those in a similar situation to parse close captioning from the video output of the Decklink card, the bit layout can be found here:
    https://developer.apple.com/quicktime/icefloe/dispatch019.html#v210

    It’s a little tricky because the luma and chroma data positions alternate every four byte word. I chunked out the stream as an array of int’s alternating between extracting one bye and two byte based on the modulo of the position.

    One other thing is that in order to get every byte its fairly hardware intensive I modified my graph so that no video is displayed and I still drop frames when I move a window or basically anything else.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy