Skip to content

Commit 03c3e96

Browse files
committed
try enable libplacebo filter
1 parent 646e63a commit 03c3e96

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

configs/ffconfig/auto-detect-third-libs.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,17 @@ fi
140140

141141
echo "----------------------"
142142

143+
# export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR:/opt/homebrew/Cellar/shaderc/2024.0/lib/pkgconfig:/opt/homebrew/Cellar/little-cms2/2.16/lib/pkgconfig
144+
# pkg-config --libs libplacebo --silence-errors >/dev/null && enable_placebo=1
145+
146+
# if [[ $enable_placebo ]];then
147+
# echo "[✅] --enable-libplacebo"
148+
# THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --enable-libplacebo"
149+
# else
150+
# echo "[❌] --disable-libplacebo"
151+
# fi
152+
# echo "----------------------"
153+
143154
# pkg-config --libs avs3ad --silence-errors >/dev/null && enable_avs3ad=1
144155

145156
# if [[ $enable_avs3ad ]];then

do-compile/apple/ffmpeg.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ CFG_FLAGS="$CFG_FLAGS $THIRD_CFG_FLAGS"
4040
CFG_FLAGS="$CFG_FLAGS --enable-demuxer=dash --enable-libxml2"
4141

4242
C_FLAGS="$MR_OTHER_CFLAGS -arch $MR_FF_ARCH"
43+
# C_FLAGS="$C_FLAGS -I/Users/matt/GitWorkspace/MoltenVK/Package/Release/MoltenVK/include"
4344
# use system xml2 lib
4445
C_FLAGS="$C_FLAGS $(xml2-config --prefix=${MR_SYS_ROOT}/usr --cflags)"
4546
LDFLAGS="$C_FLAGS $(xml2-config --prefix=${MR_SYS_ROOT}/usr --libs)"
4647

48+
# LDFLAGS="$LDFLAGS -framework IOKit -framework Metal -framework IOSurface -framework CoreGraphics -framework QuartzCore -framework AppKit -framework Foundation -lc++ /Users/matt/GitWorkspace/MoltenVK/Package/Release/MoltenVK/static/MoltenVK.xcframework/macos-arm64_x86_64/libMoltenVK.a"
4749
echo "----------------------"
4850
echo "[*] configure"
4951

0 commit comments

Comments
 (0)