July 02, 2015, 03:39:39 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Closed caption interface : Line21_BytePair subtype  (Read 4097 times)
Posts: 1

View Profile
« on: April 02, 2009, 12:02:26 am »

I use filter “MainConcept MPEG-2 Video Decoder (Becard Ltd www.elecard.com)” to play a MPG-2 file (1920x1080 pixels). It has 2 out pins (“Video” and “~CC”).
My input pin is connected to  the ~CC Out pin  with the interface :
 - MajorType:  AUXLine21Data,   SubType:  Line21_BytePair.

I understood that a new frame begins with a new value (TimeStart) which I get in Transform-method by calling  Sample.GetTime(TimeStart,TimeEnd). The size of every sample is 2 bytes.

Could you explain to me how to interpret the sequence of pairs (till next changing of TimeStart), because Closed Caption Construct may be 4 types – and what to put in the field cc_type of those “CC constructs” (possible values are 0,1,2,3 as said in  "SMPTE 334-2-2007") ?

Posts: 75

View Profile WWW
« Reply #1 on: April 17, 2009, 08:44:06 am »

The most simple way is to use MS Line21 Decoder
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!