Mathew Jordan
Mathew Jordan
AGentZ Revenue Vault ⚡
⚡ Modul Gratis #3 • ⏱ 10-Min Read & Deploy • AI Video Engine & Remotion

AI Video Editor & Remotion Pipeline: Auto-Render 30 Video/Hari

Blueprint pipeline kode untuk memotong podcast/YouTube panjang menjadi video vertikal siap tayang dengan subtitle dinamis, visual crop tracking, dan zero watermark.

Oleh Mathew Jordan • Update September 2026

Mengedit video secara manual memakan waktu rata-rata 3 sampai 4 jam per video. Jika Anda ingin memposting 2-3 reel per hari di YouTube Shorts, TikTok, dan Instagram, tim editing Anda akan kewalahan.

Dengan pendekatan Programmatic Video Editing (Remotion + Python), video dirender sebagai kode React & FFmpeg. Anda bisa memproduksi ratusan variasi hook hanya dengan mengubah file JSON.

⚙️ Arsitektur 8-Layer Pipeline: Scene Detect ➔ Face Tracking ➔ Whisper Timestamp ➔ Hook Scorer ➔ Graphic Overlays ➔ Audio Mastering ➔ OTIO Export ➔ Remotion Cloud Render.


1

Remotion Subtitle Component (React)

Berikut komponen React Remotion untuk merender auto-highlighting karaoke subtitles:

Captions.tsx (Remotion React Component)
import { useCurrentFrame, useVideoConfig } from 'remotion';

export const DynamicSubtitle = ({ words, currentTimeMs }: { words: any[], currentTimeMs: number }) => {
  return (
    <div style={{
      position: 'absolute',
      bottom: 220,
      width: '100%',
      display: 'flex',
      justifyContent: 'center',
      padding: '0 40px',
      textAlign: 'center'
    }}>
      <div style={{
        fontFamily: 'Roboto Mono, monospace',
        fontSize: 52,
        fontWeight: 900,
        textTransform: 'uppercase',
        lineHeight: 1.2,
        color: '#FFFFFF',
        textShadow: '0 4px 12px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6)'
      }}>
        {words.map((w, i) => {
          const isActive = currentTimeMs >= w.start && currentTimeMs <= w.end;
          return (
            <span
              key={i}
              style={{
                color: isActive ? '#FFCA3A' : '#FFFFFF',
                transform: isActive ? 'scale(1.1)' : 'scale(1)',
                display: 'inline-block',
                marginRight: 12,
                transition: 'all 0.1s ease'
              }}
            >
              {w.text}
            </span>
          );
        })}
      </div>
    </div>
  );
};
2

Auto-Crop 16:9 to 9:16 Script (Python & FFmpeg)

autocrop.py (FFmpeg Vertical Converter)
import subprocess

def crop_to_vertical(input_file, output_file):
    """
    Crops a 1920x1080 horizontal video to 1080x1920 centered vertical format
    """
    cmd = [
        'ffmpeg', '-y',
        '-i', input_file,
        '-vf', 'crop=ih*(9/16):ih,scale=1080:1920,setsar=1',
        '-c:v', 'libx264', '-crf', '18', '-preset', 'fast',
        '-c:a', 'aac', '-b:a', '192k',
        output_file
    ]
    subprocess.run(cmd, check=True)
    print(f"✅ Rendered vertical clip: {output_file}")

# crop_to_vertical("raw_podcast.mp4", "short_clip.mp4")

⚠️ Realita: Video Viral Tanpa Funnel = Zero Revenue

Mampu merender 30 video sehari adalah keunggulan produksi yang luar biasa. Namun views jutaan tidak ada artinya jika Anda tidak memiliki Lead Capture Bridge (seperti DM keyword opt-in atau WhatsApp CRM) yang mengonversi penonton menjadi pembeli berbayar.

🔥 MONETIZE YOUR CONTENT

Hubungkan Konten Video Anda ke Revenue Engine

Booking 15-Minute Free Revenue Leak Audit untuk memetakan bagaimana traffic video Anda bisa diotomasi menjadi sales appointment setiap hari.