GstVideo.VideoVBIParser¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
Details¶
- class GstVideo.VideoVBIParser¶
A parser for detecting and extracting GstVideoAncillary data from Vertical Blanking Interval lines of component signals.
New in version 1.16.
- classmethod new(format, pixel_width)[source]¶
- Parameters:
format (
GstVideo.VideoFormat) – aGstVideo.VideoFormatpixel_width (
int) – The width in pixel to use
- Returns:
The new
GstVideo.VideoVBIParserorNoneif the format and/or pixel_width is not supported.- Return type:
Create a new
GstVideo.VideoVBIParserfor the specified format and pixel_width.New in version 1.16.
- add_line(data)[source]¶
- Parameters:
data (
bytes) – The line of data to parse
Provide a new line of data to the self. Call
GstVideo.VideoVBIParser.get_ancillary() to get the Ancillary data that might be present on that line.New in version 1.16.
- get_ancillary()[source]¶
- Returns:
GstVideo.VideoVBIParserResult.OKif ancillary data was found and anc was filled.GstVideo.VideoVBIParserResult.DONEif there wasn’t any data.- anc:
a
GstVideo.VideoAncillaryto start the eventual ancillary data
- Return type:
(
GstVideo.VideoVBIParserResult, anc:GstVideo.VideoAncillary)
Parse the line provided previously by
GstVideo.VideoVBIParser.add_line().New in version 1.16.