A Closed Captioning stream is a data stream hidden inside a video stream which represents the audio portion as text.
MPEG2 elementary video streams sometime have closed captioning data embedded in it as IEC-608. In such cases the MPEG2 Decoder generates two output streams: Video and Closed Captioning.
In addition, AVI and OGG container formats can have closed captioning data as a separate stream. For instance, an MPEG2 file with closed captioning is converted to an AVI format that will have three streams: Video, Audio and Closed Captioning.
Data Options- To enable the display of closed captioning data, use Leadtools.Multimedia.PlayCtrl.ToggleClosedCaptioning.
- To enable the capture of closed captioning data, use Leadtools.Multimedia.CaptureCtrl.ToggleClosedCaptioning.
- To preserve Closed Captioning data during conversion from one format to another, use Leadtools.Multimedia.ConvertCtrl.AllowedStreams to make sure the output format can accept Closed Captioning data.
- To save decoded closed captioning data to file in either TEXT or SRT format, use Leadtools.Multimedia.ConvertCtrl.SetClosedCaptioningTargetFile(System.String,Leadtools.Multimedia.ClosedCaptioningFlags).