[Insert file modification date]
trim.BC39C432-FC52-4CAB-A958-11AD4A314E8D.MOV
Let me know if you need any modifications!
from moviepy.editor import *
def get_video_metadata(file_path): video = VideoFileClip(file_path) metadata = { 'duration': video.duration, 'resolution': (video.w, video.h), 'frame_rate': video.fps, 'codec': video.codec, } return metadata
QuickTime Movie File (.MOV)
file_path = 'trim.BC39C432-FC52-4CAB-A958-11AD4A314E8D.MOV' metadata = get_video_metadata(file_path) for key, value in metadata.items(): print(f'{key}: {value}')