From Event to Action: Accelerate Your Decision Making with Real-Time Automation
audio-codec.docx
1. Title: Audio Codec (Encoder + Decoder):How to Compare and Convert It?
Keywords: audiocodec, whatisanaudiocodec,audioencoder,audiocodecs, idthighdefinition
audiocodec,bluetoothaudiocodec,audiocodecnotsupported
Description: What’s the audio codec? How to compare audio codec formats? How to change the
audio codec? What are the audio codecs that had been developed?
URL: https://videoconvert.minitool.com/video-converter/audio-codec.html
Summary: This article expressed by MiniTool Software Ltd. mainly introduces a type of audio data
processing technology device called an audio codec. It involves the definition, comparison,
conversion, examples, etc. If you are interested in this topic, just read on!
What Is an Audio Codec?
An audiocodecreferstoa hardware device orsoftware applicationthatisable toencode ordecode
a digital datastreamin type of audioor sound. The audiocodec that can encode anaudiostream
and create audiofiles iscalledanaudioencodersuchasa soundrecorder. Whereasthe codecthat
can decode an audiostream andplayaudiofiles isnamedanaudiodecoderlike amusicplayer.To
make it simpler, anaudiocodecisthe share name of an audioencoderand audiodecoder.
Hardware Audio Codec
In the physical hardware field,anaudiocodecstandsfora device thatencodesanalogaudioas
digital signalsanddecodesdigital signalsbacktoanalog.It consistsof bothan analog-to-digital
converter(ADC) and a digital-to-analogconverter(DAC) runningoff the same clocksignal.
That is appliedinsoundcardsthatsupportboth audioinand audioout. Audiocodechardware sends
and receivesdigital datarelyingon USBbuseslike AC-Link,I2
S, Serial Peripheral Interface (SPI),Inter-
IntegratedCircuit(I2
C),andsoon.
2. Usually,the digital datasignal islinearPulse-code modulation(PCM),whichisthe onlyaudiocodec
formatthat most audiocodecsare compatible with.Yet,some legacyaudiocodecssupportother
formats,G.711 for telephonyforexample.
Software Audio Codec
A software audiocoderimplementsanalgorithmthatcompresses(encodes) anddecompresses
(decodes) digital audiodatabasedona givenaudiofile orstreamingmediacodingformat. The
algorithmaimstorepresentthe high-fidelityaudiosignal withminimumfilesize whileretaining
audioquality.
That can greatly save the storage space andthe bandwidthneededtotransferthe compressed
audio.Most modernaudiocompressionalgorithmsare basedonmodifieddiscrete cosine transform
(MDCT) codingandlinearpredictive coding(LPC).Besides,mostsoftware codecsare implemented
as librariesthatinterface toatleastone mediaplayer.
https://videoconvert.minitool.com/video-converter/vlc-could-not-open-mp4a-audio-encoder.html
Compare Audio Coding Formats
To compare differentaudiocodingformats,engineersortechniciansmaytake theirsupported
operatingsystems(OSes),supportedmultimediaframeworks,adoptedtechnologies,aswell as
general specificationsintoconsideration.
Next,let’ssee the specificaspectsthatneedtocompare among variousaudiocodecs.
# Supported OS
In general,mostaudiocodecformatsare designedtobe appliedtothese operatingsystems,
includingcomputersystemsandmobile phone OSes.
Windows
macOS
Linux
BSD
Unix
Chromium
PalmOS
SymbianOS
Rockbox
iOS
Android
# Supported Multimedia Frameworks
Next,let’shave alookat whatsoftware appsare usuallytakenasthe standards forestimatingthe
audioplayersupport.
AudioCompressionManager(forWindows)
DirectShow(forWindows)
MediaFoundation(forWindowsincludingWindows11/10/8/7)
QuickTime (formacOS)
GStreamer(formultiple systems)
FFmpeg(forvarioussystems)
3. # Supported Technologies
As forcomparingthe audiocodec formats’technologies,firstof all,we needtosortthose codecs
intodifferentgroupsthatwill be comparedwithdifferenttechnical parameters.
LossyAudioCodecFormats
Lossyaudiocodecsare codingformats that will lose some informationafterencoding/compressing
the audiodata. For thiskindof codec,we usuallyestimate the followingtechnical details.
Codecalgorithm
Sample rate
Bitrate
Constantbitrate (CBR)
Variable bitrate (VBR)
Latency
Stereophonicsound
Multichannel (surroundsound)
https://videoconvert.minitool.com/video-converter/stereo-to-mono.html
LosslessAudioCodecFormats
On the contrary,losslessaudiocodecsare codingformatsthatwon’tlose anyqualityafter
compressioncomparedtothe original audio file.The below technologieswillbe comparedwhen
choosinga properlosslessaudioencoder. Mostof the aspectsare the same as those of lossy video
soundcodecs.
Codingalgorithm
Sample rate
Bitsper sample
Latency
Stereo
Multichannel
ITU-T formats
The followingwill listthe comparisonitemsforaudioencoders/decodersbelongingtoITU-T
standards.
Comparisonalgorithm
Sample rate
Bitrate
Bitsper sample
Constantbitrate (CBR)
Variable bitrate (VBR)
Latency
Stereo
Multichannel (surroundsound)
4. How to Convert Audio Codec?
Afterlearningthe comparisonstandardsof differentaudiocodecs,youmayfigure outyourfavorite
audiocodingformats.If your currentvideosare notof the audiocodesyoulike,youcan change itto
the one you preferwithaprofessional andreliableaudiocodecconverter– MiniTool Video
Converter,whichcaneasilyandquicklyalteraudioand videoencodersforfree.
VC-Free
1. Download,install, andopenMiniTool VideoConverteronyourcomputer.
2. Go to the Convertingsubtabunderthe mainVideoConvert tabto add your audiofile(s).
Alt=addaudioto MiniTool VideoConverter
3. Then,clickthe editingiconin the Target sectiononthe audiofile.
5. Alt=clicktoeditaudiooutputformat
4. In the pop-upeditingwindow,move tothe Audiotab.There, selectyourfavorite audioformat
fromthe leftmenuandchoose a qualityinthe rightsectionordirectly clickthe Create Custom
optioninthe lowerrightpart.
6. Alt=change audioquality
5. To checkyour newaudiocodec,youneedtoclickon the editingicon behindthe qualityyou
choose.If youselectCreate Custominthe laststep,youwill be directlyshownthe audiosettings
window.
7. Alt=audiosettings
6. There,youcan change otherparametersof youraudiolike channel,samplerate,andbitrate.If
youmake some changes,remembertoclickthe Create buttonto save them.
7. Back to the audioformatselectionwindow,justchoose yourcustomized audiothatappearsafter
youclick the Create buttonabove.
8. Alt=selectcustomizedaudioformat
8. Finally,clickonthe Convertbuttonon the audiofile tobeginthe process.
In additiontoaudiocodecformatconversion,MiniTool VideoConvertercanalsorecorda video
(withaudio) of different file formatsincludingWMV,MKV,AVI,MOV, FLV, MP4, and TS, all encoded
by H.264. Moreover,itcan download songsandvideos fromYouTube indifferentformatslike MP3,
MP4, WEBM, WAV,etc.
Audio Formats/Codecs List
Here in thispart,we will collectthe listsof audiocompressionformatsandtheirrelatedcodecs.
Generally,the audioencoderformatscanbe dividedinto three categories:non-compressionaudio
formats,losslessaudiocompressionformats,andlossyaudiocompressionformats.
Non-Compression Audio Formats
Linear pulse-code modulation(LPCM)
FFmpeg
Pulse-densitymodulation(PDM)
DirectStreamDigital (DSD):foobar2000 SuperAudioCDDecoder, FFmpeg
Pulse-amplitude modulation(PAM)
Lossless Compression Audio Formats
Activelyused