closedCaptions
The CEA-608 and CEA-708 closed captions this video frame carries: the cc_data of its ATSC A/53 part 4 side data, three bytes per caption pair. In each triplet the first byte holds the valid flag and the caption type, and the other two hold the caption data.
A decoder exports these from the video bitstream, such as the SEI messages of H.264 and HEVC or the user data of MPEG-2, and attaches them to the frame they arrived with.
Return
a new array with the bytes, or null when the frame carries no captions
Throws
if the side data cannot be read
The CEA-608 and CEA-708 closed captions this video frame carries: the cc_data of its ATSC A/53 part 4 side data, three bytes per caption pair. In each triplet the first byte holds the valid flag and the caption type, and the other two hold the caption data.
A decoder exports these from the video bitstream, such as the SEI messages of H.264 and HEVC or the user data of MPEG-2, and attaches them to the frame they arrived with.
Return
a new array with the bytes, or null when the frame carries no captions
Throws
if the side data cannot be read
The CEA-608 and CEA-708 closed captions this video frame carries: the cc_data of its ATSC A/53 part 4 side data, three bytes per caption pair. In each triplet the first byte holds the valid flag and the caption type, and the other two hold the caption data.
A decoder exports these from the video bitstream, such as the SEI messages of H.264 and HEVC or the user data of MPEG-2, and attaches them to the frame they arrived with.
Return
a new array with the bytes, or null when the frame carries no captions
Throws
if the side data cannot be read
The CEA-608 and CEA-708 closed captions this video frame carries: the cc_data of its ATSC A/53 part 4 side data, three bytes per caption pair. In each triplet the first byte holds the valid flag and the caption type, and the other two hold the caption data.
A decoder exports these from the video bitstream, such as the SEI messages of H.264 and HEVC or the user data of MPEG-2, and attaches them to the frame they arrived with.
Return
a new array with the bytes, or null when the frame carries no captions
Throws
if the side data cannot be read
The CEA-608 and CEA-708 closed captions this video frame carries: the cc_data of its ATSC A/53 part 4 side data, three bytes per caption pair. In each triplet the first byte holds the valid flag and the caption type, and the other two hold the caption data.
A decoder exports these from the video bitstream, such as the SEI messages of H.264 and HEVC or the user data of MPEG-2, and attaches them to the frame they arrived with.
Return
a new array with the bytes, or null when the frame carries no captions
Throws
if the side data cannot be read