xiph / opus-tools

A set of tools to encode, inspect, and decode audio in the Opus format.
https://opus-codec.org/
Other
212 stars 78 forks source link

opusenc: Add gain setting options #73

Open 9d8 opened 1 year ago

9d8 commented 1 year ago

Added the options --output-gain, --track-gain, and --album-gain to opusenc to directly set the gain for an opus file.

I'm aware that opusenc can currently set the gain data of an opus if the input flac contains ReplayGain tags. Though this change makes it much easier to set the gain for files that don't have existing ReplayGain metadata.