ClosedCaptionsEnabled
property ClosedCaptionsEnabled: Boolean read GetClosedCaptionsEnabled write SetClosedCaptionsEnabled default DEF_ClosedCaptionsEnabled; /// 261106st, 261106lc (was PlayerClosedCaptionsEnabled)
__property bool ClosedCaptionsEnabled = {read=GetClosedCaptionsEnabled, write=SetClosedCaptionsEnabled, default=0};
public bool ClosedCaptionsEnabled { get; set; }
Public Property ClosedCaptionsEnabled As Boolean
BOOL GetClosedCaptionsEnabled ();
void SetClosedCaptionsEnabled (BOOL Value);
Enables the closed captions of the video source and of the clips played: captions carried by the stream or the clip, or subtitle file of the clip.
Remarks
The captions are extracted by the Datastead RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter (installed separately): CEA-608 / CTA-708 captions of the video stream (MPEG-2 user data, H.264 / HEVC SEI: e.g. broadcast encoders and receivers, MPEG-TS over UDP / SRT, HLS, RTMP), SMPTE 436M caption track of MXF clips, CEA-608 track of MOV / MP4 clips. The video must be decoded by this filter (no captions on a compressed video output). Subtitle tracks carried outside the video stream (WebVTT tracks of HLS, DVB teletext or subtitles, RTMP text messages) are not extracted.
IP camera and URL sources (VideoSource = vs_IPCamera, vs_VideoFileOrURL) and network URLs played by OpenPlayer: these sources are opened by this filter, the captions of the stream are extracted.
Clips played by OpenPlayer: the clip is opened by this filter, as with PlayerForcedCodec = "DTSTDRTSP", and decoded by its decoders (not by the LAV filters nor the Media Foundation source of TVideoGrabber); its audio is delivered in 16 bits. If this filter is not installed, or cannot open the clip, the clip is played as usual, without closed captions (warning logged). A subtitle file of the clip (see PlayerClosedCaptionsFile) replaces the captions of the clip.
With VideoRendererExternal = vre_BlackMagic_Decklink_VANC, the captions are sent to the SDI output (CEA-608 and CTA-708 data in the VANC of the DeckLink card), live sources included.
Takes effect at the next StartPreview, StartRecording or OpenPlayer. Default: false. See also AnalyzeClipClosedCaptions.