from moviepy.editor import VideoFileClip
# Reload the video file after code execution environment reset
video_path = "/mnt/data/a0f0cc7f019bd0f6183eb71ef24d7d6d.mp4"
clip = VideoFileClip(video_path)
# Extract duration and check if audio exists
duration = clip.duration
has_audio = clip.audio is not None
(duration, has_audio)