From 01d2750a1f4a70582f83ad88baa49d59e4a52e90 Mon Sep 17 00:00:00 2001 From: Adam Jensen Date: Sun, 24 Dec 2023 13:38:54 -0500 Subject: [PATCH] readme: Suggest set of options for getting started --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f7b89e7..007d3b1 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.