Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (542)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (605)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  The Opus audio codec  (Read 7564 times)
0 Members and 1 Guest are viewing this topic.
Offline theagentd

« JGO Bitwise Duke »


Medals: 367
Projects: 2
Exp: 8 years



« Posted 2012-09-11 22:42:25 »

This might be interesting to some. Seems like a pretty good fit for audio in games.
http://news.slashdot.org/story/12/09/11/2156225/opus-the-codec-to-end-all-codecs
As far as I know it's already supported by FFmpeg so it should work with YUNPM.

Myomyomyo.
Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2012-09-11 23:10:40 »

I await a pure Java implementation.

Cas Smiley

Online ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #2 - Posted 2012-09-12 02:20:54 »

This sounds awesome!

However...

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ReBirth
« Reply #3 - Posted 2012-09-12 03:04:02 »

@ra4king
Put patent or law to it ("everyone in the world have to follow this, or burn!").

Online ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #4 - Posted 2012-09-12 03:05:50 »

@ra4king
Put patent or law to it ("everyone in the world have to follow this, or burn!").
No, that's called religion.

Offline Roquen
« Reply #5 - Posted 2012-09-12 11:51:41 »

Yeah, standards are awesome. Everyone should have one.
Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #6 - Posted 2012-09-12 11:57:16 »

It doesn't seem to add anything useful for us beyond what Ogg Vorbis already supplies.

Cas Smiley

Offline Roquen
« Reply #7 - Posted 2012-09-12 12:01:48 »

If it is actually good at both speech and music, then that is a big plus.

(EDIT: Looking at the source...looks like a mash-up of Silk and CELT).
Offline theagentd

« JGO Bitwise Duke »


Medals: 367
Projects: 2
Exp: 8 years



« Reply #8 - Posted 2012-09-12 16:27:21 »

Well, nothing's gonna become the standard if noone's willing to try something new. And this doesn't even have anything to do with standards. What, you want to make sure your game's explosion sound effect is playable in a car radio? If it works on all operating systems and is already implemented for all operating systems (through FFmpeg), then why not?

I await a pure Java implementation.

Cas Smiley
This, however, is a good argument.  Undecided

Myomyomyo.
Offline Roquen
« Reply #9 - Posted 2012-09-12 17:12:38 »

Game's are ultimately one-shot deals so standards are nice, but not really all that important.  This could be interesting, but not worth thinking about until there's a usable solution which can be verified to be worth using.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #10 - Posted 2012-09-13 08:13:00 »

I can't wait to re-encode my entire 50gb of music.

Cas Smiley

Online ra4king

JGO Kernel


Medals: 356
Projects: 3
Exp: 5 years


I'm the King!


« Reply #11 - Posted 2012-09-13 15:29:57 »

I can't wait to re-encode my entire 50gb of music.

Cas Smiley
50GB!! Shocked

Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #12 - Posted 2012-09-13 15:35:41 »

I listen to a lot of music when I'm coding Smiley

Cas Smiley

Offline Roquen
« Reply #13 - Posted 2012-09-13 15:41:01 »

Well I hope you have the stuff uncompressed as well...transcoding errors blow chunks.
Offline Cero
« Reply #14 - Posted 2012-09-13 15:47:45 »

I <3 Vorbis
My 2 cents.

Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #15 - Posted 2012-09-13 16:54:00 »

Well I hope you have the stuff uncompressed as well...transcoding errors blow chunks.
Only on old, scratched CDs. Quite a bit of it was bought as mp3 format, or even ogg. Scratched CDs blow even more chunks than transcoding errors.

All of my oggs are in 320kbps though, which as I don't play through a PA system sound just fine to me.

Cas Smiley

Offline Icecore

Senior Devvie


Medals: 5



« Reply #16 - Posted 2012-09-13 17:01:46 »

50GB!! Shocked
90GB =) mp3
And some of my friends have 100-200 GB Smiley
Most of them 99% Dj sets, I love Trance, Electro, House, Goa, Some times Hardstyle, Psy Wink
O no I forgot Jazz, I love Jazz and Lounge XD

I listen to a lot of music when I'm coding Smiley
Same ^^

P.s Sorry if I spam stupid messages, I love to chat, but some times I don’t understand what you’re talking about, that's why I so quiet XD
Offline theagentd

« JGO Bitwise Duke »


Medals: 367
Projects: 2
Exp: 8 years



« Reply #17 - Posted 2012-09-13 18:41:08 »

I <3 Vorbis
My 2 cents.
I'm more of a FLAC guy, though I don't claim that I can hear the difference.

