VideoTimeCode.newFromDateTimeFull

gstvideo.video_time_code.VideoTimeCode newFromDateTimeFull(uint fpsN, uint fpsD, glib.date_time.DateTime dt, gstvideo.types.VideoTimeCodeFlags flags, uint fieldCount)

The resulting config->latest_daily_jam is set to midnight, and timecode is set to the given time.

Parameters

fpsNNumerator of the frame rate
fpsDDenominator of the frame rate
dt#GDateTime to convert
flags#GstVideoTimeCodeFlags
fieldCountInterlaced video field count

Returns

the #GstVideoTimeCode representation of dt, or null if

no valid timecode could be created.