@@ -7,7 +7,7 @@ Build hints from [here](https://github.com/zimbatm/ffmpeg-static) and [here](htt
77# WHY?! Statically Linking is generally a Bad Idea(tm)!
88Yes, but node packages * REALLY* like statically linked FFMPEG and FreeBSD is pretty decent with symbol versioning so we can have this.
99
10- ## Build settings and library versions (5.1)
10+ ## Build settings and library versions (5.1) (FreeBSD 12.2 AMD64)
1111--enable-static --disable-shared --disable-ffplay --enable-gpl --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libass --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libsoxr --enable-libvidstab --enable-libopenjpeg --enable-libzimg --enable-libwebp --enable-libvorbis --enable-libspeex --enable-libxvid --enable-libvmaf --enable-libzmq --enable-libaom --enable-libzvbi --enable-libdav1d --enable-libsnappy --enable-libmodplug --enable-libtheora --enable-libtwolame --enable-libmysofa --enable-libbluray --enable-libgme --enable-libgsm --enable-librubberband --enable-fontconfig --enable-runtime-cpudetect --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
1212
1313other libraries:
@@ -26,13 +26,50 @@ other libraries:
2626not used:
2727--enable-libvo-amrwbenc (very old, opencore likely better)
2828
29+ ## Build settings and library versions (5.1.1) (FreeBSD 13.1 AMD64) (EXPERIMENTAL Please test)
30+ --enable-gpl --enable-libdav1d --enable-libsvtav1 --enable-librav1e --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvidstab --enable-libaom --enable-libzimg --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-lv2 --enable-libtheora --enable-libwebp --enable-libsrt --cc=cc --cxx=cpp --disable-debug --disable-doc --disable-shared --enable-pthreads --enable-static --enable-small --enable-version3 --extra-cflags='-static -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/lilv-0' --extra-ldexeflags=-static --extra-ldflags=-L/root/ffmpeg-build-script/workspace/lib --extra-libs='-static -ldl -lpthread -lm -lmd -lz' --pkgconfigdir=/root/ffmpeg-build-script/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/root/ffmpeg-build-script/workspace --extra-version=5.1.1
31+
32+ This has TEST FAILURES!
33+ ```
34+ --- ./tests/ref/fate/source 2022-08-31 10:10:03.000000000 -0600
35+ +++ tests/data/fate/source 2022-09-13 21:29:26.489491438 -0600
36+ @@ -1,26 +1,4 @@
37+ Files without standard license headers:
38+ -libavcodec/file_open.c
39+ -libavcodec/ilbcdata.h
40+ -libavcodec/ilbcdec.c
41+ -libavcodec/interplayacm.c
42+ -libavcodec/log2_tab.c
43+ -libavcodec/reverse.c
44+ -libavdevice/file_open.c
45+ -libavdevice/reverse.c
46+ -libavfilter/af_arnndn.c
47+ -libavfilter/file_open.c
48+ -libavfilter/log2_tab.c
49+ -libavformat/file_open.c
50+ -libavformat/golomb_tab.c
51+ -libavformat/log2_tab.c
52+ -libswresample/log2_tab.c
53+ -libswscale/log2_tab.c
54+ -tools/uncoded_frame.c
55+ -tools/yuvcmp.c
56+ Headers without standard inclusion guards:
57+ -compat/djgpp/math.h
58+ -compat/float/float.h
59+ -compat/float/limits.h
60+ -tools/decode_simple.h
61+ Use of av_clip() where av_clip_uintp2() could be used:
62+ Use of av_clip() where av_clip_intp2() could be used:
63+ Test source failed. Look at tests/data/fate/source.err for details.
64+ ```
65+
2966# Updates
3067
3168This binary requires a large number of patches and rebuilds of components to function so it will lag behind any other FFMPEG-static binaries by quite a bit. If you want updates please ** OPEN A TICKET** but keep in mind this is a rather low priority to me.
3269
3370# TODO
3471
35- - Make this less painful to build
72+ - Make this less painful to build if possible
3673
3774# Bugs
3875
0 commit comments