From 8054bcb0a29d11a1d66392e607e914471ecf6436 Mon Sep 17 00:00:00 2001 From: HolyWu Date: Fri, 5 Apr 2024 15:18:59 +0800 Subject: [PATCH] windows.yml: Enable decoding for JPEG XL and EVC --- .github/workflows/windows.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d9686bc..229109c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,7 +25,9 @@ jobs: base-devel git libtool + mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-dav1d + mingw-w64-ucrt-x86_64-libjxl mingw-w64-ucrt-x86_64-meson mingw-w64-ucrt-x86_64-nasm mingw-w64-ucrt-x86_64-toolchain @@ -41,11 +43,21 @@ jobs: popd rm -rf nv-codec-headers + - name: Install XEVD + run: | + git clone https://github.com/mpeg5/xevd.git + pushd xevd + cmake --install-prefix /ucrt64 -S . -B build + ninja -C build install + popd + rm -rf xevd + mv /ucrt64/lib/xevd/libxevd.a /ucrt64/lib + - name: Install FFmpeg run: | git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 pushd ffmpeg - ./configure --prefix=/ucrt64 --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --enable-libdav1d --disable-nvenc --disable-debug + ./configure --prefix=/ucrt64 --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-swscale --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --enable-libdav1d --enable-libjxl --enable-libxevd --disable-nvenc --pkg-config-flags=--static --disable-debug make install -j$(nproc) popd rm -rf ffmpeg