πŸ›οΈ Panorama Digital AI

Video Pipeline v2
Manual Book

Panduan Lengkap: Carousel β†’ YouTube Shorts (0 Cost)

πŸ“œ 2 Script Python
πŸ’° $0 Biaya
🎬 3 Format Output
πŸ€– TTS Bahasa Indonesia
01 β€” OVERVIEW

Apa Itu Video Pipeline v2?

Sistem otomatis mengubah carousel Instagram menjadi video YouTube Shorts untuk industri haji & umroh β€” tanpa biaya sepeser pun.

πŸ”„ Pipeline Carousel β†’ Video

Video Pipeline v2 adalah sistem yang mengambil slide carousel (format PNG/JPG) lalu mengubahnya menjadi video YouTube Shorts yang siap upload. Pipeline ini menggunakan dua script utama yang bekerja secara berurutan.

Script 1 β€” Generator: Membuat konten script narasi lengkap dengan hook, body, dan CTA untuk setiap slide. Menghasilkan file JSON yang menjadi input untuk pipeline.

Script 2 β€” Pipeline: Mengkonversi slide menjadi video dengan subtitle burn-in, TTS bahasa Indonesia, background music, hook-first editing, dan teknik looping untuk maximasi retention.

πŸ’‘ Kenapa $0?

Seluruh stack menggunakan tools open-source: FFmpeg (video processing), edge-tts (text-to-speech gratis), dan Pillow/PIL (slide generation). Tidak ada API berbayar, tidak ada subscription.

πŸ› οΈ Tools yang Digunakan

  • 🎬
    FFmpeg β€” Video processing, concat, subtitle burn-in, crossfade
  • πŸ—£οΈ
    edge-tts β€” Text-to-speech bahasa Indonesia (Microsoft Edge, gratis)
  • πŸ–ΌοΈ
    Pillow (PIL) β€” Generasi slide carousel programmatically
  • πŸ“„
    pysrt / ass β€” Konversi subtitle SRT ke ASS untuk styling
πŸ“œ
2
Script Python
πŸ’°
$0
Total Biaya
🎯
3
Format Output
⏱️
~5m
Waktu Generate
02 β€” FITUR

6 Fitur Utama Pipeline

Setiap fitur dirancang untuk maximasi engagement dan retention di YouTube Shorts & TikTok.

πŸ“

Subtitle Burn-in

Subtitle di-hardcode langsung ke video menggunakan pipeline SRT β†’ ASS β†’ FFmpeg. Warna, posisi, dan ukuran bisa dikustomisasi. Font bold putih dengan shadow untuk keterbacaan maksimal.

FFmpeg ASS Filter
🎯

Hook-first Editing

Slide pertama di-zoom 1.6x untuk menciptakan efek "kenaikan" di detik pertama. Teknik ini meningkatkan retention di 3 detik pertama β€” gate kritis algoritma YouTube Shorts.

1.6x Zoom
πŸ”

Teknik Loop

Crossfade dari slide terakhir ke slide pertama menciptakan efek loop seamless. Penonton tidak sadar video berulang β€” menghasilkan rewatch count tinggi yang dihitung algoritma.

Crossfade Loop
πŸ“

Multi-format Export

Export otomatis ke 3 format: 9:16 (YouTube Shorts/Reels/TikTok), 1:1 (Instagram Feed), dan 16:9 (YouTube long-form). Satu command, tiga output.

3 Format Sekaligus
πŸ—£οΈ

Per-slide TTS

Setiap slide mendapat narasi TTS terpisah menggunakan edge-tts. Suara natural bahasa Indonesia, durasi menyesuaikan panjang teks. Waktu slide otomatis sinkron dengan audio.

edge-tts ID
🎡

Mixed Audio (TTS + BGM)

Narasi TTS di-mix dengan background music menggunakan FFmpeg. BGM volume rendah (0.15-0.25) sebagai paduan, TTS tetap dominan. File BGM bisa dikustomisasi.

