![]() ![]() |
Sep 24 2003, 12:40 PM
Post
#1
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
Here is a mailing-list archive entry about the Speex voice-compression codec, where it details how to enable and use this new and vastly improved speech compression with Half-Life. It will eventually replace the existing voice-compression, and become the only option. Until then, it is not the default option, but available for all Steam-powered servers. In general, reducing bandwidth usage for voice down to 6000 bits/second (quality 2) still sounds better than the current codec, while truly high levels of compression (2400 bits/second) sounds equivilantly bad, but in a different way than the current compression method.
As a quick comparison, it used anywhere from 7.5% as much bandwidth to 47.5% as much bandwidth as the current 'voice' compression, and at less than 25% the bandwidth usage sounds generally better than the current voice compression. It does use a higher portion of server CPU, but only 1-2% in most of my tests. And as Yet Another Note: 56k modems generally have around 20000 bits/second of upload space available, and around 40000 bits/second of download space available, once you factor in TCP/IP and PPP headers and everything else. So these new codecs are MUCH more friendly for modem users. Unfortunately, it's only available for Steam-compatable servers. Anyways, for those that don't want to read that mailing-list for more information, here you go: First, switch your server to use the Speex encoder: sv_voicecodec voice_speex Now, you're running in Speex mode. The next choice is how much bandwidth do you want Speex to use, which is a direct trade-off with the voice quality. sv_voicequality 1 //2,400 bits/sec, 7.5% of current usage sv_voicequality 2 //6,000 bits/sec, 18.75% of current usage <-- Ideal Choice sv_voicequality 3 //8,000 bits/sec, 25% of current usage sv_voicequality 4 //11,200 bits/sec, 35% of current usage sv_voicequality 5 //15,200 bits/sec, 47.5% of current usage And for comparison, the original MILES 'codec' which is 32000 bits/second, and the untouched base sample I used for this test, which is 128000 bits/second, for your convenience. Heavilly edited to make convenient links for the comparison values, and more information on bandwidth consumption. Removed all other messages in thread except those holding files, moving all information up to this post. This post has been edited by WolfWings: Oct 4 2003, 07:36 PM -------------------- ![]() |
|
|
|
Sep 24 2003, 12:41 PM
Post
#2
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
sv_voicequality 1, 2400 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:11 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 24 2003, 12:41 PM
Post
#3
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
sv_voicequality 2, 6000 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:10 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 24 2003, 12:41 PM
Post
#4
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
sv_voicequality 3, 8000 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:10 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 24 2003, 12:42 PM
Post
#5
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
sv_voicequality 4, 11200 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:10 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 24 2003, 12:42 PM
Post
#6
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
sv_voicequality 5, 15200 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:10 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 25 2003, 01:19 AM
Post
#7
|
|
|
Dark Queen Group: Constellation Posts: 692 Joined: 26-November 02 From: Lincoln, NE, USA Member No.: 9,968 |
Speex is a Good Thing. If you've used TeamSpeak at all recently, you're probably already familiar with speex and how it blows the other codecs away in terms of quality/bitrate. Granted, it's only good for human-voice ranges, but use the right tool for the job, 'eh?
-------------------- Pigeons. Pigeons...are good too. Sometimes, they come with notes attached. It's like a fortune cookie with wings. Squirrels!
|
|
|
|
Sep 29 2003, 09:02 AM
Post
#8
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
MILES compression, 32000 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:09 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 29 2003, 09:07 AM
Post
#9
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
Original source WAV file, 128000 bits/second
This post has been edited by WolfWings: Sep 30 2003, 04:08 AM
Attached File(s)
-------------------- ![]() |
|
|
|
Sep 29 2003, 08:46 PM
Post
#10
|
|
![]() Foul Beast ![]() Group: Members Posts: 167 Joined: 20-December 02 Member No.: 11,165 |
This is totally cool. Finally a reason to like Steam! My buddy on dial-up has had to basically sacrifice his voice communication in order to be able to play HL, and he loves talking, so it is a big sacrifice. This looks like it might give it back to him.
Thanks for the tip WolfWings! |
|
|
|
Oct 2 2003, 07:05 AM
Post
#11
|
|
|
Minion Group: Constellation Posts: 327 Joined: 2-November 02 From: California USA Member No.: 4,903 |
I'm using this on my server, under linux HLDS/steam, and it seems to work just fine. It was a bit choppy under the 1 setting so I turned it up to 2. Still doesn't seem to cut into the BW much at all.
Thx very much for the tip. |
|
|
|
Oct 4 2003, 04:59 PM
Post
#12
|
|
|
Hive Queen ![]() ![]() ![]() Group: Members Posts: 1,301 Joined: 1-May 03 Member No.: 15,967 |
This is kick-****,
The voice quality sounds like never before, All servers should have this on!!! |
|
|
|
Oct 5 2003, 05:58 AM
Post
#13
|
|
|
Borg Engineer ![]() ![]() ![]() Group: Members Posts: 1,268 Joined: 2-March 03 From: Bellevue, WA Member No.: 14,218 |
I highly support this! I love how this sounds
i think that if your server has this put [SPEEX ENABLED] in your server name -------------------- I code games. That is all.
|
|
|
|
Oct 11 2003, 01:22 AM
Post
#14
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
Glad to know everyone likes this little feature I found for Half-Life servers. Hopefully more and more will transition to using it, once they transition to using Steam at all. =^.^=
-------------------- ![]() |
|
|
|
Oct 13 2003, 06:00 AM
Post
#15
|
|
|
Dark Minion ![]() ![]() Group: Members Posts: 404 Joined: 11-November 02 Member No.: 8,104 |
I have to say this is killer .. this with the combination of the rate manager seriously improves my server performance.. it is a CS server (/me dodges the tomatos).. but it majorly helped my server too.
-------------------- Sig image removed. Sig images must be no more than 400x75 pixels and 22kb in size. No exceptions.
|
|
|
|
Oct 13 2003, 10:26 AM
Post
#16
|
|
|
Minion ![]() ![]() Group: Members Posts: 219 Joined: 4-September 02 From: Spain Member No.: 1,270 |
I wonder why this is not the default codec already on Steam servers...
-------------------- |
|
|
|
Oct 13 2003, 02:15 PM
Post
#17
|
|
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
Probably because it's the first version that has support for Speex enabled. They don't want to suddenly force everyone to the new standard without some chance for people to play with it, and get a feel for it, I think.
Also, as a side-note... anyone, feel free to link to this post, use this link when posting this topic to other forums. -------------------- ![]() |
|
|
|
Feb 18 2004, 06:38 PM
Post
#18
|
|
|
Hive Queen Group: Playtester Posts: 1,203 Joined: 5-September 02 Member No.: 1,274 |
thanks for posting this! we'll try it on our servers
-------------------- [OldF] Niteowl
www.oldf.net; #oldfogies on Gamesurge Prune Juice : pj.oldf.net Life Support: ls.oldf.net Mature, friendly teamplay. NAPT |
|
|
|
Feb 20 2004, 01:08 PM
Post
#19
|
|
|
Suspect Group: Playtester Posts: 879 Joined: 23-November 02 From: Münster, Germany Member No.: 9,689 |
I was testing with speex and voice_quality 2 and 3. The quality was ok, but although the CPU usage was raising only a few % there were some quite bad lags and crashes. I'm not sure if this is really related to speex, but after i reverted back to voice_miles and voice_quality 2 all seems to run fine as before...
-------------------- creator of co_daimos - will map for food |
|
|
|
Feb 24 2004, 06:41 AM
Post
#20
|
|||
![]() NS_Nancy Resurrectionist ![]() ![]() Group: Members Posts: 619 Joined: 2-November 02 From: 64118 Member No.: 4,416 |
And problems like this are another reason why it's still considered experimental code. :-) Also, voice_quality has no effect at all when you're using the Miles codec, only if you're using the Speex codec. -------------------- ![]() |
||
|
|
|||
![]() ![]() |
| Lo-Fi Version | Time is now: 2nd September 2010 - 05:18 PM |