GstPbutils.DiscovererVideoInfo
- Subclasses:
None
Class Details
-
class GstPbutils.DiscovererVideoInfo(**kwargs)
- Bases:
GstPbutils.DiscovererStreamInfo
- Abstract:
No
GstPbutils.DiscovererStreamInfo
specific to video streams (this includes images).
-
get_bitrate()
- Returns:
the average or nominal bitrate of the video stream in bits/second.
- Return type:
int
-
get_depth()
- Returns:
the depth in bits of the video stream.
- Return type:
int
-
get_framerate_denom()
- Returns:
the framerate of the video stream (denominator).
- Return type:
int
-
get_framerate_num()
- Returns:
the framerate of the video stream (numerator).
- Return type:
int
-
get_height()
- Returns:
the height of the video stream in pixels.
- Return type:
int
-
get_max_bitrate()
- Returns:
the maximum bitrate of the video stream in bits/second.
- Return type:
int
-
get_par_denom()
- Returns:
the Pixel Aspect Ratio (PAR) of the video stream (denominator).
- Return type:
int
-
get_par_num()
- Returns:
the Pixel Aspect Ratio (PAR) of the video stream (numerator).
- Return type:
int
-
get_width()
- Returns:
the width of the video stream in pixels.
- Return type:
int
-
is_image()
- Returns:
True
if the video stream corresponds to an image (i.e. only contains
one frame).
- Return type:
bool
-
is_interlaced()
- Returns:
True
if the stream is interlaced, else False
.
- Return type:
bool