PDA

View Full Version : supporting vorbisgain



Matthew Henry
2005-01-23, 11:03
I tried posting this on Saturday, but it didn't work for some reason. I'll try one mo'
time....


Was driving me crazy having the volume between tracks vary wildly when I listened to my
music collection in shuffle mode, which is the only way I listen to it.
I ran mp3gain (http://mp3gain.sourceforge.net/) on my mp3 files, and that fixed them.
But the .ogg files were still an issue.

I ran vorbisgain (http://sjeng.org/vorbisgain.html), but that had no effect
I thought I'd post this because it took me quite a while to figure out.

TO HAVE SLIMSERVER SUPPORT VORBISGAIN:
Run vorbisgain on your files.

Get the version of oggdec from
http://www.rarewares.org/ogg.html

rename the oggdec.exe in Server\Bin\<os> to oggdec.exe.old
Copy the new oggdec.exe from rarewares there.

Change your convert.conf

....
#ogg mp3 * *
# [oggdec] -Q -o - -R $FILE$ | [lame] --resample 44100 --silent -b $BITRATE$ -r -x - -
ogg mp3 * *
[oggdec] -Q -o - -r $FILE$ | [lame] --resample 44100 --silent -b $BITRATE$ -r -x - -
....

#ogg wav * *
# [oggdec] -Q -o - -R $FILE$
ogg wav * *
[oggdec] -Q -r -o - $FILE$

Restart the server.
Voila. Now VorbisGain tags are supported.
To the powers that be: how about putting the "good" oggdec in the official slimserver
release?

=====
Matthew Henry
http://www.foosland.com



__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

Joshua Uziel
2005-01-23, 15:12
* Matthew Henry <mhenry1384 (AT) yahoo (DOT) com> [050123 10:03]:
> Was driving me crazy having the volume between tracks vary wildly when
> I listened to my music collection in shuffle mode, which is the only
> way I listen to it. I ran mp3gain (http://mp3gain.sourceforge.net/)
> on my mp3 files, and that fixed them. But the .ogg files were still
> an issue.

Yeah, I was wondering about that myself.

> To the powers that be: how about putting the "good" oggdec in the
> official slimserver release?

The solution isn't as easy if you don't run Windows... the rarewares
people only supply windows binaries, and the source includes build info
for Windows but not any other OS. I had a look at the differences
between their oggdec.c and the one from xiph.org, and integrating the
changes will require some effort.

dean
2005-01-26, 22:35
Matthew,

This is a great suggestion. Can you file the information on
http://bugs.slimdevices.com/

Is this special oggdec a version that is going to be released as part
of the official Ogg source distribution?

-dean

On Jan 23, 2005, at 10:03 AM, Matthew Henry wrote:

> I tried posting this on Saturday, but it didn't work for some reason.
> I'll try one mo'
> time....
>
>
> Was driving me crazy having the volume between tracks vary wildly when
> I listened to my
> music collection in shuffle mode, which is the only way I listen to it.
> I ran mp3gain (http://mp3gain.sourceforge.net/) on my mp3 files, and
> that fixed them.
> But the .ogg files were still an issue.
>
> I ran vorbisgain (http://sjeng.org/vorbisgain.html), but that had no
> effect
> I thought I'd post this because it took me quite a while to figure out.
>
> TO HAVE SLIMSERVER SUPPORT VORBISGAIN:
> Run vorbisgain on your files.
>
> Get the version of oggdec from
> http://www.rarewares.org/ogg.html
>
> rename the oggdec.exe in Server\Bin\<os> to oggdec.exe.old
> Copy the new oggdec.exe from rarewares there.
>
> Change your convert.conf
>
> ...
> #ogg mp3 * *
> # [oggdec] -Q -o - -R $FILE$ | [lame] --resample 44100 --silent -b
> $BITRATE$ -r -x - -
> ogg mp3 * *
> [oggdec] -Q -o - -r $FILE$ | [lame] --resample 44100 --silent -b
> $BITRATE$ -r -x - -
> ...
>
> #ogg wav * *
> # [oggdec] -Q -o - -R $FILE$
> ogg wav * *
> [oggdec] -Q -r -o - $FILE$
>
> Restart the server.
> Voila. Now VorbisGain tags are supported.
> To the powers that be: how about putting the "good" oggdec in the
> official slimserver
> release?
>
> =====
> Matthew Henry
> http://www.foosland.com
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
>

Joshua Uziel
2005-01-26, 23:21
* dean blackketter <dean (AT) slimdevices (DOT) com> [050126 21:35]:
> Is this special oggdec a version that is going to be released as part
> of the official Ogg source distribution?

Well, from what I saw out there, it didn't really look like it. Things
like xmms and rhythmbox support the feature, so they might neglect it as
something that isn't crucial. Then again, they might just be waiting
for someone to toss them a patch. Either way, all the source is out
there, the differences need to be brought in and submitted...