# FFmpeg

## Reduce noise from spoken audio using trained neural networks

Download trained model from <https://github.com/GregorR/rnnoise-models/tree/master/conjoined-burgers-2018-08-28>

Apply audio filter, for example with command:

```
ffmpeg -i orig.ext -af arnndn=m=cb.rnnn -c:v cleaned_audio.ext
```

Parameter `-c:v` just copies the videostream without processing.

I used this to clean recorded audio from screen recording and it worked really fine.

## Resources:

* <https://superuser.com/a/1739632>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.tatusl.dev/misc/ffmpeg.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
