GstVideo.VideoCodecFrame¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
deadline |
r/w |
Running time when the frame will be used. |
|
decode_frame_number |
r |
||
distance_from_sync |
r/w |
Distance in frames from the last synchronization point. |
|
dts |
r/w |
Decoding timestamp |
|
duration |
r/w |
Duration of the frame |
|
events |
[ |
r |
|
flags |
r |
||
input_buffer |
r/w |
the input |
|
output_buffer |
r/w |
the output |
|
presentation_frame_number |
r |
||
pts |
r/w |
Presentation timestamp |
|
ref_count |
r |
||
system_frame_number |
r/w |
Unique identifier for the frame. Use this if you need to get hold of the frame later (like when data is being decoded). Typical usage in decoders is to set this on the opaque value provided to the library and get back the frame using |
|
user_data |
r |
||
user_data_destroy_notify |
r |
Methods¶
|
|
|
|
|
Details¶
- class GstVideo.VideoCodecFrame¶
A
GstVideo.VideoCodecFrame
represents a video frame both in raw and encoded form.- get_user_data()[source]¶
-
Gets private data set on the frame by the subclass via
GstVideo.VideoCodecFrame.set_user_data
() previously.
- set_user_data(user_data, notify)[source]¶
- Parameters:
notify (
GLib.DestroyNotify
) – aGLib.DestroyNotify
Sets user_data on the frame and the
GLib.DestroyNotify
that will be called when the frame is freed. Allows to attach private data by the subclass to frames.If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.