Help - Search - Members - Calendar
Full Version: Bug or feature ?
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
johanfo
Maybe the Ogg developers should take a look at this ?
I tried to encode a file with 4.99 settings, however discovered that I had to use "," istead for it to actually use the 4.99 setting.
Now, the documentation states:

-q, --quality Specify quality between 0 (low) and 10 (high),
instead of specifying a particular bitrate.
This is the normal mode of operation.
Fractional qualities (e.g. 2.75) are permitted

I know this is probably because in Norway "," is the fractal separator, however I bet this "feature" could mess up a lot of scripts and programs for the Scandinavian people (and probably some others as well).

My suggestion is that the encoder accepts both separators !


C:Documents and SettingsJohan Fredrik OhmanDesktop64kbsGroupTestNewKid>oggenc.exe -q 4.99 newkid.wav
Opening with wav module: WAV file reader
Encoding "newkid.wav" to
"newkid.ogg"
at quality 4,00
[ 99,3%] [ 0m00s remaining]

Done encoding file "newkid.ogg"

File length: 0m 19,0s
Elapsed time: 0m 04,0s
Rate: 4,9103
Average bitrate: 133,0 kb/s


C:Documents and SettingsJohan Fredrik OhmanDesktop64kbsGroupTestNewKid>oggenc.exe -q 4,99 newkid.wav
Opening with wav module: WAV file reader
Encoding "newkid.wav" to
"newkid.ogg"
at quality 4,99
[ 99,3%] [ 0m00s remaining]

Done encoding file "newkid.ogg"

File length: 0m 19,0s
Elapsed time: 0m 04,0s
Rate: 4,9103
Average bitrate: 157,4 kb/s
JohnV
If you go to your windows regional settings, and set the decimal symbol to "." oggenc will use the "."
But yeah, it would be good if both are accepted.
Case
edit: removed.
Case
According to oggenc author my change is classified as bug, only numbers that use form defined in locale setting must be allowed.
johanfo
I liked you patch!

This only leads to U.S scripts not working in Scandinavia and vica versa. ??? Even worse is that oggenc does not tell you that it ignores the fraction! I hope he reconsiders.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.