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: Recommended Encoder Versions and Settings (Read 563602 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Recommended Encoder Versions and Settings

Reply #150
Quote
(including spelling and grammar) biggrin.gif. I like the fact that your taking

Careful with those stones.

Recommended Encoder Versions and Settings

Reply #151
Quote
You managed to add in junk that doesn't need to be in here 
[a href="index.php?act=findpost&pid=355230"][{POST_SNAPBACK}][/a]
Added junk? Ah  I have to protest  as all I did was completing the information already in there

Well okay I did add "Advanced Encoder Settings" but I think that's not junk...

Recommended Encoder Versions and Settings

Reply #152
--advanced-encode-option lowpass_frequency=X (where X is the lowpass frequency in khz)

isnt mentioned in the wiki  its my favorite option  i couldn't live without it
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #153
Quote
Quote
Quote
Quote
Sorry, I've been awfully busy lately and haven't visited for a week or so.  I'll update it very soon. [{POST_SNAPBACK}][/a]

Maybe you can consider moving the recommendation list to the Knowledge Base? That way, several people could contribute to keep it up-to-date. Also, people would keep a close look to make sure noone messes it up.
[a href="index.php?act=findpost&pid=318302"][{POST_SNAPBACK}][/a]

That's a good idea.  I'll look into that then.
[a href="index.php?act=findpost&pid=318303"][{POST_SNAPBACK}][/a]

Most of the first posting has been placed into [a href="http://wiki.hydrogenaudio.org/index.php?title=Recommended_Ogg_Vorbis]this wiki page[/url]. It seems to have acquire a life of its own  so would someone please check up on that page?

Thanx.
[a href="index.php?act=findpost&pid=355226"][{POST_SNAPBACK}][/a]



Looks superb.  Many thanks to everyone who helped create and maintain the wiki.  It is very much appreciated.  Now I don't have to worry about being the only person to update it whenever John33 decides to change versions or a few URLs without me knowing


EDIT:  There is one thing that may be confusing to the average user and may require further explanation in a footnote.  I think the terms "channel coupling" and "noise normalisation" need to be explained a bit, so the average user can make an informed decision on what q to use.  They won't know whether it is good or bad, if you know what I mean.

Recommended Encoder Versions and Settings

Reply #154
Quote
--advanced-encode-option lowpass_frequency=X (where X is the lowpass frequency in khz)

isnt mentioned in the wiki  its my favorite option   i couldn't live without it
[a href="index.php?act=findpost&pid=355946"][{POST_SNAPBACK}][/a]


The problem is that changing it may not be "recommended" for average users.

 

Recommended Encoder Versions and Settings

Reply #155
Quote
--advanced-encode-option lowpass_frequency=X (where X is the lowpass frequency in khz)

isnt mentioned in the wiki  its my favorite option   i couldn't live without it
[a href="index.php?act=findpost&pid=355946"][{POST_SNAPBACK}][/a]
But what problem does it solve, actually? I mean I put in INT and ITP because they try to fix problems (Pre-Echo and Microattack, respectively).

Recommended Encoder Versions and Settings

Reply #156
Quote
EDIT:  There is one thing that may be confusing to the average user and may require further explanation in a footnote.  I think the terms "channel coupling" and "noise normalisation" need to be explained a bit, so the average user can make an informed decision on what q to use.  They won't know whether it is good or bad, if you know what I mean.[{POST_SNAPBACK}][/a]
And I don't really know what they mean  I mean, I know the concept, but I'm afraid I will write it mistakenly.

However, I have replaced the plain column title with a Wiki internal link, which you can [a href="http://wiki.hydrogenaudio.org/index.php?title=Recommended_Ogg_Vorbis#Recommended_Encoder_Settings]see here[/url]. So. Will someone please click on those links and write something correct?

Recommended Encoder Versions and Settings

Reply #157
Quote
Quote
--advanced-encode-option lowpass_frequency=X (where X is the lowpass frequency in khz)

isnt mentioned in the wiki  its my favorite option   i couldn't live without it
[a href="index.php?act=findpost&pid=355946"][{POST_SNAPBACK}][/a]
But what problem does it solve, actually? I mean I put in INT and ITP because they try to fix problems (Pre-Echo and Microattack, respectively).
[a href="index.php?act=findpost&pid=356026"][{POST_SNAPBACK}][/a]

*it fixes the muffeled sound issue at low quality settings (like q0) 
*of course it has the side effect of adding a bit more artifacts in the upper frequencies when moved up higher than the default 
*can be used to set a custom bandwidth at any given bitrate (higher or lower)  i remember reading (quite a long time ago, and i dont know where) some opinions that the lowpass fillter was set to high at q -1

it might not be 'recomended' for average users... but then again, average users probably wouldn't mess with it anyways
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #158
Quote
Quote
Quote
--advanced-encode-option lowpass_frequency=X (where X is the lowpass frequency in khz)

isnt mentioned in the wiki  its my favorite option   i couldn't live without it
[a href="index.php?act=findpost&pid=355946"][{POST_SNAPBACK}][/a]
But what problem does it solve, actually? I mean I put in INT and ITP because they try to fix problems (Pre-Echo and Microattack, respectively).
[a href="index.php?act=findpost&pid=356026"][{POST_SNAPBACK}][/a]

*it fixes the muffeled sound issue at low quality settings (like q0) 
*of course it has the side effect of adding a bit more artifacts in the upper frequencies when moved up higher than the default 
*can be used to set a custom bandwidth at any given bitrate (higher or lower)  i remember reading (quite a long time ago, and i dont know where) some opinions that the lowpass fillter was set to high at q -1

it might not be 'recomended' for average users... but then again, average users probably wouldn't mess with it anyways [a href="index.php?act=findpost&pid=356210"][{POST_SNAPBACK}][/a]
Well the section title does say "Advanced Encoder Settings"...

If you can distill the benefit of lowpass_frequency into one line, I think you can add it to the wiki page. Don't worry about formatting, I'll beautify it for you    Or PM me and I'll put it in.

Recommended Encoder Versions and Settings

Reply #159
Quote
Well the section title does say "Advanced Encoder Settings"...[a href="index.php?act=findpost&pid=356449"][{POST_SNAPBACK}][/a]
i think it might also be nice to have a table with the default lowpass values for the quality values, but i think they are different for libvorbis and aotuv, do you think that would be a good and informative addition? i can make a list of them pretty easily if it would be a good idea.. they are all floating point values, so maybe just rounding them to the nearest tenth or hundredth?

Headline: "Adjusting the Lowpass frequency"

(being a new member, i would rather stay away from adding to the wiki for now  )
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #160
Quote
i think it might also be nice to have a table with the default lowpass values for the quality values, but i think they are different for libvorbis and aotuv, do you think that would be a good and informative addition? i can make a list of them pretty easily if it would be a good idea.. they are all floating point values, so maybe just rounding them to the nearest tenth or hundredth?

Headline: "Adjusting the Lowpass frequency"

(being a new member, i would rather stay away from adding to the wiki for now  )
[a href="index.php?act=findpost&pid=356455"][{POST_SNAPBACK}][/a]
Good headline unfortunately it doesn't really show the usefulness of adjusting the Lowpass frequency.

I suggest the title should be "Fixing Muffled Sound at Low q"

If you don't want to edit the wiki that's okay... um do you see how many posts I have made before editing the wiki? Heh I'm just as new as you 

Anyhoo, do post the table here (in this forum). I think you can round it to the nearest integer. I think a 0.1 Hz difference should not be significantly different. And I don't know if Xiph's and aoTuV's are different.

And if possible, also do a 1-paragraph writeup of when you use the switch, what's its effect, what encoder version is used, etc.

Recommended Encoder Versions and Settings

Reply #161
Quote
The problem is that changing it may not be "recommended" for average users.


No that's why we are going to stay clear of it and not mention it at all (adjusting the sliding lowpass filter can cause inherient problems too). If you want to know though I think it's around 18 kHz for -q 4 and above that it's really of no importance. -q 0 is around 15 kHz. I did write a page in reguard to Noise Normalization a long time ago it's there. It's under Noise normalization. Aoyumi fixed the switching levels too for it. It's much lower than I thought it was last time I checked.

Quote
*it fixes the muffeled sound issue at low quality settings (like q0)


-q 0 actually sounds quite well for streaming IMO. If there wasn't Noise Normalization it would sound much worse. The noise is pleasing to my ears.
budding I.T professional

Recommended Encoder Versions and Settings

Reply #162
the lowpass at q4 was 20khz, aotuv has it at 18.3khz
q3 was at 18khz, aotuv is at 17.2
q0 is the same in both I think

(I'm making a table of the lowpass frequencies at the whole number quality values, and sample rates... this is gonna take me a little while  )

q0 is good for streaming cause of the bitrate, but IMO a 15khz cutoff is way to low

have any of you even tried q0 with out the cutoff at all? (don't compare it to the original, compare it to other codecs at the same bitrate) (do it with pop, rock doesn't do as good  )
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #163
Quote
(I'm making a table of the lowpass frequencies at the whole number quality values, and sample rates... this is gonna take me a little while lalala.gif )


That's absurd. If you really have to go ahead, but add it in as 5th column.  People shouldn't touch it period.  Forget about sampling rates. If you are going to do that you might as well just tell people what type of block switching mode it uses for various sampling rates. That's going over board and is more information then people need to know about.
budding I.T professional

Recommended Encoder Versions and Settings

Reply #164
ogg vorbis lowpass frequency:
the first column is the quality setting (-q)
the top row is the samplerates( 8999- means everything below 9000hz, 9000+ means that the lowpass frequencies in its column are valit untill it reaches the next 'step' in samplerate which would be 15000, etc.)
lowpass frequencies are in KHz
Code: [Select]
Qual\SR 8999-   9000+   15000+  19000+  26000+  40000+
------------------------------------------------------
-2      2.6     4.0     6.0     8.5     12.0    13.2
-1      3.0     4.5     6.5     9.5     12.6    14.8
0       4.0     5.5     7.5     10.5    13.0    15.1
1       4.0     8.0     10.4    13.1    13.0    15.8
2       4.0     10.4    15.3    17.3    14.0    16.5
3       4.0     12.9    20.2    21.6    15.0    17.2
4       4.0     15.3    25.1    25.8    99.0    18.3
5       4.0     17.8    30.0    30.0    99.0    20.1
6       4.0     20.2    43.8    43.8    99.0    48.0
7       4.0     22.7    57.6    57.6    99.0    999
8       4.0     25.1    71.4    71.4    99.0    999
9       4.0     27.6    85.2    85.2    99.0    999
10      4.0     30.0    99.0    99.0    99.0    999
This table is valid for Sample Rates of 6000-96000.
(I didn't test beyond that.)
OggEnc v2.6 (Lancer 20051121 based on aoTuV b4b)

Note: The lowpass frequencies were slightly higher in older versions, like oggenc v1.0.1. At 44100hz: q3 17.9, q4 20.5.

Note2: More info is a good thing  I personally got some good knowledge from creating this table.

edit: added a better explanation of how to read the table.. i hope
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #165
Look, when you go above q5, it seems Ogg Vorbis has been designed for dogs.  But, I'm confident that these Japanese tweakers knew what they were doing in setting lowpass values.  Is it the judgment of the best codec engineers that high figures for the lowpass will improve quality even for people who cannot hear 20 khz?

Recommended Encoder Versions and Settings

Reply #166
one thing to keep in mind, 44100hz sample rate audio can only produce a max audio frequency of 22050hz, so once the lowpass filter goes above that mark, it no longer has any effect.

if you can't hear to 20khz then setting the lowpass filter above that won't improve how you hear it, increasing the bitrate would though. on the other hand, maybe your dogs would enjoy the really high frequencies
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #167
Quote
Code: [Select]
Qual\SR 8999-   9000+   15000+  19000+  26000+  40000+
------------------------------------------------------
-2      2.6     4.0     6.0     8.5     12.0    13.2
-1      3.0     4.5     6.5     9.5     12.6    14.8
0       4.0     5.5     7.5     10.5    13.0    15.1
1       4.0     8.0     10.4    13.1    13.0    15.8
2       4.0     10.4    15.3    17.3    14.0    16.5
3       4.0     12.9    20.2    21.6    15.0    17.2
4       4.0     15.3    25.1    25.8    99.0    18.3
5       4.0     17.8    30.0    30.0    99.0    20.1
6       4.0     20.2    43.8    43.8    99.0    48.0
7       4.0     22.7    57.6    57.6    99.0    999
8       4.0     25.1    71.4    71.4    99.0    999
9       4.0     27.6    85.2    85.2    99.0    999
10      4.0     30.0    99.0    99.0    99.0    999
[a href="index.php?act=findpost&pid=357461"][{POST_SNAPBACK}][/a]
Uhhh... I don't really understand what the numbers mean... care to explain?

Recommended Encoder Versions and Settings

Reply #168
Quote
Look, when you go above q5, it seems Ogg Vorbis has been designed for dogs. But, I'm confident that these Japanese tweakers knew what they were doing in setting lowpass values. Is it the judgment of the best codec engineers that high figures for the lowpass will improve quality even for people who cannot hear 20 khz?


the lowpass filter is a "sliding lowpass" filter. What that means basically is that adjusted via a template for a specific quality level.  There is no reason to touch. Any reason would just assert "magical thinking". 999 means that there is no lowpass filter applied. It's the kind of that that whips people into frenzy.  If people are concerned about it then they should only use a -q 5 and up.

Quote
if you can't hear to 20khz then setting the lowpass filter above that won't improve how you hear it, increasing the bitrate would though. on the other hand, maybe your dogs would enjoy the really high frequencies


I don't think people have a "sub-sonic" hearing. There are discussions about this for legimate technical purposes all of the time for various other reasons. Streaming purposes you don't need to reconstruct the upper half of the spectrum.  The encoder has precomputed channel coupling point just like it has a precomputed lowpass filter setting. It's no coincidence that it was designed that way for a specific purpose.  Therefore this isn't going to be mentioned on recommended settings page.

"oggenc2 -q 0 --advanced-encode-option lowpass_frequency=999"

By doing this you are just forcing the encoder allocate less bits to each band and making the Noise Normalization code redistribute by band noise energy more. If you want to do this, that's fine but don't spread bad information... again "Magical Thinking".
budding I.T professional

Recommended Encoder Versions and Settings

Reply #169
Quote
... "sliding lowpass" filter... no reason to touch...[that] whips people into frenzy...

Thanks very much, HotshotGG; I do now understand (sorta).
I remember Dibrom wringing his hands over how people would misuse options in LAME.
I especially enjoyed the contest to use LAME options to create the worst sounding files possible. Subsequently many of those options were removed!
BTW, I hope people have noticed that Aoyumi has posted on page 7 of the news discussion about the latest 128 kbps codec shootout.

Recommended Encoder Versions and Settings

Reply #170
Quote
Thanks very much, HotshotGG; I do now understand (sorta).
I remember Dibrom wringing his hands over how people would misuse options in LAME.
I especially enjoyed the contest to use LAME options to create the worst sounding files possible. Subsequently many of those options were removed!
BTW, I hope people have noticed that Aoyumi has posted on page 7 of the news discussion about the latest 128 kbps codec shootout.


That's one reason why Vorbis doesn't have many advanced-encode options with the exception of a few.  The encoder control interfaces allows developers to add more for various "tweaking" purposes, but the end users end up playing around with them too much or start creating this ridiculous tweaks that they believe really do make a difference for their own purposes. The whole goal is to simplify the encoder for the average user that's why -q switches are used in Vorbis and to give the technically astute user a little more freedom, but nothing that's going to alter the zeitgeist of encoding. Yes, you are right LAME was a perfect example of this. One people start altering the ATH levels then you know you are in trouble. 
budding I.T professional

Recommended Encoder Versions and Settings

Reply #171
the problem with that view....

oggenc input.wav output.ogg
^ is the only thing anyone should use, since it is the default that the developers chose

and
lame infile.wav outfile.mp3
also because its the default that the devs chose

the same goes for our own computers.
who doesnt have a custom wallpaper... its not the default that the developers chose.
etc. etc.

everyone has their own favorite encoding settings, so everyone has their own 'recomended' settings, I am just sharing mine.  what is the best settings for one person, is probably not the best settings for another. I have never bought into the whole 'if you move up the lowpass filter you end up with crap above and crap below' and I never will.

i like my encoding setting: oggenc2 -q 0 --advanced-encode-option lowpass_frequency=999
and often i have to listen quite closely to be able to hear a difference from the original (i can hear up to around 21khz, so I am far from deaf)
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #172
Ahh... generally reformatted the Wiki page for this thread. Check it out here.

Annnddd... one thing still irks me: If only the OggDropXPd manual is done  ... well anyways I created a stub for OggDropXPd you can check here, there's a section I call "Manual".

If someone would be kind enough to write the details down there... I'm at my office PC and it has no OggDropXPd... yet!

I still don't get the lowpass filter switch... if it accepts only one parameter, then how do I specify the lowpass freq?

Recommended Encoder Versions and Settings

Reply #173
Quote
I still don't get the lowpass filter switch... if it accepts only one parameter, then how do I specify the lowpass freq?
[a href="index.php?act=findpost&pid=358278"][{POST_SNAPBACK}][/a]

lowpass_frequency=XX is the paramer to --advanced-encode-option
XX is the lowpass frequency in KHz, so you can use stuff like 17.98245 for a lowpass frequency

oggenc -q 0 --advanced-encode-option lowpass_frequency=18 input.wav

^^ just copy and paste  encodes at quality 0 with a lowpass of 18khz
Vorbis-q0-lowpass99
lame3.93.1-q5-V9-k-nspsytune

Recommended Encoder Versions and Settings

Reply #174
Quote
I still don't get the lowpass filter switch... if it accepts only one parameter, then how do I specify the lowpass freq?


it doesn't belong in the wiki if you add any information related to I will remove it. Zealous magical thinking doesn't outweigh the needs of many. I will make a note of it though, but I more than willing to bet QuantumKnot would agree with me 120% anyway.

Quote
Annnddd... one thing still irks me: If only the OggDropXPd manual is done tongue.gif ... well anyways I created a stub for OggDropXPd you can check here, there's a section I call "Manual".


The page looks good.  . Keep working on it.
budding I.T professional