Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a lot of audio codecs :

  • MP3
  • AAC
  • FLAC
  • OGG
  • SPEEX
  • etc

Some compress a lot and other less .... however it does not mean that one codec is having less less latency than another.

For a general purpose use (music and voice) and for an average audio quality (it is ok to have some loss) :

what is the audio codec that offers the encoding with the lesser latency possible on modern PC and commonly supported ?

share|improve this question
    
Hmm...it's hard to say in general. You should try with your specific data (multiple files), and adjusting the compression settings for the given format; see what gets you the maximum bang for buck. As you tagged this [audio-streaming], note that codec availability at the receiving end might also be a concern, esp. with patented/unusual codecs and/or on smartphones. –  Piskvor Mar 4 '12 at 17:00
    
Use OGG. Many user uses or Speex. –  YumYumYum Mar 4 '12 at 17:51
1  
Any of these can go several times faster than realtime, what's more, encoding is often done just once. What are you trying to accomplish where you think encoding performance is a significant issue? Most of the time other priorities, like available bandwidth and receiver codec availability, latency/encoding delay, etc. are far more pressing issues than CPU requirements to encode. –  afrazier Mar 4 '12 at 18:10
    
Thank you all for your answers. as afrazier pointed out, I'm looking the one that has the less "latency/encoding delay". I'll correct my question. –  Antoine RODRIGUEZ Mar 5 '12 at 19:49
1  
at first my question was misphrased ... so he helped me to rephrase my question ;) –  Antoine RODRIGUEZ May 10 '12 at 18:49

1 Answer 1

up vote 0 down vote accepted

Knowing more about what you want to accomplish would help us give you a more appropriate answer. Are you working on some sort of voice/video chat client? If so, what's it going to run on? PCs only, or are you looking at portable (smartphone) implementations too? Or are you looking at some sort of audio streaming? What's your content? What are your clients?

If you're looking to minimize encoding delay, Speex may be your most mature implementation right now over a wide range of natural audio. Opus and AAC-LD are also available, but I'm not as confident of their relative maturity or penetration AAC-LD has the advantage of being backed by a large standards body and may have more hardware implementations available than the others.

That said, in a recent 64 kb/s listening test over at Hydrogen Audio, CELT was ranked above all of Vorbis, Nero HE-AAC and Apple's HE-AAC implementations with regards to sound quality. Results link.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.