Normalize audio via ffmpeg / avconv
Project description
ffmpeg-normalize
Audio Normalization Script for Python/ffmpeg. The script RMS-normalizes media files (video, audio) to -26 dB RMS. It outputs PCM WAV files named as normalized-<input>.wav. It can also do peak normalization.
Requirements
Python 2.7 or 3
Recent version of ffmpeg (use your distribution’s package manager or download a static build from http://ffmpeg.org/download.html if you don’t want to compile) in your $PATH
Usage
Very simple, just install with pip and run it:
pip install ffmpeg-normalize ffmpeg-normalize -i <input-file> -v
Or run it directly from source:
python -m ffmpeg_normalize -i <input-file> -v
Options
Type ffmpeg-normalize -h for usage:
-f, --force Force overwriting existing files -l LEVEL, --level LEVEL level to normalize to (default: -26 dB) -p PREFIX, --prefix PREFIX Normalized file prefix (default: "normalized") -m, --max Normalize to the maximum (peak) volume instead of RMS -v, --verbose Enable verbose output -n, --dry-run Show what would be done, do not convert
History
0.1.3 (2015-12-15)
Bugfix for detecting ffmpeg or avconv on Windows (as .exe)
Add version to Usage message
Update year
0.1.2 (2015-11-13)
Bugfix for missing ffmpeg or avconv
0.1.0 (2015-08-01)
First release, changing name to ffmpeg-normalize
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ffmpeg-normalize-0.1.3.tar.gz.
File metadata
- Download URL: ffmpeg-normalize-0.1.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
141fdfdba60eac314d1be0fd100091973dcee856e088fb9d36f442b067c73ed3
|
|
| MD5 |
f2901f9de210275db6f0f32031abd03e
|
|
| BLAKE2b-256 |
5f353b4d6b887ccbf71c8340b865125575219e5a5d074dc923895217417a0a1a
|