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") ?