Skip to content

Commit

Permalink
windows.yml: Enable decoding for JPEG XL and EVC
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Apr 5, 2024
1 parent 6c61e27 commit 8054bcb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8054bcb

Please sign in to comment.