SqueezeVid
v1.0.0Platform video upload limits, target-size bitrate & FFmpeg planner, and browser media tool router.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_platform_upload_limits Platform Video Upload Limits
Return verified video file size limits, recommended target sizes, resolutions, official source URLs, and pre-configured zero-upload SqueezeVid URLs for Discord, WhatsApp, Email (Gmail/Outlook), TikTok, Instagram, X (Twitter), and Telegram.
| Parameter | Type | Description |
|---|---|---|
platform | string | Platform name ('discord', 'whatsapp', 'email', 'tiktok', 'instagram', 'twitter', 'x', 'telegram') or 'all'. |
calculate_compression_plan Video Compression Bitrate & FFmpeg Planner
Calculate exact target video/audio bitrates with 5% container safety headroom, recommended resolution (never upscaling), quality assessment, copy-pasteable 1-pass and 2-pass FFmpeg commands, and the best SqueezeVid browser/cloud mode to fit a target size or platform upload cap.
| Parameter | Type | Description |
|---|---|---|
duration_seconds * | number | Video duration in seconds (must be > 0). |
audio_bitrate_kbps | integer | Desired audio bitrate in kbps (0 for muted video, default 128). |
codec | string | Target video codec (default 'h264' for widest compatibility). |
input_size_mb | number | Optional current file size in MB (used to compute reduction % and pick browser WASM vs WebCodecs vs Cloud). |
platform | string | Optional target platform ('discord', 'whatsapp', 'email', 'tiktok', 'instagram', 'twitter', 'x', 'telegram'). |
source_resolution | string | Optional source resolution so recommendations never upscale. |
target_size_mb | number | Maximum desired output file size in MB (optional if platform provides a preset target). |
build_ffmpeg_command Safe FFmpeg Command Builder
Generate a shell-safe, ready-to-run FFmpeg CLI command with flag explanations and a matching zero-upload SqueezeVid browser tool URL for common media tasks (compress, convert, to_gif, gif_to_mp4, extract_audio, trim, crop, mute, rotate, change_speed, reverse).
| Parameter | Type | Description |
|---|---|---|
operation * | string | Media operation to build an FFmpeg command for. |
audio_format | string | Output audio format for 'extract_audio'. |
crf | integer | CRF value for 'compress' (14–40, default 26). |
crop_rect | string | Crop rectangle 'width:height:x:y' for 'crop' (e.g. '1080:1080:420:0'). |
end_time | string | End timestamp for 'trim' (seconds or HH:MM:SS). |
fps | integer | Frame rate for 'to_gif' (1–30, default 12). |
input_file | string | Input filename or path (default 'input.mp4'). |
output_file | string | Optional output filename. |
output_format | string | Output container format for 'convert'. |
resolution | string | Target resolution for 'compress'. |
rotation | string | Rotation direction for 'rotate' (default '90_cw'). |
speed | number | Playback speed multiplier for 'change_speed' (0.25–4.0, default 2.0). |
start_time | string | Start timestamp for 'trim' (seconds or HH:MM:SS). |
width | integer | Width in pixels for 'to_gif' (64–1920, default 480). |
recommend_squeezevid_tool SqueezeVid Tool & Privacy Engine Router
Recommend the best SqueezeVid tool(s) and processing engine (Browser WASM <=2 GB, Large Browser WebCodecs Beta <=10 GB, Cloud <=10 GB, Canvas image, or browser PDF) for a user's media task, file size, format pair, privacy requirement, and locale.
| Parameter | Type | Description |
|---|---|---|
task * | string | Plain-language description of what the user wants to do (e.g. 'compress 4GB MOV privately', 'convert HEIC to JPG', 'merge PDFs'). |
file_size_mb | number | Optional file size in MB to route between WASM (<=2 GB), WebCodecs Beta (<=10 GB), and Cloud (<=10 GB). |
input_format | string | Optional input extension (e.g. 'mov', 'mkv', 'heic', 'pdf', 'm4a'). |
locale | string | Preferred ISO language code (e.g. 'en', 'de', 'es', 'fr', 'pt', 'ja', 'ru', 'tr'). Falls back to 'en' if unavailable. |
output_format | string | Optional target extension (e.g. 'mp4', 'gif', 'mp3', 'jpg', 'pdf'). |
privacy_required | boolean | Prefer zero-upload on-device browser tools (default true). |
list_squeezevid_tools SqueezeVid Tools & Limits Catalog
List SqueezeVid's enabled privacy-first browser and cloud media tools, file size limits, engines, supported formats, pricing summary, and direct URLs.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by tool category (default 'all'). |
locale | string | Preferred ISO language code (default 'en'). |