<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Holiviel Valdez &#8211; Bitmovin</title>
	<atom:link href="https://bitmovin.com/author/h-valdez/feed" rel="self" type="application/rss+xml" />
	<link>https://bitmovin.com</link>
	<description>Bitmovin provides adaptive streaming infrastructure for video publishers and integrators. Fastest cloud encoding and HTML5 Player. Play Video Anywhere.</description>
	<lastBuildDate>Mon, 09 Jan 2023 10:51:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://bitmovin.com/wp-content/uploads/2023/11/bitmovin_favicon.svg</url>
	<title>Holiviel Valdez &#8211; Bitmovin</title>
	<link>https://bitmovin.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why Audio Encoding is Just as Important as Video Encoding</title>
		<link>https://bitmovin.com/audio-encoding</link>
		
		<dc:creator><![CDATA[Holiviel Valdez]]></dc:creator>
		<pubDate>Thu, 06 May 2021 13:20:37 +0000</pubDate>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[audio encoding]]></category>
		<guid isPermaLink="false">https://bitmovin.com/?p=168270</guid>

					<description><![CDATA[<p>When you think about streaming online content, you might be tempted to focus on the visual aspects, like a high bit rate or the latest codecs, but this is only half the battle for a superior video experience. The audio quality for any streaming video can be the difference between a good movie night for...</p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/audio-encoding">Why Audio Encoding is Just as Important as Video Encoding</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-168287" src="https://bitmovin.com/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding-1024x537.png" alt="Audio Encoding_Sound Waves_Featured Image" width="1024" height="537" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding-300x157.png?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding.png?size=384x201&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding-768x402.png?lossy=2&amp;strip=1&amp;webp=1 768w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding-1024x537.png?lossy=2&amp;strip=1&amp;webp=1 1024w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/BLOG-POST_Audio-Encoding.png?lossy=2&amp;strip=1&amp;webp=1 1080w" sizes="(max-width: 1024px) 100vw, 1024px" /><br />
<span style="font-weight: 400;">When you think about streaming online content, you might be tempted to focus on the visual aspects, like a </span><span style="font-weight: 400;">high bit rate or the latest codecs</span><span style="font-weight: 400;">, but this is only half the battle for a superior video experience. The audio quality for any streaming video can be the difference between a good movie night for your clients and a bad one.</span><br />
<span style="font-weight: 400;">In this post, we’ll talk about how audio encoding affects the streaming experience. I’ll cover some basics—like what is a codec—and then discuss the benefits of audio encoding, the pros and cons of the most common codec formats, and how to make sure your audio encoding complements your video encoding.</span><br />
<img decoding="async" class="aligncenter size-large wp-image-168271" src="https://bitmovin.com/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation-1024x683.jpeg" alt="Engineer at an Audio Encoding Workstation_Image" width="1024" height="683" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation-300x200.jpeg?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation.jpeg?size=384x256&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation-768x512.jpeg?lossy=2&amp;strip=1&amp;webp=1 768w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation-1024x683.jpeg?lossy=2&amp;strip=1&amp;webp=1 1024w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2021/05/Engineer-at-an-Audio-Encoding-Workstation.jpeg?lossy=2&amp;strip=1&amp;webp=1 1080w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<h2><span style="font-weight: 400;">What Is a Codec?</span></h2>
<p><span style="font-weight: 400;">The term codec is a combination of the words <em>coder</em> and <em>decoder</em>. A codec is a standard for encoding and decoding multimedia files to represent data in a specific format.</span><br />
<img decoding="async" class="aligncenter size-large wp-image-78375" src="https://bitmovin.com/wp-content/uploads/2019/11/Codec-Type_Blog-1024x387.png" alt="Codec types inside a video clip" width="1024" height="387" /><br />
<span style="font-weight: 400;">The first thing a codec does is encode a video or audio file. For <a href="https://bitmovin.com/lossy-compression-algorithms/">lossy codecs</a>, this involves dropping “extra” information from raw or uncompressed audio files in order to reduce file size while maintaining as much quality as possible. This process involves a sequence of complex mathematical functions.</span><br />
<span style="font-weight: 400;">The second role of a codec is to decode, which is essentially playing back a video or audio file that’s been encoded. Think of it as reversing the math from the encoding step.</span><br />
<span style="font-weight: 400;">In short, an audio codec is a protocol for compressing digital audio to save space during transmission and then decoding for playback with the video.</span></p>
<h2><span style="font-weight: 400;">Advantages of Audio Encoding</span></h2>
<p><span style="font-weight: 400;">If your application delivers audio or video (or even still images), knowing your options for encoding is useful. For instance, if you know the specs of different audio/video codecs and the best use cases for each, you might be able to improve the experience of users with a bad internet connection.</span><br />
<span style="font-weight: 400;">Here are just a handful of advantages of proper audio encoding:</span></p>
<ul>
<li><span style="font-weight: 400;"><strong>Less storage space is needed:</strong> Encoded data files are smaller, so you should be able to save space on your <a href="https://www.audio-issues.com/home-recording-studio/demystifying-audio-formats-what-format-should-you-record-in/" rel="nofollow noopener" target="_blank">storage</a>. This is ideal if you have large amounts of data that need archived.</span></li>
<li><strong>Data is sent over the network faster:</strong> Encoding removes redundancies from data, so again, the size of your files is a lot smaller. This results in faster input, even with bad internet connections.</li>
<li><strong>Encoded files consume fewer resources:</strong> They reduce the resources required from your machine, like the amount of RAM and processing power when you’re listening to audio files.</li>
<li><strong>Adaptable:</strong>  Different codec formats are useful for different kinds of projects. For example, the AAC codec can use different frequency ranges with the help of <a href="https://en.wikipedia.org/wiki/Joint_encoding" rel="nofollow noopener" target="_blank">joint encoding</a> to achieve higher quality, a smaller file size, or, the best scenario, both. More advanced audiophiles will notice and appreciate these changes while playing your audio.</li>
</ul>
<p><span style="font-weight: 400;">Encoding your audio files is a critical part of your video encoding workflow, but just as there are many types of codecs for video, audio has a number of options you can use.</span></p>
<h2><span style="font-weight: 400;">Common Audio Codecs</span></h2>
<p><span style="font-weight: 400;">One important thing to keep in mind when selecting a codec is the devices and services it supports. Some streaming services support a single audio codec, but not another. Some offer better quality, and others focus mainly on compression. Remember, you need a balance between quality and support.</span><br />
<span style="font-weight: 400;">With this in mind, let’s explore some of the most common and best-supported audio codecs.</span></p>
<h3><span style="font-weight: 400;">MP3</span></h3>
<p><span style="font-weight: 400;">MP3 stands for MPEG-2 Audio Layer 3. The most common and well-known audio format, MP3 revolutionized digital audio. Its files were much smaller than previous formats, allowing them to be streamed and downloaded over the internet. </span><br />
<span style="font-weight: 400;">MP3 is a well-supported codec—you can run MP3 files on almost any online or desktop media player, like QuickTime, VLC media player, and Kodi.</span></p>
<h3><span style="font-weight: 400;">AAC</span></h3>
<p><span style="font-weight: 400;">AAC stands for Advanced Audio Coding. Developed a few years after MP3, AAC built on the success of that format but increased compression efficiency. Like most of the more popular codecs, AAC is lossy, but it provides very good audio quality in limited bandwidth, especially when compared to MP3.</span><br />
<span style="font-weight: 400;">It&#8217;s a closed-source format but is probably the most widely used audio codec on the internet today. It’s supported by most video-streaming platforms. </span></p>
<h3><span style="font-weight: 400;">AIFF</span></h3>
<p><span style="font-weight: 400;">AIFF stands for Audio Interchange File Format and was developed by Apple. AIFF files are very large, around 10 MB for one minute of standard audio recording.</span><br />
<span style="font-weight: 400;">Most AIFF files contain uncompressed audio in PCM (pulse-code modulation) format. The AIFF file is just a wrapper for the PCM encoding, making it more suitable for use on Mac systems. However, Windows can usually open AIFF files without any issues.</span></p>
<h3><span style="font-weight: 400;">FLAC </span></h3>
<p><span style="font-weight: 400;">FLAC stands for Free Lossless Audio Codec. A bit on the nose maybe, but it has quickly become one of the most popular lossless formats available since its introduction in 2001. Note that with lossless codecs, all the information is retained when the file is compressed. </span><br />
<span style="font-weight: 400;">FLAC can compress audio files without losing a significant amount of data. What&#8217;s even nicer is that it’s an open-source and royalty-free audio file format.</span><br />
<span style="font-weight: 400;">Most major services and common devices support FLAC, and it’s the main alternative to MP3 for music. You basically get the full quality of raw uncompressed audio at half the file size. The problem with it is the files are still rather large. If you want to save space, this is not the better option.</span></p>
<h3><span style="font-weight: 400;">Ogg (Vorbis)</span></h3>
<p><span style="font-weight: 400;">Ogg isn’t a fancy acronym; it’s just a container format for one or more codecs. Vorbis is a free open-source lossy format often used with Ogg containers and was created specifically to provide that balance between high quality and efficient streaming. It performs <a href="https://www.tuneskit.com/drm-basics/aac-vs-ogg.html" rel="nofollow noopener" target="_blank">significantly better</a> than most other lossy compression formats (meaning it produces a smaller file size for equivalent audio quality).</span><br />
<span style="font-weight: 400;">Since Vorbis is free, it’s been utilized in a number of both commercial and noncommercial media players, <a href="https://www.quora.com/Why-does-Spotify-use-the-relatively-obscure-Ogg-Vorbis-file-format" rel="nofollow noopener" target="_blank">including Spotify</a>.</span></p>
<h3><span style="font-weight: 400;">Opus</span></h3>
<p>Much like its predecessor in Vorbis, <a href="https://opus-codec.org/" rel="nofollow noopener" target="_blank">Opus</a> is not an acronym and is also a free open-source lossy format that was developed by the <a href="https://www.youtube.com/watch?v=FG9jemV1T7I" rel="nofollow noopener" target="_blank">same creator as Vorbis, Christopher Montegomery (and Xiph.org)</a>. Opus is much more ambitious in its scope than Vorbis, as it supports every kind of audio file available (including music, speech, and real-time voice communication). It&#8217;s contained by all major audio containers: Ogg, Matroska, WebM, MPEG-TS.<br />
Opus does just about everything when it comes to audio compression, the caveat of Opus is its complexity and CPU requirements, which have limited its current implementations. Despite that, Opus has become very rapidly and widely adopted by most mainstream OS&#8217;s, such as WhatsApp, Android, iOS, Windows, and Playstation.</p>
<h2><span style="font-weight: 400;">The Best Audio Codec</span></h2>
<p><span style="font-weight: 400;">Of the commonly used codecs listed here, AAC is the best audio codec for most situations. It’s supported by a wide range of devices and streaming services and has the advantage of better audio quality</span><span style="font-weight: 400;"> as compared to MP3.</span><br />
<span style="font-weight: 400;">This may change very soon as Opus becomes more broadly popular. However, hardware doesn’t change as quickly as software, so broad device support is probably still a few years away. For internet video, AAC is currently the best audio codec for live-streaming, as well as video on demand.</span></p>
<h2><span style="font-weight: 400;">Other Considerations for Quality Audio Encoding</span></h2>
<p><span style="font-weight: 400;">Of course, audio encoding is more than just finding the right codec. To get a more complete picture and truly appreciate why audio encoding is just as important as video encoding, let’s consider a few more areas where we can ensure quality audio encoding.</span></p>
<h3><span style="font-weight: 400;">Sample Rates</span></h3>
<p><span style="font-weight: 400;">The sample rate indicates how often an audio clip is recorded per second. Sampling frequencies are measured in hertz (Hz) or kilohertz (kHz)—<a href="https://audiosolace.com/2021/06/09/sample-rate-bit-depth-depth-rate/" rel="nofollow noopener" target="_blank">44,100 samples per second can be expressed as 44,100 Hz or 44.1 kHz</a>.</span><br />
<span style="font-weight: 400;">For digital audio recordings, the sample rate is comparable to the frame rate of a video. The more audio data (samples) is collected, the closer the recorded data is to the original audio.</span></p>
<h3><span style="font-weight: 400;">Bit Depth</span></h3>
<p><span style="font-weight: 400;">Bit depth measures how many bits were captured in each sample. So the higher the bit depth, the more accurately the actual analog audio source can be expressed.</span><br />
<span style="font-weight: 400;">The lowest possible bit depth only has two options to measure the accuracy of the sound: 0 for total silence and 1 for total volume. The higher the bit depth, the more accurate the encoded sound. Case in point, a standard 16-bit audio CD offers 2</span><span style="font-weight: 400;">16</span><span style="font-weight: 400;"> (or 65,536) values.</span></p>
<h3><span style="font-weight: 400;">Bit Rates</span></h3>
<p><span style="font-weight: 400;">The bit rate is the amount of data being processed within a given period of time. Common measurements for bit rate include kbps (kilobits per second) and mbps (megabits per second). High bit rates don&#8217;t necessarily mean high quality on their own; other factors also need to be considered, like internet speed. But apart from that, the higher the bit rate, generally the sharper the streaming experience will be.</span><br />
<span style="font-weight: 400;">Recommended audio bit rate encoding standards for video include:</span></p>
<ul>
<li><span style="font-weight: 400;"><strong>Constant Bit Rate (CBR):</strong> Keeps the bit rate constant throughout playback. CBR usually encodes faster than VBR, but it does take up more space.</span></li>
<li><strong>Variable Bit Rate (VBR):</strong> Different bit rates are used to encode audio in more complex areas that require more data. Despite the coding time and the lack of support from software and hardware, VBR offers a much better quality-to-storage ratio.</li>
<li><strong>Average Bit Rate (ABR):</strong> A subset of VBR. The encoder achieves an average bit rate by having blocks of both lower and higher bit rates.</li>
</ul>
<h2><span style="font-weight: 400;">Conclusion</span></h2>
<p><span style="font-weight: 400;">Audio encoding isn’t something to ignore during your video encoding process. Paying attention to the technical aspects of audio encoding and optimizing for your use cases, in particular, can go a long way toward ensuring the overall quality of the video you deliver.</span><br />
<span style="font-weight: 400;">Looking for video encoding software with modern audio codecs built-in? Check out <a href="https://bitmovin.com/">Bitmovin</a></span><span style="font-weight: 400;"> and offload some of the technical overhead for video and audio encoding.</span></p>
<h2><strong>Video technology guides and articles</strong></h2>
<ul>
<li>Back to Basics: Guide to the <a href="https://bitmovin.com/html5-video-tag-guide/">HTML5 Video Tag </a></li>
<li><a href="https://bitmovin.com/vod-platforms/">What is a VoD Platform?</a>A comprehensive guide to Video on Demand (VOD)</li>
<li><a href="https://bitmovin.com/top-5-video-technology-trends/">Video Technology [2022]</a>: Top 5 video technology trends</li>
<li><a href="https://bitmovin.com/vp9-vs-hevc-h265/">HEVC vs VP9</a>: Modern codecs comparison</li>
<li>What is the <a href="https://bitmovin.com/av1/">AV1 Codec</a>?</li>
<li>Video Compression: <a href="https://bitmovin.com/encoding-definition-bitrates/">Encoding Definition and Adaptive Bitrate</a></li>
<li>What is <a href="https://bitmovin.com/adaptive-streaming/">adaptive bitrate streaming</a></li>
<li><a href="https://bitmovin.com/mkv-vs-mp4/">MP4 vs MKV</a>: Battle of the Video Formats</li>
<li><a href="https://bitmovin.com/video-streaming-models-svod-avod-tvod/">AVOD vs SVOD</a>; the “fall” of SVOD and Rise of AVOD &amp; TVOD (Video Tech Trends)</li>
<li><a href="https://bitmovin.com/dynamic-adaptive-streaming-http-mpeg-dash/">MPEG-DASH</a> (Dynamic Adaptive Streaming over HTTP)</li>
<li><a href="https://bitmovin.com/container-formats-fun-1/">Container Formats</a>: The 4 most common container formats and why they matter to you.</li>
<li><a href="https://bitmovin.com/qoe-why-quality-video-matters/">Quality of Experience</a> (QoE) in Video Technology [2022 Guide]</li>
</ul>
<p>The post <a rel="nofollow" href="https://bitmovin.com/audio-encoding">Why Audio Encoding is Just as Important as Video Encoding</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
