Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Modified vorbis.dll with quality options (Read 4256 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Modified vorbis.dll with quality options

Modified Vorbis.dll

This vorbis.dll has been modified to provide some quality encoding options rather than just the usual bitrate options.

The range of options that I wished to include was not possible because of a bug I discovered in CDex relating to bitrate selection assignments for the vorbis.dll. This bug does not affect any other dll/encoder, ONLY vorbis.dll.

(In short, if you select a Max Bitrate, that value also gets assigned to Min Bitrate - really useful!! If you select a Min Bitrate with Max set to default, then Min Bitrate is ignored because it never gets assigned a value in the code. CDex project at SourceForge has been notified as at Dec 29 2001.)

Functioning of the modified dll:

1.   If you assign Nominal Bitrate, then a normal bitrate encoding occurs at the selected bitrate.

2.   If you select default for the Nominal Bitrate, then Max Bitrate can be used to select a quality setting for encoding as follows:

32kbps = quality 0 = approx 64kbps
40kbps = quality 1
48kbps = quality 2
64kbps = quality 3
80kbps = quality 4
96kbps = quality 5 = approx 160kbps
128kbps = quality 6
160kbps = quality 7
196kbps = quality 8
256kbps = quality 9
350kbps = quality 10 = approx 500kbps

PLEASE NOTE: Through testing this dll, I have used some samples that encoded at 550kbps and the internal buffer that was adjusted in size for RC3 required no further increase in size. It would seem, therefore, that no future changes will be needed to the buffer size.

As and when the bug in CDex has been fixed, I propose to include the Min Bitrate options in much the same way and then be able to provide quality settings from 0 thru 10 in 0.5 increments.

Hope you find this useful.

Updates will normally be available thru: http://www.inf.ufpr.br/~rja00/

The above is copy of the text file included. Both the working dll and sources have been posted. They should be available in the next hour, or so.

john33

Modified vorbis.dll with quality options

Reply #1
It took a long time, but it's already there!
Regards;

Roberto.