October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
DocumentaryTube
audio normalization

How to Normalize Audio Volume Across Videos in an FFmpeg YouTube Loop

Use FFmpeg loudnorm to measure each video separately, apply common targets across a loop, and avoid mistaking example LUFS settings for YouTube requirements.

By DocumentaryTube Team 6 min read
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use FFmpeg’s loudnorm filter with one shared set of target values and separate loudness measurements for every video. For a batch of pre-recorded videos, a two-pass workflow measures each file first, then processes it using those measurements where linear normalization is possible. YouTube’s published upload guidance does not specify a mandatory LUFS target, so treat target values as production choices—not YouTube rules.

Why loudness normalization matters in a video loop

Videos recorded or mastered at different levels can sound uneven when played in sequence. FFmpeg’s loudnorm filter targets integrated loudness and true peak, rather than merely matching sample peaks. For a consistent batch, use the same target settings for every video but measure each file independently. FFmpeg’s filter documentation describes single-pass and double-pass operation for files and livestreams.

Normalization changes the audio signal. If you want to preserve the existing video stream, you can stream-copy the video while filtering and re-encoding the audio; stream-copying video does not copy the audio unchanged.

Choose targets without treating them as YouTube rules

The examples below use I=-16 LUFS, LRA=11 LU, and TP=-1.5 dBTP as illustrative production targets. They are not an official YouTube mastering requirement. YouTube’s upload encoding recommendations specify supported audio formats and sample rate, not a mandatory LUFS target.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

In loudnorm, I is target integrated loudness, LRA is target loudness range, and TP is the true-peak ceiling. FFmpeg documents ranges of -70 to -5 LUFS for I, 1 to 50 LU for LRA, and -9 to 0 dBTP for TP. Its defaults—I=-24, LRA=7, and TP=-2—are filter defaults, not YouTube recommendations. Choose targets appropriate for your material and intended listening; do not assume one number fits every documentary, music bed, interview, or archive recording.

Normalize each video with a two-pass workflow

1. Measure the first file

Run a measurement pass for the audio stream you intend to use. This example selects the first audio stream, prints JSON measurements, and discards the processed output:

ffmpeg -i input.mp4 -map 0:a:0 -af "loudnorm=I=-16:LRA=11:TP=-1.5:print_format=json" -f null -

At the end of the output, note input_i, input_lra, input_tp, and input_thresh. These measurements apply to this input file; repeat the measurement for every video. If a file has multiple audio streams, inspect the input and select the intended stream rather than assuming 0:a:0 is correct.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

2. Process that file with its own measurements

Substitute the four measured values for the uppercase placeholders below. They are explanatory placeholders, not literal filter values.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ffmpeg -i input.mp4 -map 0:v? -map 0:a:0 
  -af "loudnorm=I=-16:LRA=11:TP=-1.5:measured_I=INPUT_I:measured_LRA=INPUT_LRA:measured_TP=INPUT_TP:measured_thresh=INPUT_THRESH:linear=true" 
  -c:v copy -c:a aac output.mp4

The common targets make the files comparable; the per-file measurements let the filter calculate processing for each source. The example copies any video stream that matches the optional map and encodes the selected audio as AAC. Check FFmpeg’s stream mapping and confirm that the chosen output container and codecs suit your actual inputs. If there is no audio stream, the measurement command cannot run as written; handle that file separately rather than treating silence as a successful measurement.

3. Check whether linear mode was used

Linear normalization is conditional, not guaranteed by linear=true. FFmpeg requires all four measured values; the requested target LRA must not be below the source LRA, and the gain must not push true peak above the target. If those conditions are not met, the filter can revert to dynamic mode. Review FFmpeg’s output and listen to representative passages, especially quiet speech, loud peaks, and transitions between videos.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Run the same process across a batch

Automate the measurement and processing as two stages for every input: capture that file’s own four measurements, then insert those values into its processing command while keeping the target parameters constant. Do not reuse the first video’s measurements for the rest of the playlist. Preserve a mapping between each filename and its measurement output so values cannot be accidentally assigned to another file.

  • Keep target I, LRA, and TP identical across the batch unless you deliberately want different loudness treatment.
  • Measure the final audio mix for each video, not an intermediate track that will later be mixed with narration or music.
  • Write processed files to a separate output location and verify filenames and stream mappings before replacing originals.
  • After encoding, check playback across file boundaries; normalization cannot correct abrupt edits, inconsistent room tone, or a poorly balanced mix within an individual video.

When one pass is more practical

loudnorm also supports single-pass processing. That can be useful when a preliminary full-file measurement pass is impractical, but it does not provide the same measure-each-file-then-process workflow. FFmpeg notes that dynamic mode upsamples audio to 192 kHz to detect true peaks. If you need a particular output sample rate, set it explicitly with an output option such as -ar or use aresample.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For mono audio intended for stereo playback, assess the dual_mono option. FFmpeg documents it as compensation for perceptual measurement differences in that case; whether it is appropriate depends on how the mono material will be played.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Check the upload and playback path

YouTube’s upload guidance recommends AAC-LC, Opus, or Eclipsa Audio and a 48 kHz sample rate. Those are upload recommendations, not loudness targets. Its audio troubleshooting guidance warns that poor mono compatibility can degrade or mute audio after stereo-to-mono conversion, so check channel compatibility as well as loudness.

File normalization is distinct from processing during playback. YouTube says Stable volume is on by default when watching videos where available, but it is unavailable for some videos and disabled for YouTube Music and official music videos; see YouTube’s Stable volume information and its audio enhancements page. That playback-side behavior does not replace normalizing your source files for a loop.

Troubleshooting common problems

The output still sounds uneven

Confirm that every file used the same targets and its own measured values. Then listen for differences caused by mix balance, speech-to-music ratios, or edits: integrated loudness normalization does not make unlike mixes perceptually identical in every moment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The filter did not stay in linear mode

Check the filter output and measurements. Linear operation can fail when the target LRA is below measured source LRA or the required gain would exceed the true-peak ceiling. The filter may then use dynamic normalization; do not promise an exact linear result merely because the command includes linear=true.

The command reports a stream or mapping error

Inspect the input’s streams and revise -map 0:a:0 if the desired audio is elsewhere. The sample uses optional video mapping (-map 0:v?) and assumes an audio stream exists. Confirm that the output container supports the selected video stream copy and AAC audio.

Audio changes after upload or sounds wrong in mono

Check the encoded file locally, confirm its sample rate and audio codec against YouTube’s upload guidance, and test mono compatibility. A channel-cancellation problem can be exposed when stereo is converted to mono, even when the loudness measurement itself appears reasonable.

Or let it run in the cloud

If your normalized videos are ready and the goal is a continuous YouTube loop, StreamNeo can run uploaded videos from the cloud. Upload a recording or build a playlist, add your YouTube stream key once, and go live. Your computer and home connection do not need to stay on; the videos stream as uploaded, up to 4K 60fps, at one flat price per slot, and StreamNeo automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly billing is $9.99 per month. See StreamNeo or start the free first day.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Screening Room

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.