Video Compressor & Resizer avatar

Video Compressor & Resizer

Pricing

from $35.00 / 1,000 video minute (<=720p)s

Go to Apify Store
Video Compressor & Resizer

Video Compressor & Resizer

Compress and resize video files.

Pricing

from $35.00 / 1,000 video minute (<=720p)s

Rating

0.0

(0)

Developer

Alexander Daskalov

Alexander Daskalov

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Security

Limited permissions

Share

Fast, privacy-focused cloud video compression, resizing, and aspect-ratio reframing powered by FFmpeg. Compress videos to fit strict platform limits (Discord, WhatsApp, Email) or reframe videos for social platforms (TikTok, Instagram Reels, YouTube Shorts) with instant download links.


Key Features

  • Ready-Made Platform Presets:
    • Discord 10MB: Compress video to fit Discord's free upload limit with two-pass bitrate optimization.
    • WhatsApp 16MB: Target the WhatsApp document attachment ceiling.
    • Email 25MB: Perfect for Gmail, Outlook, and standard mail server attachment limits.
    • Web 720p: Fast web delivery with balanced CRF 23 compression and web faststart.
    • Social Vertical (1080x1920): 9:16 reframe for Instagram Reels, TikTok, and YouTube Shorts.
    • Social Square (1080x1080): 1:1 feed posts.
  • Aspect-Ratio Reframing (Fit Modes):
    • contain: Fit the entire video within target dimensions with neat black padding. Never crops footage.
    • cover: Crop edges to fill the target frame completely.
    • stretch: Force exact dimensions.
  • Never Upscales: Small videos are kept at their native resolution when downscaling is requested.
  • Privacy by Default: Automatically strips EXIF data, GPS location coordinates, camera models, and private device tags (-map_metadata -1 -map_chapters -1).
  • Instant Web Playback: Enables -movflags +faststart so output videos stream immediately in browsers without downloading the full file first.
  • Direct Streaming Delivery: Outputs are stored in the run's default Key-Value Store and returned as direct, public download links.

Pricing (Pay-Per-Event)

You only pay for what you compress, billed by the started output minute according to resolution tier:

Resolution TierMax DimensionPrice per Started MinuteNotes
<=720p<= 720p short side$0.035Standard HD and SD compression
1080p<= 1080p short side$0.070Full HD high-definition video
4K> 1080p short side$0.280Ultra HD 4K video processing

Fair Billing Rules

  1. Target Size (Two-Pass): When using targetSizeMb or target-size presets (Discord, WhatsApp, Email), encoding performs two analytical passes to accurately hit file size limits, billing 2 minutes per output minute.
  2. Input Tier Protection: To account for high decode compute overhead, downscaling high-resolution inputs bills at max(output_tier, input_tier - 1). For example, downscaling a 4K input to 720p bills at the 1080p tier ($0.070/min).
  3. Failed / Broken Inputs: Invalid URLs, unreachable links, or non-video files write an informative status record to your dataset and are never charged.

Example Input

Compress for Discord (10 MB target)

{
"videoUrls": [
"https://example.com/gameplay-recording.mp4"
],
"preset": "discord-10mb"
}

Reframe Landscape Video to 9:16 Vertical Reel

{
"videoUrls": [
"https://example.com/landscape-clip.mp4"
],
"width": 1080,
"height": 1920,
"fit": "contain",
"maxFps": 30
}

Advanced Custom Compression

{
"videoUrls": [
"https://example.com/raw-footage.mov"
],
"maxResolution": 720,
"crf": 26,
"mute": true,
"stripMetadata": true
}

Output Dataset Schema

Each processed video produces a structured dataset record:

{
"status": "success",
"url": "https://example.com/gameplay-recording.mp4",
"downloadUrl": "https://api.apify.com/v2/key-value-stores/.../records/compressed-a1b2c3d4.mp4",
"inputSizeMb": 48.5,
"outputSizeMb": 9.8,
"savedPercent": 79.79,
"durationSecs": 58.4,
"inputResolution": "1920x1080",
"outputResolution": "1280x720",
"bitrateKbps": 1340,
"codec": "h264",
"targetHit": true,
"billedMinutes": 2,
"billingTier": "720p",
"timings": {
"downloadSecs": 2.4,
"encodeSecs": 38.1,
"uploadSecs": 1.2,
"totalSecs": 41.7
}
}

Ready-made Video Compressor Tasks

To streamline common workflows, you can run or schedule ready-made task configurations:


FAQ

Where are my compressed videos stored?

Videos are streamed into the run's default Key-Value Store and returned as direct downloadUrl links in your dataset. Under standard Apify retention policies, records in unnamed run stores are preserved for 7 days. If you require permanent hosting, download the files or archive them to your cloud storage.

What sources are supported?

Direct HTTP/HTTPS video links, Google Drive file sharing links ("Anyone with the link"), and Dropbox share links.

What video formats are accepted?

MP4, MOV, MKV, WebM, AVI, FLV, and TS containers using standard H.264, H.265 (HEVC), VP8, VP9, or AV1 codecs. All compressed outputs are standardized to universally compatible H.264 video with AAC audio in an MP4 container.

Is this actor affiliated with Discord, WhatsApp, or FFmpeg?

No. This actor is an independent utility created by bossless and is not affiliated with, endorsed by, or sponsored by Discord Inc., Meta Platforms Inc. (WhatsApp), or the FFmpeg project. FFmpeg is used under the GNU General Public License (GPLv3).