Dapatkan video panjang python

from moviepy.editor import VideoFileClip
clip = VideoFileClip("my_video.mp4")
print( clip.duration )
Inquisitive Ibis