Skip to content

Commit

Permalink
SVT Support 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ILOVEPIE committed Mar 12, 2019
1 parent 2295f2a commit a5577f4
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 33 deletions.
5 changes: 2 additions & 3 deletions docker-images/4.1/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/4.1/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/4.1/scratch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/4.1/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/4.1/vaapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/snapshot/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/snapshot/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/snapshot/scratch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/snapshot/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions docker-images/snapshot/vaapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,13 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch && \
git apply ${DIR2}/SVT-AV1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch


Expand Down
5 changes: 2 additions & 3 deletions templates/Dockerfile-patch-SVT
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ 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 && \
cd ${DIR}/SVT-AV1 && cd Build/linux && ./build.sh release && cd release && make install && \
cd ${DIR}/SVT-HEVC && cd Build/linux && ./build.sh release && cd release && make install
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} && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch && \
git apply ${DIR2}/SVT-HEVC/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.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 a5577f4

Please sign in to comment.