FFmpeg amix
03 β€” ARSITEKTUR

Arsitektur Pipeline

Alur kerja dari konten mentah hingga video siap upload.

πŸ“ Script Generator
generate_umroh_script.py
β†’
πŸ–ΌοΈ Slide Generator
PIL / carousel-engine
β†’
🎬 Pipeline v2
video_pipeline_v2.py
β†’
πŸ“± 9:16
Shorts / Reels / TikTok
⬜ 1:1
IG Feed
πŸ–₯️ 16:9
YouTube
Setiap langkah bisa dijalankan independen atau secara berurutan via satu perintah

πŸ“¦ Data Flow

Script JSON β†’ Slide PNGs β†’ TTS MP3 per slide β†’ Subtitle SRT β†’ Video MP4 (3 format) β†’ Upload

04 β€” QUICK START

Mulai dari Nol

4 langkah untuk menghasilkan video YouTube Shorts pertama Anda.

1

Generate Script Narasi

Buat script narasi otomatis dengan hook, body, dan CTA untuk setiap slide. Script generator menghasilkan JSON lengkap dengan timing dan teks TTS.

Terminal STEP 1
# Generate script untuk topik umroh
python generate_umroh_script.py \
    --topic "persiapan umroh pemula" \
    --slides 8 \
    --hook-style curiosity \
    --cta-style medium \
    --output ./output/script.json

# Output: ./output/script.json
# Berisi: hook, slides[].text, slides[].narration, cta
2

Generate Slide Carousel

Buat slide PNG dari script menggunakan PIL atau carousel-engine. Slide harus berukuran sesuai format target.

Terminal STEP 2
# Opsi A: Gunakan carousel-engine
python carousel_engine.py \
    --script ./output/script.json \
    --template umroh_gold \
    --output-dir ./output/slides/

# Opsi B: Generate manual dengan PIL
python generate_slides.py \
    --script ./output/script.json \
    --width 1080 --height 1350 \
    --output-dir ./output/slides/

# Output: ./output/slides/slide_01.png ... slide_08.png
3

Generate Video (Pipeline v2)

Jalankan pipeline untuk mengkonversi slides + script menjadi video MP4 dengan semua fitur aktif.

Terminal STEP 3 β€” ALL FLAGS
python video_pipeline_v2.py \
    --slides-dir ./output/slides/ \
    --script ./output/script.json \
    --output-dir ./output/video/ \
    --tts-voice id-ID-ArdiNeural \
    --bgm ./assets/bgm_calm.mp3 \
    --bgm-volume 0.20 \
    --subtitle \
    --subtitle-style "FontName=Arial,FontSize=24,PrimaryColour=&H00FFFFFF" \
    --hook-zoom 1.6 \
    --loop \
    --loop-duration 1.0 \
    --formats 9:16 1:1 16:9 \
    --fps 30 \
    --quality high \
    --all

# Output:
# ./output/video/video_9x16.mp4  (1080x1920)
# ./output/video/video_1x1.mp4   (1080x1080)
# ./output/video/video_16x9.mp4  (1920x1080)
4

Upload ke Platform

Upload video yang dihasilkan ke YouTube Shorts, Instagram Reels, dan TikTok. Gunakan metadata dari script JSON untuk title, description, dan hashtags.

Terminal STEP 4
# YouTube Shorts (dari script.json β†’ metadata)
python upload_youtube.py \
    --video ./output/video/video_9x16.mp4 \
    --title "5 Tips Persiapan Umroh Pemula" \
    --description "#umroh #tips" \
    --tags "umroh,persiapan,tips"

# Instagram Reels
python upload_ig.py \
    --video ./output/video/video_9x16.mp4 \
    --caption "Simak tips umroh! πŸ‘†"

# TikTok
python upload_tiktok.py \
    --video ./output/video/video_9x16.mp4 \
    --caption "Umroh made easy πŸ•Œ"
05 β€” SCRIPT GENERATOR

Mengenal Script Generator

