Skip to content

Repository files navigation

afmpeg

A pure-Go FFmpeg binding that runs on a virtual filesystem. No CGO, no host FFmpeg install, no temp files: FFmpeg is supplied as a separate WebAssembly module and executed via wazero, with its I/O bridged to an afero.Fs. Inputs and outputs can live entirely in memory, and the whole thing cross-compiles to a single static binary.

This is a read-only mirror. The canonical repository is on GitLab: https://gitlab.com/phpboyscout/afmpeg

Issues and merge requests are handled there.

Installing

The module path is the GitLab one:

go get gitlab.com/phpboyscout/afmpeg

go get github.com/phpboyscout/afmpeg will not work. The mirror is here for browsing and reference only.

The WebAssembly build of FFmpeg lives in its own project, ffmpeg-wasi, which is usable on its own by anything that can host a WASI runtime.

Documentation

Full documentation: https://afmpeg.phpboyscout.uk

Background on the design and what the sandbox does and does not buy you: Introducing afmpeg and ffmpeg-wasi.

About

Pure-Go FFmpeg binding running on a virtual filesystem. No CGO, no host install, no temp files. Mirror of gitlab.com/phpboyscout/afmpeg

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages