Skip to content

Commit

Permalink
SVT Support 7
Browse files Browse the repository at this point in the history
I think this commit fixes the pkg-config issue.
  • Loading branch information
ILOVEPIE committed Mar 14, 2019
1 parent a5577f4 commit 6223018
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/Dockerfile-patch-SVT
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ RUN \
DIR=/tmp/svt && mkdir -p ${DIR} && cd ${DIR} && \
git clone https://github.com/OpenVisualCloud/SVT-AV1 && \
git clone https://github.com/intel/SVT-HEVC && \
LDFLAGS="$LDFLAGS -static" && \
cd ${DIR}/SVT-AV1 && cd Build/linux && sed -i "/cmake/ s|\\\\$|-DCMAKE_INSTALL_PREFIX=${PREFIX} \\\|g" ./build.sh && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && sed -i "/cmake/ s|\\\\$|-DCMAKE_INSTALL_PREFIX=${PREFIX} \\\|g" ./build.sh && ./build.sh release && cd release && make install

# Add ${DIR2}/SVT-VP9/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch later
RUN \
DIR=/tmp/ffmpeg && DIR2=/tmp/svt && mkdir -p ${DIR} && mkdir -p ${DIR2} && cd ${DIR} && \
DIR=/tmp/ffmpeg && DIR2=/tmp/svt && mkdir -p ${DIR} && mkdir -p ${DIR2} && cd ${DIR} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch

0 comments on commit 6223018

Please sign in to comment.