ffmpeg corresponding source for Viral Clipper
=============================================

Viral Clipper runs ffmpeg and ffprobe as separate programs
(Viral Clipper.app/Contents/MacOS/ffmpeg and ffprobe). They are FFmpeg 8.0,
licensed LGPL-2.1-or-later, built without GPL or non-free components. This
archive is the complete source they were built from:

  sources/    upstream tarballs (sha256 and origin in SOURCES.txt)
  patches/    the one local change to FFmpeg, applied with `patch -p1`
  build/      build-lgpl-ffmpeg.sh (the exact configure line and steps),
              BUILD_INFO.txt and NOTICES.txt of the shipped binaries
  homebrew/   the Homebrew formulae that built the statically linked
              libraries (libass and its font/text stack), and under
              Patches/ the patches they apply, from the homebrew-core
              commit that built each bottle (SOURCES.txt)

Rebuilding: install the Homebrew formulae at the versions in NOTICES.txt
(or build each library from sources/ as its formula does), then run
build/build-lgpl-ffmpeg.sh. It checks the result is LGPL and self-contained.

Using your own ffmpeg: either replace Contents/MacOS/ffmpeg and ffprobe in
the app and re-sign the copy for your Mac
  codesign --force --deep --sign - "/Applications/Viral Clipper.app"
or leave the app untouched and point it at a folder holding your ffmpeg and
ffprobe:
  CLIPMINER_TOOL_DIR=/path/to/folder "/Applications/Viral Clipper.app/Contents/MacOS/Viral Clipper"

The GNU Lesser General Public License, version 2.1, ships inside the app as
Contents/Resources/Licenses/ffmpeg-LGPL-2.1.txt.
