lib

package
v0.0.0-...-9825c39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 13 Imported by: 0

README

FFmpeg Static Libraries

This directory contains pre-built FFmpeg static libraries for different platforms.

Automatic Download

Libraries are automatically downloaded when you build ffmpeg-statigo for the first time.

To manually trigger the download:

just download-lib

Manual Download

If automatic download fails, download libraries from GitHub Releases.

Extract the appropriate tarball to the lib directory:

  • ffmpeg-linux-amd64.tar.gzlib/linux_amd64/
  • ffmpeg-darwin-amd64.tar.gzlib/darwin_amd64/
  • ffmpeg-darwin-arm64.tar.gzlib/darwin_arm64/
  • ffmpeg-linux-arm64.tar.gzlib/linux_arm64/

Structure

lib/
├── <platform>_<arch>/
│   └── libffmpeg.a
├── fetch.go         # Auto-download implementation
└── README.md        # This file

Documentation

Index

Constants

View Source
const Version = "8.0.1"

Version is the FFmpeg library version (major.minor.patch) The downloader will find the latest internal release (e.g., lib-8.0.1.0)

Variables

This section is empty.

Functions

func DownloadLibs

func DownloadLibs() error

DownloadLibs downloads the FFmpeg static libraries for the current platform

Types

type GitHubAsset

type GitHubAsset struct {
	Name               string `json:"name"`
	BrowserDownloadURL string `json:"browser_download_url"`
	Digest             string `json:"digest"` // SHA256 digest in format "sha256:..."
}

type GitHubRelease

type GitHubRelease struct {
	TagName string `json:"tag_name"`
	Name    string `json:"name"`
}

type GitHubReleaseDetail

type GitHubReleaseDetail struct {
	Assets []GitHubAsset `json:"assets"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL