Bug 5745 - please add support for opus audio codec
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Sound
Version: GIT MASTER
Hardware: All All
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2012-09-16 13:59 EDT by Fabio
Modified: 2017-06-03 01:15:52 EDT
1 user (show)

See Also:



Description Fabio 2012-09-16 13:59:02 EDT
Currently ioquake3 uses two xiph.org codec: vorbis, for music and effects, and speex for voip. The xiph.org opus codec was recently standardized and could replace both current codecs, being better then them for both music and speech. For more info:
http://www.opus-codec.org/
http://www.opus-codec.org/comparison/

Speex could just be removed, vorbis could temporary be left until games replace their vorbis files with opus ones.
Comment 1 Fabio 2012-09-17 03:25:31 EDT
Speex was officially obsoleted:
—The Speex codec has been obsoleted by Opus. It will continue to be available, but since Opus is better than Speex in all aspects, users are encouraged to switch—
http://www.speex.org/
Comment 2 Zachary J. Slater 2013-02-16 16:35:32 EST
Yeah this is a good thing to do at some point, doubt it'll be the next release but yes.
Comment 3 Fabio 2013-08-04 11:16:59 EDT
I noticed Debian is compiling ioquake3 with libopus now:
http://anonscm.debian.org/gitweb/?p=pkg-games/ioquake3.git;a=commitdiff;h=fd588b3125331eba95024ee087181a1e61a13a1c

So is this done now? From the commit it's not clear what libopus is adding to ioquake3.
Comment 4 Zack Middleton 2013-08-04 12:35:59 EDT
ioq3 supports ogg opus audio, voip still uses libspeex though.
Comment 5 Zack Middleton 2013-12-10 22:50:23 EST
Made a patch for opus voip, if anyone wants to test it or comment on it: https://github.com/ioquake/ioq3/pull/25
Comment 6 Zack Middleton 2017-06-03 01:15:52 EDT
VoIP uses opus since January 2016, https://github.com/ioquake/ioq3/pull/42. Closing.