Video Compressor & Audio Extractor (MP4, MP3) avatar

Video Compressor & Audio Extractor (MP4, MP3)

Pricing

from $30.00 / 1,000 hd minutes

Go to Apify Store
Video Compressor & Audio Extractor (MP4, MP3)

Video Compressor & Audio Extractor (MP4, MP3)

Compress and convert video files (MP4, WebM, MOV) with customizable CRF and resolution presets (4K to 1080p/720p). Extract clean MP3 audio from any video.

Pricing

from $30.00 / 1,000 hd minutes

Rating

0.0

(0)

Developer

Abdul Basit

Abdul Basit

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Video Compressor & Converter

Apify Store LICENSE Free Tier Supported

🚀 Run this Actor on Apify Store — Instant cloud execution with zero setup, zero proxies needed, and free monthly credits.

Make your own videos smaller, shrink them to a target size, convert them to MP4 or WebM, trim them, or save just the sound as MP3. Paste direct file links, or process every video link in a dataset.

What you get

  • 🗜️ Compress with three quality levels, or to at most a size you choose, for example 10 MB.
  • 🔁 Convert MOV, MKV, AVI, WebM and more to MP4 (H.264 video) or WebM (VP8 + Opus).
  • ✂️ Trim the start and end, remove the sound, or save the sound as MP3.
  • 📐 Resize to 1080p, 720p, 480p or 360p. Videos are never enlarged, and upright phone videos stay upright.
  • 🔊 Sound: in MP4, an ordinary AAC sound track (the usual kind in MP4 and MOV files) is kept as it is; other sound is saved as MP3.
  • 💸 Fair: files that can't be read, and compressed results that aren't smaller than your file, are not charged.

How much does it cost?

Pay-per-event pricing: a small start fee per run (it grows with the memory you give the run), plus a fee per started minute of video in each result. A minute counts as HD when the result's short side is above 480 pixels, or your video is larger than 1080p (such as 4K), because large videos take much more computing. Otherwise it counts as SD. MP3 results count as SD. A 20-second clip is billed as 1 minute and a 61-second video as 2. If you trim, only the kept part counts. The Pricing tab shows current prices. You can set a maximum cost per run, and the Actor won't start a video your limit can't cover.

Try it first

The input contains the word sample, which processes a short test video that comes with the Actor. It's billed like any other video (1 minute). Replace it with your own links.

Input example

{
"videoUrls": ["https://example.com/my-video.mov"],
"task": "compress",
"targetSizeMb": 25,
"maxResolution": "720"
}

Output

The new files are saved in the run's key-value store, and the dataset has one row per link:

{
"inputUrl": "https://example.com/my-video.mov",
"status": "done",
"outputUrl": "https://api.apify.com/v2/key-value-stores/.../records/video-0001.mp4",
"inputMB": 84.2,
"outputMB": 23.9,
"savedPercent": 72,
"outputWidth": 1280,
"outputHeight": 720,
"outputSeconds": 95.4,
"billedMinutes": 2,
"billedAs": "hd-minute"
}

Statuses: done, not-smaller (compressing didn't help; free), skipped-limit (not started because of your cost limit; free) and failed (with the reason; free). Anyone who has a file's link may be able to download it.

Limits

  • Up to 500 MB and 60 minutes per file. The result's short side is at most 1080 pixels and its long side at most 1920.
  • Input up to 4K at 60 frames a second. WebM output is for inputs up to 1080p at 60 fps; for larger videos choose MP4. Files over these limits fail with a message and aren't charged.
  • Videos with more than 30 frames a second, such as 60 fps recordings, are saved at 30 fps or less (60 becomes 30, 50 becomes 25).
  • The result has the first video track and the first sound track. Subtitles, extra tracks and file metadata (such as where a phone video was filmed) are removed.
  • With a target size, if the size is too small for the picture you chose, the picture is made smaller so it still looks clean. A result at 480p or lower is billed as SD, unless your video is larger than 1080p. If the video can't fit, it fails with a message and isn't charged.
  • Videos are processed one after another. For long videos, raise the timeout in Run options. A run that was restarted or resurrected skips videos it already finished.
  • Direct file links only. Pages on video sites (such as YouTube or TikTok) and playlist files (HLS, DASH) are refused. Private network addresses are refused too.

Rules

Process only videos you own or have permission to use. This Actor isn't a downloader.

Privacy

Files are processed inside your own Apify run with FFmpeg and aren't sent to another service. The temporary copies are deleted after each video. The Actor runs with limited permissions.

This Actor uses FFmpeg. It is independent and isn't affiliated with the FFmpeg project or any video platform.

Support

Found a bug or need a feature? Open an issue on the Issues tab, and include the run link.


Extend your automation workflows with our companion tools on the Apify Store: