Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows.yml: Enable decoding for JPEG XL and EVC #38

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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