> For the complete documentation index, see [llms.txt](https://notes.tatusl.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.tatusl.dev/misc/ffmpeg.md).

# 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>
