Decoding VANC data

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

Sami Fattah

  • Posts: 20
  • Joined: Wed Nov 18, 2015 12:04 pm
  • Location: Edison NJ USA

Decoding VANC data

PostMon Jan 25, 2016 6:46 pm

Hi

Im writing an application to decode and extract 608 Closed caption from the SDI stream , im using GetBufferForVerticalBlankingLine function to get a pointer to the buffer ( passing line 12 as input )
now my question is

1-how do I know the size of the buffer that is returned from GetBufferForVerticalBlankingLine
2-how do I extract from that buffer did , sdid , CID

Regards

Sami Fattah
sami fattah
Software engineering
Offline

Steve Miles

  • Posts: 4
  • Joined: Sat Aug 01, 2015 3:41 pm

Re: Decoding VANC data

PostSat Mar 19, 2016 1:49 pm

1-how do I know the size of the buffer that is returned from GetBufferForVerticalBlankingLine

You will have a frame object that you call GetAncillaryData on, correct. Call GetRowBytes on that frame object (which should support the IDeckLinkVideoInputFrame interface).

2 - I have not done that specifically, but I have parsed other custom VANC data in our video stream, which is 720p5994 video. each row is packed in the 10bit YUV format. So I have to unpack the row, then I can parse the bytes and look for the markers.

Hope this helps.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 31 guests