Since 1.10Optionalproperties: Partial<Static$gtypeAdds or subtracts frames amount of frames to tc. tc needs to
contain valid data, as verified by gst_video_time_code_is_valid().
How many frames to add or subtract
This makes a component-wise addition of tc_inter to tc. For example,
adding ("01:02:03:04", "00:01:00:00") will return "01:03:03:04".
When it comes to drop-frame timecodes,
adding ("00:00:00;00", "00:01:00:00") will return "00:01:00;02"
because of drop-frame oddities. However,
adding ("00:09:00;02", "00:01:00:00") will return "00:10:00;00"
because this time we can have an exact minute.
The GstVideo.VideoTimeCodeInterval to add to tc. The interval must contain valid values, except that for drop-frame timecode, it may also contain timecodes which would normally be dropped. These are then corrected to the next reasonable timecode.
A new GstVideo.VideoTimeCode with tc_inter added or null if the interval can't be added.
Initializes tc with empty/zero/NULL values and frees any memory
it might currently use.
Compares tc1 and tc2. If both have latest daily jam information, it is
taken into account. Otherwise, it is assumed that the daily jam of both
tc1 and tc2 was at the same time. Both time codes must be valid.
another valid GstVideo.VideoTimeCode
1 if tc1 is after tc2, -1 if tc1 is before tc2, 0 otherwise.
a new GstVideo.VideoTimeCode with the same values as tc.
how many frames have passed since the daily jam of tc.
Frees tc.
Adds one frame to tc.
field_count is 0 for progressive, 1 or 2 for interlaced.
latest_daiy_jam reference is stolen from caller.
Initializes tc with the given values.
The values are not checked for being in a valid range. To see if your
timecode actually has valid content, use gst_video_time_code_is_valid().
Numerator of the frame rate
Denominator of the frame rate
The latest daily jam of the GstVideo.VideoTimeCode
the hours field of GstVideo.VideoTimeCode
the minutes field of GstVideo.VideoTimeCode
the seconds field of GstVideo.VideoTimeCode
the frames field of GstVideo.VideoTimeCode
Interlaced video field count
The resulting config->latest_daily_jam is set to midnight, and timecode is set to the given time.
Will assert on invalid parameters, use gst_video_time_code_init_from_date_time_full()
for being able to handle invalid parameters.
Numerator of the frame rate
Denominator of the frame rate
GLib.DateTime to convert
Interlaced video field count
The resulting config->latest_daily_jam is set to midnight, and timecode is set to the given time.
Numerator of the frame rate
Denominator of the frame rate
GLib.DateTime to convert
Interlaced video field count
true if tc could be correctly initialized to a valid timecode
whether tc is a valid timecode (supported frame rate, hours/minutes/seconds/frames not overflowing)
how many nsec have passed since the daily jam of tc.
The tc.config->latest_daily_jam is required to be non-NULL.
the GLib.DateTime representation of tc or null if tc has no daily jam.
the SMPTE ST 2059-1:2015 string representation of tc. That will take the form hh:mm:ss:ff. The last separator (between seconds and frames) may vary: ';' for drop-frame, non-interlaced content and for drop-frame interlaced field 2 ',' for drop-frame interlaced field 1 ':' for non-drop-frame, non-interlaced content and for non-drop-frame interlaced field 2 '.' for non-drop-frame interlaced field 1
StaticnewStaticnew_Staticnew_Staticnew_Staticnew_
field_countmust be 0 for progressive video and 1 or 2 for interlaced.A representation of a SMPTE time code.
hoursmust be positive and less than 24. Will wrap around otherwise.minutesandsecondsmust be positive and less than 60.framesmust be less than or equal toconfig.fps_n /config.fps_d These values are NOT automatically normalized.Since
1.10