Created
November 28, 2024 10:15
-
-
Save substring/fac2a51007323b43da2a4cb5482a7cc7 to your computer and use it in GitHub Desktop.
MSYS2 simple ffmpeg code example linked "as static as can be"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| g++ -O2 -std=c++11 -static-libgcc -static-libstdc++ -fopenmp 01-remuxing.cpp -static -DGLIB_STATIC_COMPILATION -DGOBJECT_STATIC_COMPILATION -DGIO_STATIC_COMPILATION -DCAIRO_WIN32_STATIC_BUILD -DGMODULE_STATIC_COMPILATION $(pkgconf --static --cflags --libs libavformat libavcodec libswresample libavutil libbrotlicommon libbrotlidec libbrotlienc cairo gnutls p11-kit-1 | sed -E 's/\-(lva|lva_win32|llc3|lp11-kit)//g') -lssl -lcrypto -ljxl_cms -lmincore -llcms2 -Wl,-Bdynamic -lva -lva_win32 -lp11-kit -llc3 -lntdll -lhwy -lcairo -lglib-2.0 -lgobject-2.0 -o remux -Wl,--allow-multiple-definition |& tee output && cut -d '`' -f 2 output | cut -d "'" -f1 | sort | uniq > missing_defs ; wc -l missing_defs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment