ffmpeg

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command ffmpeg builds the FFmpeg shared libraries NSGo Media loads, with LGPL components only, at the pinned version, for each desktop target and as frameworks for iOS, into archives, and FFmpeg's source with its diff into source/, which an app offers beside them. The desktop libraries are published as a release of this repository, which the core's nsgo-natives.yaml declares for nsgo build; nsgo-media bundle puts the iOS frameworks into an app.

It runs on macOS with Xcode and Go: Xcode's clang builds the macOS and iOS targets, and a pinned Zig, which it downloads, cross-compiles Windows and Linux. Every download is checked against its pinned SHA-256.

go run ./tools/ffmpeg                        # every target into dist/ffmpeg
go run ./tools/ffmpeg -target macos_arm64    # one target
go run ./tools/ffmpeg -layout internal/ffmpeg/layout.go  # regenerate the binding's struct layouts
go run ./tools/ffmpeg -natives internal/ffmpeg/library   # the release's files and the manifest declaring them

Jump to

Keyboard shortcuts

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