# Compress a video's audio dynamics

Even out a video's quiet and loud passages in your browser with ffmpeg dynamic-range compression. The picture is copied untouched.

## Run it

- **CLI:** `gizza tool video-audio-compress-dynamics 'url=https://example.com/input' 'preset=medium' 'makeup=true'`
- **Web:** https://gizza.ai/tools/video-audio-compress-dynamics/
- **Agents:** machine-readable descriptor (parameters JSON Schema) at https://gizza.ai/tools/video-audio-compress-dynamics/tool.json

## Inputs

- `file` — Video _(file; accept: video/*)_
- `preset` — Compression preset _(field)_
- `makeup` — Apply make-up gain _(field)_

## Output

- Compressed-dynamics video (video)

## Query parameters

Open the tool pre-filled and auto-run via URL:

- `preset` — Compression preset
- `makeup` — Apply make-up gain
- `url` — fetch the input file from a public URL (CORS-permitting)

Example: `https://gizza.ai/tools/video-audio-compress-dynamics/?url=https://example.com/input&preset=medium&makeup=true`

---

## About this tool

**Video Audio Dynamics Compressor** evens out a video's soundtrack so quiet and loud passages sit closer together. It uses ffmpeg's `acompressor` audio filter, copies the video stream unchanged, and re-encodes only the audio track.

Use it when a screen recording, lecture, interview, or phone clip jumps between hard-to-hear speech and loud bursts. Pick a preset:

- **Light** keeps most of the original dynamics and gently tames peaks.
- **Medium** is the default, a balanced broadcast-style levelling pass.
- **Heavy** is more aggressive and pulls quiet/loud passages much closer together.

**Apply make-up gain** is on by default. It restores some loudness after compression; turn it off when you only want to reduce peaks without lifting the whole track.

### Limits and edge cases

- Dynamic-range compression is different from file-size compression. To make a file smaller, use a video or audio compression tool instead.
- The video track is copied (`-c:v copy`), so pixels, resolution, frame rate, and visual quality are not changed.
- The audio track is re-encoded because the compressor rewrites samples.
- WebM outputs use Opus audio; MP4/MOV/M4V/MKV outputs use AAC.
- Very noisy clips may still need noise reduction before compression.

### Worked example

For a lecture where the speaker turns away from the microphone, choose **Medium levelling** with make-up gain on. The generated ffmpeg plan applies:

```text
-af acompressor=threshold=-24dB:ratio=4:attack=10:release=200:makeup=4
```

The resulting video keeps the original picture while the audio is easier to listen to.

## FAQ

<details>
<summary>Is this the same as making the video file smaller?</summary>

No. This compresses the **dynamic range** of the audio — the gap between quiet and loud moments. It is about listenability, not file size. For smaller files, use a video compression tool.

</details>

<details>
<summary>Will it change the picture quality?</summary>

No. The video stream is copied, so the image is not re-encoded. Only the audio stream is processed and re-encoded.

</details>

<details>
<summary>Which preset should I choose?</summary>

Start with **Medium**. Use **Light** when you want a natural result, and **Heavy** when speech levels vary a lot or the clip needs aggressive levelling.

</details>

<details>
<summary>What does make-up gain do?</summary>

Compression reduces peaks and can make the track feel quieter. Make-up gain raises the processed audio back up. Turn it off when you only want peak control without increasing the overall level.

</details>

## Related tools

- [Bleep or Mute Regions of an Audio File](https://gizza.ai/tools/audio-bleep-censor/): Censor an audio file in your browser — bleep, mute, or duck the exact time regions you pick. Set a tone frequency and output format. Nothing is uploaded, free.
- [Compress an Audio File](https://gizza.ai/tools/audio-compress/): Shrink MP3, WAV, M4A or any audio file right in your browser — pick a target bitrate (96 kbps default) and format. Nothing is uploaded, free.
- [Convert an Audio File](https://gizza.ai/tools/audio-convert/): Convert any audio file to MP3, WAV, OGG, FLAC or M4A right in your browser — pick a bitrate for lossy formats. Runs locally, nothing is uploaded, free.
- [Trim Leading & Trailing Silence](https://gizza.ai/tools/audio-edge-silence-trimmer/): Cut dead air at the start and end of a recording while leaving middle pauses untouched — set a threshold and edge pad. Runs locally, nothing uploaded.
- [Add Effects to an Audio File](https://gizza.ai/tools/audio-effects-rack/): Add reverb, echo, chorus, tremolo and compression to audio in your browser — chain effects in one pass and download MP3, WAV or more. No upload.
