@@ -144,7 +144,7 @@ RUN wget -O - ${X265_REPO} | tar xz && mv x265-${X265_VER} x265 && \
144
144
145
145
# Fetch SVT-HEVC
146
146
ARG SVT_HEVC_VER=252ff3d18bc1997a5af989ad4e67e025c93dbf68
147
- ARG SVT_HEVC_REPO=https://github.com/intel /SVT-HEVC
147
+ ARG SVT_HEVC_REPO=https://github.com/OpenVisualCloud /SVT-HEVC.git
148
148
149
149
RUN git clone ${SVT_HEVC_REPO} && \
150
150
cd SVT-HEVC/Build/linux && \
@@ -156,12 +156,15 @@ RUN git clone ${SVT_HEVC_REPO} && \
156
156
make install
157
157
158
158
# Fetch SVT-AV1
159
- ARG SVT_AV1_VER=39aad81274a04053e2678ec7ec39cf6584bced66
160
- ARG SVT_AV1_REPO=https://github.com/OpenVisualCloud/SVT-AV1
159
+ ARG SVT_AV1_VER=3009e99f32e3476e028aadd17a265630f80a8e36
160
+ ARG SVT_AV1_REPO=https://github.com/OpenVisualCloud/SVT-AV1.git
161
+ ARG SVT_AV1_MP4_PATCH_REPO=https://raw.githubusercontent.com/VCDP/CDN/master/0001-Enable-mp4-and-mkv-webm-container-support-on-SVT-AV1.patch
161
162
162
163
RUN git clone ${SVT_AV1_REPO} && \
163
- cd SVT-AV1/Build/linux && \
164
+ cd SVT-AV1 && \
164
165
git checkout ${SVT_AV1_VER} && \
166
+ wget -O - ${SVT_AV1_MP4_PATCH_REPO} | patch -p1 && \
167
+ cd Build/linux && \
165
168
mkdir -p ../../Bin/Release && \
166
169
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_ASM_NASM_COMPILER=yasm ../.. && \
167
170
make -j8 && \
@@ -176,6 +179,7 @@ ARG FFMPEG_FLV_PATCH_REPO=https://raw.githubusercontent.com/VCDP/CDN/master/The-
176
179
ARG FFMPEG_1TN_PATCH_REPO=https://patchwork.ffmpeg.org/patch/11625/raw
177
180
ARG FFMPEG_THREAD_PATCH_REPO=https://patchwork.ffmpeg.org/patch/11035/raw
178
181
ARG FFMPEG_ENCODE_THREAD_PATCH_REPO=https://patchwork.ffmpeg.org/patch/11179/raw
182
+ ARG FFMPEG_SVT_AV1_MP4_PATHC_REPO=https://raw.githubusercontent.com/VCDP/CDN/master/0001-Enable-SVT-AV1-mp4-and-mkv-webm-container-support-on-FFmpeg.patch
179
183
# ARG FFMPEG_RTMP_WORKAROUD_REPO=https://raw.githubusercontent.com/VCDP/CDN/master/Check_rtmp_packet_timestamp_workaround_ffmpeg.patch
180
184
181
185
@@ -191,7 +195,8 @@ RUN wget -O - ${FFMPEG_REPO} | tar xz && mv FFmpeg-${FFMPEG_VER} FFmpeg && \
191
195
# Patch FFmpeg source for SVT-HEVC and SVT-AV1
192
196
RUN cd /home/FFmpeg && \
193
197
patch -p1 < ../SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
194
- patch -p1 < ../SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
198
+ patch -p1 < ../SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch && \
199
+ wget -O - ${FFMPEG_SVT_AV1_MP4_PATHC_REPO} | patch -p1
195
200
196
201
# Compile FFmpeg
197
202
RUN cd /home/FFmpeg && \
0 commit comments