Skip to main content

vidtoolz-rnnn

PyPI Changelog Tests License

Noise reduction using ffmpeg rnnn model

Installation

First install vidtoolz.

pip install vidtoolz

Then install this plugin in the same environment as your vidtoolz application.

vidtoolz install vidtoolz-rnnn

Usage

type vid rnnn --help to get help

Basic Usage

# Basic usage with explicit output
vidtoolz rnnn -i input.mp3 -o output.wav -m bd --mix 0.6

# Automatic output filename generation
vidtoolz rnnn -i input.mp3 -m lq

# With custom mix ratio
vidtoolz rnnn -i input.mp3 -o output.wav -m mp --mix 0.8

Command Line Arguments

  • -i INPUT_AUDIO, --input_audio INPUT_AUDIO Path to input audio file (e.g. mp3, wav) - Required

  • -o OUTPUT_WAV, --output_wav OUTPUT_WAV Path to output WAV file - Optional (auto-generated if not provided)

  • -m {bd,cb,lq,mp,sh}, --model {bd,cb,lq,mp,sh} RNNoise model to use. Available models: bd, cb, lq, mp, sh - Required

  • --mix MIX Wet/dry mix ratio (0.0 = original, 1.0 = fully denoised) - Optional (default: 0.6)

Available Models

The plugin automatically discovers available RNNoise models from the models directory:

  • bd - beguiling-drafter-2018-08-30
  • cb - conjoined-burgers-2018-08-28
  • lq - leavened-quisling-2018-08-31
  • mp - marathon-prescription-2018-08-29
  • sh - somnolent-hogwash-2018-09-01

Examples

# Denoise a podcast recording with studio model
vidtoolz rnnn -i podcast.mp3 -m sh -o podcast_clean.wav

# Clean up a noisy street interview
vidtoolz rnnn -i interview.mp3 -m mp --mix 0.7

# Process multiple files (bash loop)
for file in *.mp3; do
    vidtoolz rnnn -i "$file" -m cb
 done

RNNoise Model Suitability Summary

Suite / Model Name Recording Environment Noise Level Includes Non-Speech Sounds (cough, laugh, music) Best Use Cases When NOT to Use
somnolent-hogwash-2018-09-01 Clean / reasonable Low ❌ No Studio voice, podcasts, audiobooks, narration, clean travel vlogs Very noisy scenes, crowd, traffic
beguiling-drafter-2018-08-30 Reasonable (fan, AC, PC noise) Low–Medium ⚠️ Yes (light) Home recordings, YouTube voiceovers, interviews Heavy noise, music-heavy background
conjoined-burgers-2018-08-28 Reasonable → moderately noisy Medium ✅ Yes General-purpose denoising, mixed environments Extremely noisy environments
marathon-prescription-2018-08-29 Noisy Medium–High ✅ Yes (music, cough, laugh) Vlogs, street recordings, travel audio, public places Clean studio voice (may over-denoise)
leavened-quisling-2018-08-31 Very noisy High ✅ Yes Traffic, crowds, cafés, trains, outdoor speech Clean or semi-clean audio (can sound robotic)

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd vidtoolz-rnnn
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for vidtoolz-rnnn 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vidtoolz-rnnn 0.1.0
File Size Uploaded Provenance
vidtoolz_rnnn-0.1.0.tar.gz 9.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vidtoolz-rnnn 0.1.0
File Interpreter ABI Platform
vidtoolz_rnnn-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / vidtoolz_rnnn-0.1.0.tar.gz

Download URL vidtoolz_rnnn-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b27c865f688fb71a44dee67e85fd8d97750358d7a67d0314682f91c5204c1803
BLAKE2b-256 checksum
How to use checksums
553974b635f9971ffa3d86169913b79025a01a27ffa8fda4c5f69613bdd01f66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Release files / vidtoolz_rnnn-0.1.0-py3-none-any.whl

Download URL vidtoolz_rnnn-0.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f098e21b1af6304ba40d6c9e7d3005ceee22059f8f7688d861768696032a1c7
BLAKE2b-256 checksum
How to use checksums
36be556634e814a038d13e343c28de2b6196c8a75a48b4932cbb7737ebd0d6d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

Security for vidtoolz-rnnn 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vidtoolz_rnnn-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page