Compress a video to 10 MB (MP4, 720p)
Compresses a video link to an MP4 aimed at a size you set and shrinks it to 720p. This example turns a 70-second 1080p NASA video of 72,214,235 bytes into a 1280x720 MP4 of 7,445,851 bytes, under the 10 MB target (10,485,760 bytes). $0.05 per started minute of 720p video per file ($0.08 for sources above 1080p); failed files are free.
Input
Output fields
Sign up on Apify or log in
The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor is ready to run with the inputs already set for "Compress a video to 10 MB (MP4, 720p)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Compress a video to 10 MB (MP4, 720p)" task
The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor will start running based on the input automatically. You can also change all the input fields, like files, operation, and more, to match your specific use case.
Receive the "Compress a video to 10 MB (MP4, 720p)" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, source, operation, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Compress a video to 10 MB (MP4, 720p)" task via API.

The compress video task sets the bitrate from the length and the target (1 MB = 1,048,576 bytes) and encodes once more a little lower if the file is bigger; a row note says when it still is. The example came out at 7,445,851 bytes.
The compress video task charges $0.05 per started minute of 720p output per file: the example is 2 minutes, $0.10, plus the $0.0002 start event. Over 30 fps counts twice; $0.015 per started 100 MB beyond the first 100 MB.
The compress video task reads direct links to MP4, MOV, WebM, MKV and other files FFmpeg reads. HEVC (H.265) video, pages of video platforms and HLS playlists are not processed and are free.