Yasla contains copies of the ffmpeg and ffprobe command line programs from the FFmpeg project, licensed under open-source licenses.

FFmpeg is a free and open-source software project. It is in no way affiliated with Yasla. The ffmpeg and ffprobe utilities can be used independently of Yasla and free of charge.

Source code and build instructions

The ffmpeg and ffprobe binaries coming with Yasla are rather specialized builds: They only contain the encoders and filters absolutely required for import. For general use, the more complete builds available on the web are probably a better choice.

The FFmpeg sources are available for download at ffmpeg.org/download.html

To build ffmpeg, recent versions of YASM/NASM must be available. Also, a version of libaom suitable for static linking is required.
The actual build follows the usual configure / make / make install pattern. The following commands compile for x86_64 (Intel). To compile for arm64 (Apple Silicon), replace --arch=x86_64 with --arch=arm64.

export LDFLAGS="$LDFLAGS -framework VideoToolbox"
./configure --prefix=${SRC} \
--arch=x86_64 \
--cc=/usr/bin/clang \
--pkg-config-flags=--static \
--extra-cflags="-fno-stack-check" \
--extra-version=Yasla \
--disable-doc \
--disable-ffplay \
--disable-avdevice \
--disable-devices \
--disable-network \
--disable-encoders \
--disable-protocols \
--disable-muxers \
--disable-postproc \
--disable-filters \
--disable-debug \
--enable-runtime-cpudetect \
--enable-libaom \
--enable-filter=aresample \
--enable-filter=scale \
--enable-filter=setsar \
--enable-filter=yadif \
--enable-protocol=file \
--enable-encoder=aac \
--enable-encoder=h264_videotoolbox \
make install

FFmpeg is a trademark of Fabrice Bellard, originator of the FFmpeg project.