# Set a Video's Audio Bitrate

Re-encode just a video's audio at your chosen bitrate to shrink an oversized soundtrack while the picture is stream-copied untouched. Runs in-browser; nothing uploaded.

## Run it

- **CLI:** `gizza tool video-audio-bitrate-set 'url=https://example.com/input' 'bitrate=128'`
- **Web:** https://gizza.ai/tools/video-audio-bitrate-set/
- **Agents:** machine-readable descriptor (parameters JSON Schema) at https://gizza.ai/tools/video-audio-bitrate-set/tool.json

## Inputs

- `file` — Video _(file; accept: video/*)_
- `bitrate` — Audio bitrate _(field)_

## Output

- Re-encoded video (video)

## Query parameters

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

- `bitrate` — Audio bitrate
- `url` — fetch the input file from a public URL (CORS-permitting)

Example: `https://gizza.ai/tools/video-audio-bitrate-set/?url=https://example.com/input&bitrate=128`

---

## Shrink a video's audio without touching the picture

Pick a video, choose a target **audio bitrate**, and get the same clip back
with a smaller, re-encoded soundtrack. The picture is **stream-copied** (not
re-encoded), so it stays byte-for-byte identical and processing is fast — only
the audio track is re-encoded to the bitrate you pick. Everything runs in your
browser; nothing is uploaded.

### Why change the audio bitrate?

A lot of clips carry a soundtrack recorded at 256–320 kbps (or higher) when the
audio is only speech. Dropping it to 96–128 kbps can shave megabytes off the
file with no visible change to the video and little audible change to talking.
Because the video is copied untouched, the whole file is only as big as its
picture plus the smaller audio you chose.

### Picking a bitrate

- **64–96 kbps** — voice, podcasts, screen recordings, narration. Smallest
  files; fine for speech.
- **128 kbps** — the default. A good balance for stereo music or mixed speech
  and music.
- **160–192 kbps** — keeps music sounding clean.
- **256–320 kbps** — near-transparent quality; use when the soundtrack matters
  and file size doesn't.

**Worked example:** a 40 MB screen recording whose audio is a 320 kbps stereo
track of someone talking. Load `recording.mp4`, pick **96 kbps**, and you get
`recording-audio.mp4` — the same video, an audio track a fraction of the size,
and a noticeably smaller overall file.

### Notes and limits

- The video stream is copied losslessly; the output keeps the same container
  (mp4 → mp4, webm → webm). WebM audio is re-encoded to Opus, everything else
  to AAC.
- Bitrate is **constant (CBR)** — the same target across the whole clip.
- This lowers (or raises) the audio bitrate; it does not re-encode or shrink the
  picture. To make the *video* smaller, use a video-compression tool instead.
- Input and output are each capped at 25 MB (the file is processed in your
  browser's memory).

## FAQ

<details>
<summary>Is my video uploaded to a server?</summary>

No — ffmpeg runs inside your browser tab, so the file never leaves your device.

</details>

<details>
<summary>Will changing the audio bitrate hurt the video quality?</summary>

No. Only the audio is re-encoded; the **picture is stream-copied without
re-encoding**, so the video quality is identical to the original.

</details>

<details>
<summary>Does a lower bitrate make the whole file smaller?</summary>

Yes, for the audio portion. The video stream is copied unchanged, so the total
saving equals the difference between the old and new audio bitrates times the
clip length. On a talky clip with a high-bitrate soundtrack that can be several
megabytes.

</details>

<details>
<summary>Can I raise the bitrate to improve quality?</summary>

You can pick a higher value, but re-encoding lossy audio to a higher bitrate
cannot recover detail that was already discarded — it only makes the file
bigger. Raising the bitrate makes sense only when the source audio is
high-quality to begin with.

</details>

<details>
<summary>Which video formats can I use, and how big can the file be?</summary>

Anything ffmpeg can read — mp4, mov, mkv and webm are the common cases. The
output keeps the input's container and is named after the original with an
`-audio` suffix (e.g. `clip.mp4` → `clip-audio.mp4`). WebM audio is re-encoded
to Opus and everything else to AAC. The input and output are each capped at
25 MB.

</details>

## Related tools

- [Fit Audio to an Exact Length](https://gizza.ai/tools/audio-fit-to-length/): Make any audio file an exact number of seconds — pad it with silence when it's short or trim it when it's long. Runs in your browser, nothing uploaded.
- [Shorten Long Audio Pauses](https://gizza.ai/tools/audio-pause-shortener/): Tighten speech pacing by shortening long silent gaps to a natural pause length in your browser. Nothing is uploaded, free.
- [Remove Background Noise from a Video](https://gizza.ai/tools/video-audio-denoise/): Clean up hiss, hum and background noise in a video's audio right in your browser — pick a strength and denoiser. The picture is untouched. Nothing is uploaded, free.
- [Fade Video Audio In or Out](https://gizza.ai/tools/video-audio-fade/): Add fade-in and fade-out ramps to a video's audio while copying the picture untouched. Free, private, and runs in your browser.
- [Change a Video's Audio Volume](https://gizza.ai/tools/video-audio-gain/): Make a video louder or quieter right in your browser — by decibels or a factor, with a clipping-safe limiter. The picture is untouched. Nothing is uploaded, free.
