Delivering a professional, enjoyable viewing experience means keeping your audio levels consistent across all video content. This guide walks you through the process of adjusting audio levels with audio optimization, a technique that balances the loudness of your audio streams for better viewer experience. Here, you’ll find everything you need to know about audio optimization: what it is, when to use it, how to enable it, and the ideal target loudness levels to aim for.
Audio optimization adjusts the overall gain of an audio stream, giving you consistent loudness levels throughout. This technique ensures that your audio sounds uniform across different segments, so viewers enjoy a smooth, uninterrupted listening experience.
Key concepts
Loudness optimization: This step sets audio levels to a specific target, ensuring a uniform perceived volume across all segments.
LUFS (Loudness Units relative to Full Scale): LUFS is the standard measurement used to gauge an audio stream’s loudness over its duration. It’s essential for achieving accurate optimization and balanced audio.
Audio levels might vary, causing an inconsistent listening experience with volume shifts.

Audio levels are more balanced, providing a seamless and uniform listening experience.

Audio optimization is ideal for creating smooth, enjoyable audio that stays consistent for your audience. Here are some scenarios where audio optimization can make a noticeable difference:
Inconsistent audio levels: When video or audio content has varying loudness, optimization smooths out these differences, making it easier for viewers to listen comfortably.
High-quality audio: To ensure that your audio quality remains high, optimization keeps loudness even across sections for a polished, professional finish.
Content compliance: If you’re creating content for broadcast or streaming, optimized audio helps you meet industry standards for loudness.
IMPORTANT CONSIDERATION
Keep in mind that audio optimization modifies your audio. Before using it, decide whether this feature aligns with your content’s needs.
You can enable audio optimization only during the media creation process for on-demand content (not available for live streams). Follow these steps to turn on audio optimization:
Access the API endpoint: Use the create asset endpoint to start creating a video asset.
Set the optimization key: In your API request, set the optimizeAudio key to true to enable audio optimization. Here’s an example:
Example request body for Pull Video with audio optimization enabled:
Example request body for Push Video with audio optimization enabled:
API reference links:
Create media (from URL) — full API reference and examples: Create media
Direct upload (from device) — direct upload API reference and examples: Direct upload video media
NOTE
After you’ve created a media asset, audio optimization settings can’t be modified.
"optimizeAudio": true so that FastPix applies the loudness-optimization process during video ingest.{Media_ID} with your existing media ID.When you request audio optimization by setting optimizeAudio: true, FastPix processes the audio enhancement in the background. After the optimization is complete, FastPix triggers a video.media.optimize_audio.ready webhook event to notify you that the optimized audio is ready.
We recommend a target loudness value of –23 LUFS. This is also a set standard in our system. This standard helps maintain a consistent and balanced loudness level across all your audio streams, ensuring a uniform listening experience for your audience.
Target Value: –23 LUFS
RECOMMENDATION
To get the best results, try mastering your audio content to this target level.