desbma / r128gain

Fast audio loudness scanner & tagger (ReplayGain v2 / R128)
GNU Lesser General Public License v2.1
170 stars 9 forks source link

Support for Opus format #26

Closed drtrigon closed 3 years ago

drtrigon commented 3 years ago

I have here a ogg/oga file using following codec (according to VLC):

Opus Audio / Stereo / 48000 Hz / 32 bits (per Sample)

When I try to tag this file by using r128gain it starts and then immediately exists silently - there is no error, no warning or any other message/hint printed.

Can you please add or fix support for the opus format?

desbma commented 3 years ago

Opus is supported and should work fine.

drtrigon commented 3 years ago

here is the ouput:

>r128gain.exe -v debug -r .
2021-01-13 10:18:44,500 MainThread: Detected FFmpeg lib versions: libavutil: 56.31.100, libavcodec: 58.54.100, libavformat: 58.29.100, libavdevice: 58.8.100, libavfilter: 7.57.100, libswscale: 5.5.100, libswresample: 3.5.100, libpostproc: 55.5.100

(for a short moment there seems to be a file listed with progress bar, but it vanished immediately after showing up)

desbma commented 3 years ago

I can not reproduce that issue. Does it also occurs for different audio formats ?

drtrigon commented 3 years ago

I usually use ogg/vorbis and usually it works. This filewads the first ogg that did not work. Looking closer reveiled it to be opus, so I considered that to be the issue. But may be the file was somewhat corrupt... ? The thing is it does play without issue...

desbma commented 3 years ago

Can you upload that file and post a link here so i can look at it?

drtrigon commented 3 years ago

That is not possible: meanwhile I somehow fixed the file such that I was able to tag, but after that I deleted the original. I looked searched the web, but the version that caused these issues is gone now. May be it was indeed just a buggy file. Sorry for that!

But you are right and I can confirm that opus format works in general.