from moviepy.editor import *
# Load the profile image with starry background
image_path = "/mnt/data/A_digital_portrait_photograph_features_a_young_man.png"
audio_path = "/mnt/data/islamic_nasheed_preview.mp3" # Placeholder (audio must be uploaded or replaced)
output_path = "/mnt/data/Noman_10s_Short_Intro_Video.mp4"
# Create video clip from image
clip = ImageClip(image_path, duration=10)
clip = clip.set_fps(24).resize(height=720)
# Export without audio for now (since no audio file was uploaded)
clip.write_videofile(output_path, codec="libx264", audio=False)
output_path