Files
vim-ale/ffmpeg/README.md
2023-10-17 17:23:07 +00:00

45 lines
1.1 KiB
Markdown

---
title: ffmpeg
homepage: https://ffmpeg.org/
tagline: |
FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video.
---
To update or switch versions, run `webi ffmpeg@stable` (or `@v4.4`, `@beta`,
etc).
### Files
These are the files / directories that are created and/or modified with this
install:
```text
~/.config/envman/PATH.env
~/.local/bin/ffmpeg
```
## Cheat Sheet
> FFmpeg is useful for converting between various audio, video, and image
> formats.
Many simple conversions can be auto-detected by file extension and the options
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
```