allyourcodebase/ffmpeg
FFmpeg Zig package
6c72830882690c1eb2567a537525c3f432c1da50.tar.gz
7d862fe61ff2eac37ee54e1e017fc287bed1cd7a
f348124c5382bcc377f1b3277357cbf2ed2fb8db.tar.gz
refs
9a7e3db1a86d86c33e1663c13ebe8e8f047fc008.tar.gz
f276273dcb0d9a5e0d832e3745c458c8056ee7ad.tar.gz
a0dc88e815fdd278b412d9b5ba09221f20517e03.tar.gz
c153aec97cfe50a4600d9cf3d5f703d58f9ccd56.tar.gz
This is a fork of ffmpeg, packaged for Zig. Unnecessary
files have been deleted, and the build system has been replaced with
build.zig
.
There are no system dependencies; the only thing required to build this package is Zig.
Zig API bindings are also provided via the "av" module. See doc/examples
for
API usage examples.
More can be added as desired.
These are the instructions to update this package when a new FFmpeg version is released upstream.
find libavcodec/ libavdevice/ libavfilter/ libavformat libavutil/ libswscale/ libswresample/ -type f -name "*.asm" -o -name "*.c" -o -name "*.S"
_template.c
or _tablegen.c
all_sources
list in build.zig
./L
prefix means Linux-only/W
prefix means Windows-only./configure --prefix=$HOME/local/ffmpeg --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-programs --enable-libmp3lame --enable-libvorbis --disable-shared --enable-static
against upstream and diff the generated config.h
file to the one generated
by this build script. Apply appropriate changes to build.zig
.config_components.h
libavfilter/filter_list.c
libavcodec/codec_list.c
libavcodec/parser_list.c
libavcodec/bsf_list.c
libavformat/demuxer_list.c
libavformat/muxer_list.c
libavdevice/indev_list.c
libavdevice/outdev_list.c
libavformat/protocol_list.c
headers
list in build.zig
based on what files are present in
$HOME/local/ffmpeg/include
.