Pilihan hook style, CTA style, dan topic bank untuk menghasilkan narasi yang engaging.

🎣 Hook Styles

Style Contoh Hook Best For Retention Impact
Curiosity "Ternyata ini yang bikin umroh gagal..." Edukasi, tips ⭐⭐⭐⭐⭐
Fear "Jangan pernah umroh tanpa ini!" Checklist, persiapan ⭐⭐⭐⭐⭐
Surprise "Tahukah kamu 90% jamaah salah paham ini?" Mitos vs fakta ⭐⭐⭐⭐
Authority "Sebagai travel consultant 10 tahun..." Review, rekomendasi ⭐⭐⭐⭐
Emotional "Momen ini bikin nangis semua jamaah..." Cerita, pengalaman ⭐⭐⭐⭐⭐

πŸ“’ CTA Styles

Style Contoh CTA Tone Konversi
Soft "Save video ini buat nanti ya!" Santai, friendly Low-Medium
Medium "Follow @panoramanurmecca untuk tips lainnya" Informatif, ajakan Medium-High
Hard "Chat WA sekarang untuk booking!" Urgent, langsung High

πŸ“š Topic Bank

πŸ•Œ

Persiapan Umroh

Checklist perlengkapan, doa-doa, tips visa, packing list, tips kesehatan, budget planning, choosing travel agent.

15+ Topik
πŸ“–

Panduan Ibadah

Tata cara umroh step-by-step, doa di tanah suci, ziarah madinah, tips haji, umroh Ramadhan.

20+ Topik
✈️

Review & Tips

Review hotel dekat Masjidil Haram, tips cuaca, rekomendasi makanan, panduan belanja oleh-oleh.

12+ Topik
06 β€” STRATEGI KONTEN

Content Strategy

Rasio konten optimal dan formula viral untuk video Shorts umroh.

πŸ“Š Rasio Konten Optimal

πŸ“š

70% Edukasi

Panduan, tutorial, penjelasan tata cara. Konten edukasi memiliki shelf life panjang dan performa konsisten di algoritma.

Core Content
πŸ’‘

20% Tips

Tips singkat, hacks, rekomendasi. Format "Top 5" atau "3 Hal yang Harus..." β€” performa tinggi untuk reach baru.

Growth Content
πŸ›οΈ

10% Soft-sell

Promo paket, testimoni, call-to-action. Rendah frekuensinya agar tidak spammy, tapi tetap konversi.

Revenue Content

⚑ Formula Viral Shorts

πŸͺ HOOK
0 β€” 1 detik
β†’
πŸ“– BODY
1 β€” 20 detik
β†’
πŸ“’ CTA
20 β€” 25 detik

Total: 25 detik (sweet spot untuk completion rate tinggi)

πŸ’‘ Prinsip Utama

Video harus menarik dalam 1 detik pertama. Jika penonton tidak stop scrolling, mereka sudah "terjebak." Body harus padat informasi tanpa filler. CTA harus ringan β€” jangan terlalu hard selling di konten edukasi.

07 β€” ALGORITMA 2026

Algoritma YouTube Shorts 2026

Insight algoritma terbaru untuk maximasi reach dan retention.

3 detik

Retention Gate

Algoritma menentukan apakah video layak dipromosikan dalam 3 detik pertama. Hook-first editing (1.6x zoom) membantu melewati gate ini.

>80%

Completion Rate

Video yang ditonton sampai habis (dengan loop) dianggap "selesai" berkali-kali. Completion rate >80% memicu distribusi lebih luas.

πŸ” Loop

Rewatch = Rewind

Teknik crossfade loop membuat penonton menonton ulang tanpa sadar. Setiap rewatch dihitung sebagai view baru oleh algoritma.

πŸ“± Swipe

Swipe Rate

Persentase penonton yang tidak swipe away. Video dengan hook kuat di detik 0-1 memiliki swipe rate rendah = good signal.

πŸ’¬ Engage

Komentar & Share