Myomyomyo.
Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #18 - Posted 2012-09-13 18:59:52 »

I can hear the difference (I have a few FLACs), but I'm not so bothered as to want to re-rip hundreds of CDs.

Cas Smiley

Offline Sickan

Senior Devvie


Medals: 9



« Reply #19 - Posted 2012-09-13 19:20:15 »

And then there are those of us who just prefer to use Spotify, for all it's goods and evils.
Offline sproingie

JGO Kernel


Medals: 202



« Reply #20 - Posted 2012-09-13 19:42:06 »

I definitely can't tell the difference between FLAC and 192kbit MP3's (probably not 128kbit either, but the first is what most of my collection uses).  Ogg and MP3, nothing much there either ... but one transcoded to the other sounds like total crap.  So I like FLAC as a source format I can encode to something smaller.

Offline ReBirth
« Reply #21 - Posted 2012-09-14 03:15:55 »

12.6GB.

FLAC quality depends on what hardware you use.

Offline princec

« JGO Spiffy Duke »


Medals: 439
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #22 - Posted 2012-09-14 19:55:25 »

FLAC quality is immutable; it's the same as the source quality.

Cas Smiley

Offline theagentd

« JGO Bitwise Duke »


Medals: 367
Projects: 2
Exp: 8 years



« Reply #23 - Posted 2012-09-15 12:45:29 »

FLAC quality is immutable; it's the same as the source quality.

Cas Smiley
I think he meant playback quality. FLAC doesn't help if you're using your iPhone headphones.  Pointing

Myomyomyo.
Offline ReBirth
« Reply #24 - Posted 2012-09-15 12:46:42 »

I think he meant playback quality. FLAC doesn't help if you're using your iPhone headphones.  Pointing
Yes yes this Pointing

Offline Best Username Ever

Junior Devvie





« Reply #25 - Posted 2012-09-15 15:50:22 »

Quote
FLAC (Free Lossless Audio Codec) is a codec which allows digital audio to be losslessly compressed such that file size is reduced without any information being lost. Digital audio compressed by FLAC's algorithm can typically be reduced to 50–60% of its original size, and decompressed into an identical copy of the original audio data.

Since it's lossless, you can convert from any codec to FLAC without changing the quality. In that way it's the best quality you can get for a given bitrate and sample format. Everything else would be as good or worse.
Offline Roquen
« Reply #26 - Posted 2012-09-15 17:57:31 »

The issue here is transcoding.  You must store in a true lossless format first.
Offline arnaud_couturier
« Reply #27 - Posted 2012-09-20 03:16:09 »

It doesn't seem to add anything useful for us beyond what Ogg Vorbis already supplies.

Cas Smiley
Agreed.
I don't see why Vorbis should not be used for bitrates other than 128kbs ... ?

And I bet Opus will be one more exotic format. Mp3 is still there, despite awesome alternatives (vorbis and aac) being available for years, why would Opus change that ?

It seems the quality / space ratio is now irrelevant with the compression of mp3/vorbis/aac, given the storage space of even the smallest device, so Opus can't fight on this front.
Offline Roquen
« Reply #28 - Posted 2012-09-20 05:48:06 »

Viable patent free options are all good.
Offline nanocoder

Innocent Bystander





« Reply #29 - Posted 2013-03-10 12:58:22 »

   Opus is made by the xiph foundation, also maker of ogg. Ogg is not a audio format, but a container actually. The format is ogg vorbis, but you can put vorbis into other containers. The opus file will be, in this case, ogg opus.
   Opus has some HUGE improvements in quality, and a crazy low delay (same as celt). And has been adopted quickly, lots of comm apps use it. I'm using it for online audio streaming and mixing, and with great results, both in quality and resources usage.
   As for a java implementation, I am looking for one too, with no success (i found some java apps that use opus, but  natively, not java coded). If anyone could find one, info will be very appreciated Smiley
   
 
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Elsealabs (16 views)
2014-12-28 10:39:27

CopyableCougar4 (20 views)
2014-12-28 02:10:29

BurntPizza (25 views)
2014-12-27 22:38:51

Mr.CodeIt (15 views)
2014-12-27 04:03:04

TheDudeFromCI (20 views)
2014-12-27 02:14:49

Mr.CodeIt (26 views)
2014-12-23 03:34:11

rwatson462 (58 views)
2014-12-15 09:26:44

Mr.CodeIt (47 views)
2014-12-14 19:50:38

BurntPizza (96 views)
2014-12-09 22:41:13

BurntPizza (116 views)
2014-12-08 04:46:31
How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!