{"id":20166,"date":"2023-04-11T09:00:23","date_gmt":"2023-04-11T16:00:23","guid":{"rendered":"https:\/\/engineering.fb.com\/?p=20166"},"modified":"2023-04-13T09:15:36","modified_gmt":"2023-04-13T16:15:36","slug":"high-quality-audio-xhe-aac-codec-meta","status":"publish","type":"post","link":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/","title":{"rendered":"Why xHE-AAC is being embraced at Meta"},"content":{"rendered":"<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">We\u2019re sharing how Meta delivers high-quality audio at scale with the <a href=\"https:\/\/www.iis.fraunhofer.de\/en\/ff\/amm\/broadcast-streaming\/xheaac.html\" target=\"_blank\" rel=\"noopener\">xHE-AAC audio codec<\/a>.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">xHE-AAC has already been deployed on Facebook and Instagram to provide enhanced audio for features like Reels and Stories.\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">At Meta, we serve every media use case imaginable for billions of people across the world \u2014 from short-form, user-generated content, such as<\/span> <a href=\"https:\/\/engineering.fb.com\/2023\/02\/21\/video-engineering\/av1-codec-facebook-instagram-reels\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Reels<\/span><\/a><span style=\"font-weight: 400;\">, to premium <\/span><a href=\"https:\/\/engineering.fb.com\/2021\/04\/05\/video-engineering\/how-facebook-encodes-your-videos\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">video on demand (VOD)<\/span><\/a><span style=\"font-weight: 400;\"> and<\/span> <a href=\"https:\/\/engineering.fb.com\/2020\/10\/22\/video-engineering\/live-streaming\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">live broadcasts<\/span><\/a><span style=\"font-weight: 400;\">. Given this, we need a next-generation audio codec that supports a range of operating points with excellent compression efficiency and modern, system-level audio features.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To address these needs now and into the future, Meta has embraced xHE-AAC as the vehicle for delivering high-quality audio at scale.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">The benefits of xHE-AAC<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">xHE-AAC is the latest member of the MPEG AAC audio codec family. The <\/span><a href=\"https:\/\/www.iis.fraunhofer.de\/en\/ff\/amm\/broadcast-streaming\/xheaac.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Fraunhofer Institute for Integrated Circuits IIS<\/span><\/a><span style=\"font-weight: 400;\"> played a substantial role in the development of xHE-AAC and the MPEG-D DRC standard.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Today, xHE-AAC is already providing a superior audio experience on Facebook and Instagram \u2014 including on <\/span><a href=\"https:\/\/engineering.fb.com\/2023\/02\/21\/video-engineering\/av1-codec-facebook-instagram-reels\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Reels<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/engineering.fb.com\/2022\/07\/18\/developer-tools\/building-text-animations-for-instagram-stories\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Stories<\/span><\/a><span style=\"font-weight: 400;\"> \u2014 and has a number of valuable features.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Loudness management<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">With <\/span><a href=\"https:\/\/engineering.fb.com\/2021\/04\/05\/video-engineering\/how-facebook-encodes-your-videos\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">hundreds of millions of uploads per day across Facebook and Instagram<\/span><\/a><span style=\"font-weight: 400;\">, we receive audio tracks with loudness levels ranging from silence to full scale, and everything in between.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20167\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?w=1024\" alt=\"xHE-AAC codec at Meta\" width=\"1024\" height=\"767\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=916,687 916w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=768,576 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=1024,767 1024w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=1536,1151 1536w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=96,72 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-1.jpg?resize=192,144 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/p>\n<p><span style=\"font-weight: 400;\">When people play these videos sequentially, they can perceive some audio as being too loud or too quiet. This creates listener fatigue from having to constantly adjust the volume.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20168\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?w=1024\" alt=\"xHE-AAC codec at Meta\" width=\"1024\" height=\"660\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=916,590 916w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=768,495 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=1024,660 1024w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=1536,990 1536w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=96,62 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-2.jpg?resize=192,124 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/p>\n<p><span style=\"font-weight: 400;\">xHE-AAC\u2019s integrated loudness management system solves for loudness inconsistency while meticulously preserving creator intent by bringing the average loudness of all sessions to the same target level and managing the dynamic range of each session to fit the playback environment.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Instead of burning in a specific target level and dynamic range compression (DRC) profile during encoding, xHE-AAC allows us to leave the original audio characteristics untouched and delegate loudness management processing to the client via loudness metadata, for the optimal audio experience based on context.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20169\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?w=1024\" alt=\"xHE-AAC codec at Meta\" width=\"1024\" height=\"389\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=916,348 916w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=768,292 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=1024,389 1024w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=1536,583 1536w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=96,36 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-3.jpg?resize=192,73 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/p>\n<p><span style=\"font-weight: 400;\">As a result of xHE-AAC\u2019s loudness management, people can spend more time immersed in their favorite content and less time fiddling with the volume control.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Adaptive bit rate audio<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Most people who use our apps consume media on mobile devices and expect the highest audio quality without interruption. This presents a challenge for streaming media because connection quality varies on mobile and can result in a very uneven user experience.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20170\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?w=1024\" alt=\"xHE-AAC codec at Meta\" width=\"1024\" height=\"660\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=916,590 916w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=768,495 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=1024,660 1024w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=1536,990 1536w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=96,62 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-4.jpg?resize=192,124 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/p>\n<p><span style=\"font-weight: 400;\">To optimize quality under dynamic bandwidth constraints, we produce<\/span><a href=\"https:\/\/engineering.fb.com\/2021\/04\/05\/video-engineering\/how-facebook-encodes-your-videos\/\"> <span style=\"font-weight: 400;\">multiple video and audio qualities<\/span><\/a><span style=\"font-weight: 400;\"> to match varying network conditions at playback time. Even though we produce multiple audio lanes, we have historically only employed<\/span><a href=\"https:\/\/engineering.fb.com\/2022\/11\/04\/video-engineering\/instagram-video-processing-encoding-reduction\/\"> <span style=\"font-weight: 400;\">adaptive bit rate (ABR)<\/span><\/a><span style=\"font-weight: 400;\"> algorithms to switch video qualities during playback because it\u2019s difficult to enable adaptive bit rate audio without compromising quality during lane transitions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In order to enable seamless audio ABR, xHE-AAC introduces the concept of immediate playout frames (IPFs) that contain all the data necessary to start playing a new audio lane without relying on data from other frames. By placing an IPF at the beginning of each Dynamic Adaptive Streaming over HTTP (DASH) segment and aligning the segment durations of each lane, we can seamlessly switch between audio lanes during playback to provide the highest-quality audio at any available bandwidth while avoiding playback stalls.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20220 size-large\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?w=1024\" alt=\"xHE-AAC codec at Meta\" width=\"1024\" height=\"660\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=916,590 916w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=768,495 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=1024,660 1024w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=1536,990 1536w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=96,62 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC_Visual-5.jpg?resize=192,124 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/p>\n<p><span style=\"font-weight: 400;\">After launching audio ABR on Facebook for Android, we were able to improve user experience by reducing the number of sessions where playback stalls.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How we deployed xHE-AAC<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">We generate xHE-AAC bitstreams using an encoder SDK provided by the Fraunhofer Institute for Integrated Circuits IIS, and then prepare the resulting audio files for DASH streaming with shaka-packager. The xHE-AAC encoder\u2019s two-pass encoding mode is used to measure the input loudness envelope and average program loudness on the first pass and perform the actual audio data compression on the second pass. As an added benefit, two-pass encoding allows us to use loudness range control (LRAC) DRC, which mitigates pumping artifacts otherwise introduced by single-pass DRC algorithms. <\/span><span style=\"font-weight: 400;\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20172\" src=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?w=742\" alt=\"xHE-AAC codec at Meta\" width=\"742\" height=\"1024\" srcset=\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg 1920w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=664,916 664w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=768,1060 768w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=742,1024 742w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=1113,1536 1113w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=1484,2048 1484w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=96,133 96w, https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/xHE-AAC-Meta-Visual-6.jpg?resize=192,265 192w\" sizes=\"auto, (max-width: 992px) 100vw, 62vw\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">To prepare an xHE-AAC audio adaptation set for ABR delivery, IPFs are inserted at constant time intervals, audio configuration parameters such as sample rate and channel configuration are kept constant, and unique stream identifiers are selected for each lane in the audio adaptation set.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At playback time, we custom-fit the audio to the listening environment by configuring a target loudness level and DRC effect type based on context, and thanks to the embedded loudness metadata, we can adapt a single xHE-AAC bitstream to a variety of audio consumption use cases, from headphones to device speakers and various levels of background noise. Finally, if the client is starved for data or bandwidth is plentiful, audio ABR will automatically switch audio qualities to ensure that the highest audio quality is played without interrupting the playback session.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Where can you experience xHE-AAC today?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">You can experience xHE-AAC audio on Facebook for iOS and Android, as well as on targeted surfaces on Instagram, such as Reels and Stories<\/span><span style=\"font-weight: 400;\">. <\/span><span style=\"font-weight: 400;\">We encourage you to install the latest version of Facebook and Instagram apps on iOS 13+ and Android 9+ to ensure that you can experience it.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Acknowledgements<\/span><\/h2>\n<p><i><span style=\"font-weight: 400;\">This work is the collective result of the entire Video Infrastructure and Instagram Media Platform teams at Meta in collaboration with Fraunhofer <\/span><\/i><i><span style=\"font-weight: 400;\">Institute for Integrated Circuits<\/span><\/i><i><span style=\"font-weight: 400;\"> IIS. The author would like to extend special thanks to Abhishek Gera, Tim Harris, Arun Kotiedath, Edward Li, Meng Li, Srinivas Lingutla, Denise Noyes, Mohanish Penta, David Ronca, Haixia Shi, Mike Starr, Cosmin Stejerean, Jithin Parayil Thomas, Simha Venkataramaiah, Juehui Zhang, Runshen Zhu, and the engineering team at Fraunhofer <\/span><\/i><i><span style=\"font-weight: 400;\">Institute for Integrated Circuits<\/span><\/i><i><span style=\"font-weight: 400;\"> IIS.<\/span><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re sharing how Meta delivers high-quality audio at scale with the xHE-AAC audio codec. xHE-AAC has already been deployed on Facebook and Instagram to provide enhanced audio for features like Reels and Stories.\u00a0 At Meta, we serve every media use case imaginable for billions of people across the world \u2014 from short-form, user-generated content, such [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":51,"featured_media":20173,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,5,74,6],"tags":[],"class_list":["post-20166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-ios","category-video-engineering","category-web","fb_content_type-article"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v19.12) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why xHE-AAC is being embraced at Meta - Engineering at Meta<\/title>\n<meta name=\"description\" content=\"Meta has deployed xHE-AAC to provide enhanced audio for features like Reels and Stories. Here\u2019s how Meta is deploying xHE-AAC at scale.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zack Cohen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\"},\"author\":{\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#author\",\"name\":\"\"},\"headline\":\"Why xHE-AAC is being embraced at Meta\",\"datePublished\":\"2023-04-11T16:00:23+00:00\",\"dateModified\":\"2023-04-13T16:15:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\"},\"wordCount\":926,\"publisher\":{\"@id\":\"https:\/\/engineering.fb.com\/#organization\"},\"articleSection\":[\"Android\",\"iOS\",\"Video Engineering\",\"Web\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\",\"url\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\",\"name\":\"Why xHE-AAC is being embraced at Meta - Engineering at Meta\",\"isPartOf\":{\"@id\":\"https:\/\/engineering.fb.com\/#website\"},\"datePublished\":\"2023-04-11T16:00:23+00:00\",\"dateModified\":\"2023-04-13T16:15:36+00:00\",\"description\":\"Meta has deployed xHE-AAC to provide enhanced audio for features like Reels and Stories. Here\u2019s how Meta is deploying xHE-AAC at scale.\",\"breadcrumb\":{\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/engineering.fb.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why xHE-AAC is being embraced at Meta\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/engineering.fb.com\/#website\",\"url\":\"https:\/\/engineering.fb.com\/\",\"name\":\"Engineering at Meta\",\"description\":\"Engineering at Meta Blog\",\"publisher\":{\"@id\":\"https:\/\/engineering.fb.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/engineering.fb.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/engineering.fb.com\/#organization\",\"name\":\"Meta\",\"url\":\"https:\/\/engineering.fb.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/engineering.fb.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/08\/Meta_lockup_positive-primary_RGB.jpg\",\"contentUrl\":\"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/08\/Meta_lockup_positive-primary_RGB.jpg\",\"width\":29011,\"height\":12501,\"caption\":\"Meta\"},\"image\":{\"@id\":\"https:\/\/engineering.fb.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Engineering\/\",\"https:\/\/twitter.com\/fb_engineering\"]},[]]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Why xHE-AAC is being embraced at Meta - Engineering at Meta","description":"Meta has deployed xHE-AAC to provide enhanced audio for features like Reels and Stories. Here\u2019s how Meta is deploying xHE-AAC at scale.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/","twitter_misc":{"Written by":"Zack Cohen","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#article","isPartOf":{"@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/"},"author":{"@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#author","name":""},"headline":"Why xHE-AAC is being embraced at Meta","datePublished":"2023-04-11T16:00:23+00:00","dateModified":"2023-04-13T16:15:36+00:00","mainEntityOfPage":{"@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/"},"wordCount":926,"publisher":{"@id":"https:\/\/engineering.fb.com\/#organization"},"articleSection":["Android","iOS","Video Engineering","Web"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/","url":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/","name":"Why xHE-AAC is being embraced at Meta - Engineering at Meta","isPartOf":{"@id":"https:\/\/engineering.fb.com\/#website"},"datePublished":"2023-04-11T16:00:23+00:00","dateModified":"2023-04-13T16:15:36+00:00","description":"Meta has deployed xHE-AAC to provide enhanced audio for features like Reels and Stories. Here\u2019s how Meta is deploying xHE-AAC at scale.","breadcrumb":{"@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/engineering.fb.com\/2023\/04\/11\/video-engineering\/high-quality-audio-xhe-aac-codec-meta\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/engineering.fb.com\/"},{"@type":"ListItem","position":2,"name":"Why xHE-AAC is being embraced at Meta"}]},{"@type":"WebSite","@id":"https:\/\/engineering.fb.com\/#website","url":"https:\/\/engineering.fb.com\/","name":"Engineering at Meta","description":"Engineering at Meta Blog","publisher":{"@id":"https:\/\/engineering.fb.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/engineering.fb.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/engineering.fb.com\/#organization","name":"Meta","url":"https:\/\/engineering.fb.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/engineering.fb.com\/#\/schema\/logo\/image\/","url":"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/08\/Meta_lockup_positive-primary_RGB.jpg","contentUrl":"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/08\/Meta_lockup_positive-primary_RGB.jpg","width":29011,"height":12501,"caption":"Meta"},"image":{"@id":"https:\/\/engineering.fb.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Engineering\/","https:\/\/twitter.com\/fb_engineering"]},[]]}},"jetpack_featured_media_url":"https:\/\/engineering.fb.com\/wp-content\/uploads\/2023\/03\/Audio-stock-hero.png","jetpack_shortlink":"https:\/\/wp.me\/pa0Lhq-5fg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/posts\/20166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/comments?post=20166"}],"version-history":[{"count":7,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/posts\/20166\/revisions"}],"predecessor-version":[{"id":20235,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/posts\/20166\/revisions\/20235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/media\/20173"}],"wp:attachment":[{"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/media?parent=20166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/categories?post=20166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engineering.fb.com\/wp-json\/wp\/v2\/tags?post=20166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}