doc(ffmpeg): Add DNS resolution note and example

This commit is contained in:
jojobyte
2023-07-14 19:21:53 -06:00
parent 0b127b3c6e
commit 005f0fd4f7

View File

@@ -19,3 +19,16 @@ that produce the most similar quality by default.
```sh
ffmpeg -i input.m4a output.mp3
```
Important information per https://johnvansickle.com/ffmpeg/release-readme.txt
> Notes: A limitation of statically linking `glibc` is the loss of DNS resolution. Installing `nscd` through your package manager will fix this.
*This is relevant if using ffmpeg to relay to an RTMP server via domain name.*
```sh
# for example, this will not work without `nscd` installed.
ffmpeg -re -stream_loop -1 -i "FooBar.m4v" -c copy -f flv rtmp://stream.example.com/foo/bar
```