mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Enable ffmpeg dav1d support
This commit is contained in:
@@ -56,7 +56,7 @@ ENV CXXFLAGS $CFLAGS
|
||||
FROM builder AS patches
|
||||
RUN git clone {{ GIT }}/desktop-app/patches.git \
|
||||
&& cd patches \
|
||||
&& git checkout c1f8effd69 \
|
||||
&& git checkout b842feb5f8 \
|
||||
&& rm -rf .git
|
||||
|
||||
FROM builder AS nasm
|
||||
@@ -462,6 +462,7 @@ RUN git clone -b n11.1.5.1 --depth=1 {{ GIT }}/FFmpeg/nv-codec-headers.git \
|
||||
|
||||
FROM builder AS ffmpeg
|
||||
COPY --link --from=opus {{ LibrariesPath }}/opus-cache /
|
||||
COPY --link --from=dav1d {{ LibrariesPath }}/dav1d-cache /
|
||||
COPY --link --from=libvpx {{ LibrariesPath }}/libvpx-cache /
|
||||
COPY --link --from=nv-codec-headers {{ LibrariesPath }}/nv-codec-headers-cache /
|
||||
|
||||
@@ -481,6 +482,7 @@ RUN git init ffmpeg \
|
||||
--disable-network \
|
||||
--disable-autodetect \
|
||||
--disable-everything \
|
||||
--enable-libdav1d \
|
||||
--enable-libopus \
|
||||
--enable-libvpx \
|
||||
--enable-ffnvcodec \
|
||||
@@ -506,6 +508,7 @@ RUN git init ffmpeg \
|
||||
--enable-decoder=gif \
|
||||
--enable-decoder=h264 \
|
||||
--enable-decoder=hevc \
|
||||
--enable-decoder=libdav1d \
|
||||
--enable-decoder=libvpx_vp8 \
|
||||
--enable-decoder=libvpx_vp9 \
|
||||
--enable-decoder=mp1 \
|
||||
|
||||
@@ -397,7 +397,7 @@ if customRunCommand:
|
||||
stage('patches', """
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 92f4ee3867
|
||||
git checkout b842feb5f8
|
||||
""")
|
||||
|
||||
stage('msys64', """
|
||||
|
||||
+1
-1
Submodule cmake updated: af37d955bb...bb07e9d698
Reference in New Issue
Block a user