๐Ÿ–ผ๏ธ

Video Compress for Zalo

Aggressively compress videos to under 100MB to share via Zalo, WhatsApp, or Email.

Image โญโญ Intermediate โฑ๏ธ 5 minutes

๐Ÿ˜ซ The Pain Point

You recorded a 5-minute tutorial. Itโ€™s 500MB. Zalo limits files to 1GB, but Gmail is 25MB. Uploading 500MB on 4G data takes forever.

๐Ÿš€ Agentic Solution

The Shrinker: Reduces bitrates while keeping resolution.

Key Features:

  • Target Size: โ€œMake this video under 25MBโ€.
  • H.264: Standard compression compatible with all phones.

โš”๏ธ Phase 1: Commander (Quick Fix)

For a single video.

Prompt:

โ€œCompress video.mp4 to ensure it is smaller than 25MB (for Email). Use FFmpeg (via moviepy or subprocess).โ€

Result: Email-ready video.

๐Ÿ—๏ธ Phase 2: Architect (Permanent Tool)

For Office Communication.

Engineering Prompt:

**Role:** Python Multimedia Dev
**Task:** Create a "Video Size Reducer".
**Requirements:**
1.  **GUI:**
    *   Select Video.
    *   Select Target Platform (Email <25MB, Zalo <100MB).
    *   "Compress" button.
2.  **Logic:**
    *   Check original duration.
    *   Calculate Target Bitrate = (Target Size / Duration).
    *   Run FFmpeg command with calculated bitrate.
3.  **Deliverables:** `video_compress.py`, `run.bat` (Windows), `run.sh` (Mac).

๐Ÿง  Prompt Decoding

  • Bitrate Math: File Size is not magic. Itโ€™s Bitrate * Duration. To hit a specific target size (e.g., 25MB), you must calculate the exact bitrate to tell the encoder. The โ€œArchitectโ€ knows this formula.

๐Ÿ› ๏ธ Instructions

  1. Copy Prompt -> Paste -> Run.
  2. Select File -> Target Email -> Compress.

Related Workflows

Explore other categories

๐Ÿ“ฌ

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

๐Ÿ“– Free eBook Guide ๐Ÿ“ฆ 7 Ready-to-use Scripts ๐Ÿ”” Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.