Skip to content

It creates a metallic-style background, animated logo intro/outro, and text highlights in between. #89

@Atique11511

Description

@Atique11511

from moviepy.editor import *

--- Video Settings ---

WIDTH, HEIGHT = 1920, 1080 # Full HD
DURATION = 30 # 30 seconds

--- Colors / Theme ---

BG_COLOR = (30, 30, 30) # Dark metallic background
TEXT_COLOR = 'silver'

--- Helper: Make Text Clip ---

def make_text(text, fontsize=80, duration=5):
return (TextClip(text, fontsize=fontsize, color=TEXT_COLOR, font="Arial-Bold")
.set_duration(duration)
.set_position("center"))

--- Create Clips ---

clips = []

Intro Logo (0–5s)

intro = make_text("Ziyam Prime Solution", fontsize=100, duration=5)
clips.append(intro)

Text Highlights (5–25s)

clips.append(make_text("High Quality Parts", duration=5))
clips.append(make_text("Direct Fit – Easy Install", duration=5))
clips.append(make_text("Fast & Free Shipping", duration=5))

Outro Logo (25–30s)

outro = make_text("Ziyam Prime Solution", fontsize=100, duration=5)
clips.append(outro)

--- Combine All Clips ---

video = concatenate_videoclips(clips, method="compose")

--- Add Background ---

final = CompositeVideoClip(
[ColorClip(size=(WIDTH, HEIGHT), color=BG_COLOR, duration=DURATION), video.set_position("center")]
)

--- Export Video ---

final.write_videofile("promo_video.mp4", fps=30, codec="libx264", audio=False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions