A visual helper tool for alpha-video-cli.
This web utility allows users to drag and drop a folder of PNG frames to automatically detect file patterns, calculate frame rates, preview the animation sequence, and generate the precise CLI command required for encoding.
- 1. Purpose
- 2. Key Features
- 3. Usage
- 4. Privacy and Security
- 5. Browser Limitations (File Paths)
- 6. Requirements
- 7. License
The alpha-video-cli tool requires specific flags for input paths, frame rate (FPS), and file patterns (e.g., Sequence_%05d.png). Writing these manually can be error-prone.
This web helper solves that by analyzing your local files client-side and constructing the exact command string for you.
- Drag & Drop Analysis: Instantly reads a folder to find PNG sequences.
- Pattern Detection: Automatically determines the
printfstyle pattern (e.g.,%05d) and start/end frame numbers. - FPS Auto-Detection: Infers the likely frame rate (30, 60, 50, 24) based on the total frame count.
- Transparency Verification: Automatically scans source frames to verify they contain an alpha channel, preventing accidental encoding of opaque videos.
- Live Preview: Plays the animation loop in a canvas to verify continuity before encoding.
- Smart Defaults: Pre-configures quality settings (WebM: 50, HEVC: 90) to match the CLI defaults.
- One-Click Copy: Generates a ready-to-run terminal command.
- Open the tool: https://rethink-js.github.io/alpha-video-cli-web-helper
- Drag and drop your folder containing the PNG sequence onto the drop zone.
- Review the auto-detected settings (FPS, Pattern, Start/End).
- (Optional) Adjust quality sliders or output paths in "Advanced Settings".
- Click Copy Command.
- Paste the command into your terminal to run the encoder.
This tool is designed with a strict Client-Side Only architecture.
- No Uploads: Your images and folders are processed strictly within your browser's memory using the File System API.
- No External Calls: No assets are sent to a cloud server or third-party service.
- Local Execution: All logic runs locally on your machine.
Due to modern browser security standards, web pages cannot read the full absolute path of files on your hard drive (e.g., /Users/username/Desktop/project/frames). They can only see the relative folder name (e.g., frames).
How to handle this:
- The tool will auto-fill a relative path (e.g.,
./frames). - If you are running the terminal command from the parent directory of your frames, this works immediately.
- If not, you must update the
--inputpath in the terminal.
Tip: In macOS Terminal, you can drag and drop a folder from Finder directly into the terminal window to paste its absolute path.
- A modern web browser with JavaScript enabled (Chrome, Safari, Firefox, Edge).
- The
alpha-video-clitool installed on your machine to run the generated commands.
To install the CLI:
npm install -g @rethink-js/alpha-video-cliMIT License
GitHub: https://github.com/Rethink-JS/alpha-video-cli-web-helper
by Rethink JS