gianni-rosato / aviator

A lightweight, Flatpak-first, easy-to-use GUI utility for encoding with SVT-AV1 & Opus.
GNU General Public License v3.0
165 stars 15 forks source link

Feature: Convert to pre-defined file size #52

Closed TriVoxel closed 10 months ago

TriVoxel commented 10 months ago

Instead of just CRF, would be nice to have an option to convert to a specific file size. Math can be done to determine the bitrate needed for a specific output file size. This would be useful for something like sharing screencasts on Discord, where the maximum file size limit is 8 MB, or to other social media sites/CDNs. Here's a guide that works for X264. I suspect we could do something similar for AV1, with better results.

Basically, UI is something like this:

Benefits:

gianni-rosato commented 10 months ago

This is much easier said than done. If you're interested in targeting a particular size, see Autocompressor: https://autocompressor.net/ - if I implemented such a feature, I'd want to be able to do it with the polish that this tool has, and this is currently not something I'm capable of doing. I'm going to close this one as not planned because it doesn't necessarily align with the project goals