Skip to content

Commit

Permalink
readme: Suggest set of options for getting started
Browse files Browse the repository at this point in the history
  • Loading branch information
acj committed Dec 24, 2023
1 parent 8c3dc16 commit 01d2750
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ asdf plugin add ffmpeg
asdf plugin add ffmpeg https://github.com/acj/asdf-ffmpeg.git
```

Second, choose which options you want to enable. Here is a reasonable starting point with broad support for modern codecs:

```sh
# Tip: put this in your ~/.bashrc or ~/.zshrc so that it's available for future installs
export ASDF_FFMPEG_ENABLE="libaom fontconfig freetype frei0r lame libass libvorbis libvpx opus rtmpdump sdl2 snappy theora x264 x265 xz"
```

Then, select a version of ffmpeg and install it:

```shell
Expand All @@ -67,6 +74,8 @@ asdf global ffmpeg latest
ffmpeg -version
```

If there are errors during the build, you might need to install additional libraries.

## Libraries and add-ons

You can configure FFmpeg to support [more features and media formats](https://ffmpeg.org/general.html#External-libraries) by enabling options.
Expand Down

0 comments on commit 01d2750

Please sign in to comment.