Video yang memicu diskusi (tips kontroversial, pertanyaan) mendapat boost engagement. Tambahkan pertanyaan di deskripsi.

⏱️ Watch Time

Total Watch Time

Lebih dari views, algoritma mengutamakan total watch time. Video loop 25 detik yang ditonton 3x = 75 detik watch time.

🎯 Best Practices untuk Algoritma

Video 20-30 detik dengan loop. Hook di detik 0 dengan visual menarik. Subtitle burn-in untuk silent viewers (80% menonton tanpa suara). Thumbnail slide pertama harus eye-catching. Gunakan hashtags yang relevan tapi tidak over-tagging (3-5 hashtags).

08 β€” PERINTAH CLI

Command Reference

Referensi lengkap semua flag untuk kedua script.

πŸ“œ generate_umroh_script.py

Flag Tipe Default Deskripsi
--topic str wajib Topik narasi (contoh: "persiapan umroh pemula")
--slides int 7 Jumlah slide yang dihasilkan
--hook-style str curiosity Gaya hook: curiosity, fear, surprise, authority, emotional
--cta-style str medium Gaya CTA: soft, medium, hard
--language str id Bahasa output (id = Bahasa Indonesia)
--output str ./output/script.json Path output JSON script
--template str default Template gaya konten: default, educational, promotional
--verbose flag false Tampilkan detail proses generate

🎬 video_pipeline_v2.py

Flag Tipe Default Deskripsi
--slides-dir str wajib Directory berisi slide PNG/JPG
--script str wajib Path ke script JSON dari generator
--output-dir str ./output/video/ Directory output video
--tts-voice str id-ID-ArdiNeural Voice edge-tts. Opsi: id-ID-ArdiNeural, id-ID-GadisNeural
--bgm str opsional Path ke file background music (MP3)
--bgm-volume float 0.20 Volume BGM (0.0 - 1.0). TTS tetap di volume 1.0
--subtitle flag false Aktifkan subtitle burn-in
--subtitle-style str default ASS Custom ASS style untuk subtitle
--hook-zoom float 1.6 Faktor zoom untuk slide pertama (hook). 1.0 = no zoom
--loop flag false Aktifkan crossfade loop (last β†’ first slide)
--loop-duration float 1.0 Durasi crossfade loop dalam detik
--formats list 9:16 Format output: 9:16, 1:1, 16:9. Bisa multiple.
--fps int 30 Frame per second output video
--quality str high Kualitas: low (CRF 28), medium (CRF 23), high (CRF 18)
--all flag false Generate semua format sekaligus (shortcut untuk --formats 9:16 1:1 16:9)
--slide-duration float auto Durasi per slide. Default: otomatis sesuai panjang TTS
--transition str fade Jenis transisi: fade, slide, none
--verbose flag false Tampilkan detail FFmpeg commands
09 β€” LOKASI DEPLOY

Lokasi Deploy di VPS

Path部署 pipeline di server production.

πŸ–₯️ VPS .155 (Production)
πŸ“ /home/ubuntu/panorama-video-pipeline/
πŸ“„ generate_umroh_script.py
πŸ“„ video_pipeline_v2.py
πŸ“‚ /output/ β€” Hasil generate
πŸ“‚ /assets/ β€” BGM, fonts, templates
πŸ“‚ /templates/ β€” Carousel templates
πŸ–₯️ VPS .114 (Staging)
πŸ“ /home/ubuntu/panorama-video-pipeline/
πŸ“„ generate_umroh_script.py
πŸ“„ video_pipeline_v2.py
πŸ“‚ /output/ β€” Hasil generate
πŸ“‚ /assets/ β€” BGM, fonts, templates
πŸ“‚ /templates/ β€” Carousel templates

πŸ“Œ Catatan Deploy

Pipeline harus di-deploy di server dengan FFmpeg terinstall. Jalankan apt install ffmpeg dan pip install edge-tts pillow pysrt sebagai dependency wajib. VPS .155 adalah production utama, .114 adalah staging untuk testing.