soundkonverter
soundkonverter copied to clipboard
Opus output gain
The Opus format has a "playback gain" field in the header that sets the album gain, as well as support for track gain set by writing a R128_TRACK_GAIN tag. On windows, foobar2000 would set both instead of writing the usual ALBUM_GAIN/TRACK_GAIN tags, soundkonverter doesn't seem to offer a way to set either.
foobar2000:
Encoded with libopus 1.1
User comments section follows...
TRACKTOTAL=18
tracknumber=9
R128_TRACK_GAIN=0
Opus stream 1:
Pre-skip: 356
Playback gain: -12.5312 dB
Channels: 2
Original sample rate: 44100Hz
Packet duration: 20.0ms (max), 20.0ms (avg), 20.0ms (min)
Page duration: 1000.0ms (max), 1000.0ms (avg), 1000.0ms (min)
Total data length: 4392106 bytes (overhead: 4.77%)
Playback length: 3m:31.986s
Average bitrate: 165.8 kb/s, w/o overhead: 157.9 kb/s
Logical stream 1 ended
Soundkonverter:
Encoded with libopus 1.1.3
User comments section follows...
ENCODER=opusenc from opus-tools 0.1.9
ENCODER_OPTIONS=--bitrate 160 --vbr
TRACKNUMBER=9
TRACKTOTAL=18
Opus stream 1:
Pre-skip: 356
Playback gain: 0 dB
Channels: 2
Original sample rate: 44100Hz
Packet duration: 20.0ms (max), 20.0ms (avg), 20.0ms (min)
Page duration: 1000.0ms (max), 1000.0ms (avg), 1000.0ms (min)
Total data length: 4389274 bytes (overhead: 4.73%)
Playback length: 3m:31.986s
Average bitrate: 165.6 kb/s, w/o overhead: 157.8 kb/s
Logical stream 1 ended
Would it be possible to add support for writing those values to Soundkonverter?
Huh, actually, simply encoding the same file using opusenc directly results in:
Encoded with libopus 1.1.3
User comments section follows...
TRACKTOTAL=18
tracknumber=9
R128_TRACK_GAIN=-69
Opus stream 1:
Pre-skip: 356
Playback gain: -12.2617 dB
Channels: 2
Original sample rate: 44100Hz
Packet duration: 20.0ms (max), 20.0ms (avg), 20.0ms (min)
Page duration: 1000.0ms (max), 1000.0ms (avg), 1000.0ms (min)
Total data length: 4389435 bytes (overhead: 4.74%)
Playback length: 3m:31.986s
Average bitrate: 165.6 kb/s, w/o overhead: 157.8 kb/s
Logical stream 1 ended
So, when using soundKonverter and Opus Tools backend, I should be getting the same results, but I don't...
I came here looking for the same info. Is this a difficult one to fix?