field_count
is 0 for progressive, 1 or 2 for interlaced.
latest_daiy_jam
reference is stolen from caller.
Numerator of the frame rate
Denominator of the frame rate
The latest daily jam of the #GstVideoTimeCode
#GstVideoTimeCodeFlags
the hours field of #GstVideoTimeCode
the minutes field of #GstVideoTimeCode
the seconds field of #GstVideoTimeCode
the frames field of #GstVideoTimeCode
Interlaced video field count
the corresponding #GstVideoTimeCodeConfig
Interlaced video field count
the frames field of #GstVideoTimeCode
the hours field of #GstVideoTimeCode
the minutes field of #GstVideoTimeCode
the seconds field of #GstVideoTimeCode
Adds 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 #GstVideoTimeCodeInterval 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.
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 #GstVideoTimeCode
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 #GstVideoTimeCode
#GstVideoTimeCodeFlags
the hours field of #GstVideoTimeCode
the minutes field of #GstVideoTimeCode
the seconds field of #GstVideoTimeCode
the frames field of #GstVideoTimeCode
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
#GDateTime to convert
#GstVideoTimeCodeFlags
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
#GDateTime to convert
#GstVideoTimeCodeFlags
Interlaced video field count
field_count
is 0 for progressive, 1 or 2 for interlaced.
latest_daiy_jam
reference is stolen from caller.
Numerator of the frame rate
Denominator of the frame rate
The latest daily jam of the #GstVideoTimeCode
#GstVideoTimeCodeFlags
the hours field of #GstVideoTimeCode
the minutes field of #GstVideoTimeCode
the seconds field of #GstVideoTimeCode
the frames field of #GstVideoTimeCode
Interlaced video field count
The resulting config->latest_daily_jam is set to midnight, and timecode is set to the given time.
This might return a completely invalid timecode, use gst_video_time_code_new_from_date_time_full() to ensure that you would get %NULL instead in that case.
Numerator of the frame rate
Denominator of the frame rate
#GDateTime to convert
#GstVideoTimeCodeFlags
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
#GDateTime to convert
#GstVideoTimeCodeFlags
Interlaced video field count
field_count
must be 0 for progressive video and 1 or 2 for interlaced.A representation of a SMPTE time code.
hours
must be positive and less than 24. Will wrap around otherwise.minutes
andseconds
must be positive and less than 60.frames
must be less than or equal toconfig
.fps_n /config
.fps_d These values are NOT automatically normalized.