VideoTimeCode.newFromDateTime

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 gstvideo.video_time_code.VideoTimeCode.newFromDateTimeFull to ensure that you would get null instead in that case.

Parameters

fpsN uint

Numerator of the frame rate

fpsD uint

Denominator of the frame rate

dt glib.date_time.DateTime

#GDateTime to convert

flags gstvideo.types.VideoTimeCodeFlags

#GstVideoTimeCodeFlags

fieldCount uint

Interlaced video field count

Return Value

Type: gstvideo.video_time_code.VideoTimeCode

the #GstVideoTimeCode representation of dt.