SqueezeVid

v1.0.0
io.github.tahayusufkomur/squeezevid Checked 4 days ago Published 9 days ago

Platform 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.

ParameterTypeDescription
platformstringPlatform 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.

ParameterTypeDescription
duration_seconds *numberVideo duration in seconds (must be > 0).
audio_bitrate_kbpsintegerDesired audio bitrate in kbps (0 for muted video, default 128).
codecstringTarget video codec (default 'h264' for widest compatibility).
input_size_mbnumberOptional current file size in MB (used to compute reduction % and pick browser WASM vs WebCodecs vs Cloud).
platformstringOptional target platform ('discord', 'whatsapp', 'email', 'tiktok', 'instagram', 'twitter', 'x', 'telegram').
source_resolutionstringOptional source resolution so recommendations never upscale.
target_size_mbnumberMaximum 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).

ParameterTypeDescription
operation *stringMedia operation to build an FFmpeg command for.
audio_formatstringOutput audio format for 'extract_audio'.
crfintegerCRF value for 'compress' (14–40, default 26).
crop_rectstringCrop rectangle 'width:height:x:y' for 'crop' (e.g. '1080:1080:420:0').
end_timestringEnd timestamp for 'trim' (seconds or HH:MM:SS).
fpsintegerFrame rate for 'to_gif' (1–30, default 12).
input_filestringInput filename or path (default 'input.mp4').
output_filestringOptional output filename.
output_formatstringOutput container format for 'convert'.
resolutionstringTarget resolution for 'compress'.
rotationstringRotation direction for 'rotate' (default '90_cw').
speednumberPlayback speed multiplier for 'change_speed' (0.25–4.0, default 2.0).
start_timestringStart timestamp for 'trim' (seconds or HH:MM:SS).
widthintegerWidth 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.

ParameterTypeDescription
task *stringPlain-language description of what the user wants to do (e.g. 'compress 4GB MOV privately', 'convert HEIC to JPG', 'merge PDFs').
file_size_mbnumberOptional file size in MB to route between WASM (<=2 GB), WebCodecs Beta (<=10 GB), and Cloud (<=10 GB).
input_formatstringOptional input extension (e.g. 'mov', 'mkv', 'heic', 'pdf', 'm4a').
localestringPreferred ISO language code (e.g. 'en', 'de', 'es', 'fr', 'pt', 'ja', 'ru', 'tr'). Falls back to 'en' if unavailable.
output_formatstringOptional target extension (e.g. 'mp4', 'gif', 'mp3', 'jpg', 'pdf').
privacy_requiredbooleanPrefer 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.

ParameterTypeDescription
categorystringFilter by tool category (default 'all').
localestringPreferred ISO language code (default 'en').