C4illin / ConvertX

💾 Self-hosted online file converter. Supports 1000+ formats
GNU Affero General Public License v3.0
397 stars 7 forks source link

Feature: Allow choosing compression levels for formats that support them #39

Open EpicLPer opened 3 months ago

EpicLPer commented 3 months ago

Heya,

I'm trying to convert a few files into FLAC, which supports different compression levels. It would be nice if the GUI had an option to choose different levels, as of right now it just uses level 0 which generates rather huge files (compared to OGG).

A bit offtopic to this issue but it might in general be nice to edit the ffmpeg options (maybe as an "Advanced" feature to be enabled via docker variables globally?) or have pre-defined presets you can create :) Right now ffmpeg itself decides what options it'll use by default, which sometimes uses too high of a quality for whatever input file you give it.

Thanks!

C4illin commented 3 months ago

Yes I was thinking of having some options per converter but haven't found the time yet :)

But the default values should be good, for ease of use. Is 0 a good default?

EpicLPer commented 3 months ago

Compression is lossless in this case, it just affects the filesize in the end. Converting a ~8MB OGG to a 50MB FLAC (compression 0) is a bit "too much" in my eyes tho ^^" With higher compressions these go down significantly.