mirror of
https://github.com/linuxserver/docker-ffmpeg.git
synced 2026-02-20 04:56:23 +08:00
Add vulkan and shaderc to x86_64
This commit is contained in:
parent
5091d851b7
commit
6b7693bf8b
36
Dockerfile
36
Dockerfile
@ -37,10 +37,12 @@ ENV \
|
||||
OPENCOREAMR=0.1.6 \
|
||||
OPENJPEG=2.5.0 \
|
||||
OPUS=1.3.1 \
|
||||
SHADERC=v2023.7 \
|
||||
SVTAV1=1.7.0 \
|
||||
THEORA=1.1.1 \
|
||||
VORBIS=1.3.7 \
|
||||
VPX=1.13.1 \
|
||||
VULKANHEADERS=vulkan-sdk-1.3.268.0 \
|
||||
WEBP=1.3.2 \
|
||||
X265=3.5 \
|
||||
XVID=1.3.7
|
||||
@ -454,6 +456,24 @@ RUN \
|
||||
--enable-shared && \
|
||||
make && \
|
||||
make install
|
||||
RUN \
|
||||
echo "**** grabbing shaderc ****" && \
|
||||
mkdir -p /tmp/shaderc && \
|
||||
git clone \
|
||||
--branch ${SHADERC} \
|
||||
--depth 1 https://github.com/google/shaderc.git \
|
||||
/tmp/shaderc
|
||||
RUN \
|
||||
echo "**** compiling shaderc ****" && \
|
||||
cd /tmp/shaderc && \
|
||||
./utils/git-sync-deps && \
|
||||
mkdir -p build && \
|
||||
cd build && \
|
||||
cmake -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/local \
|
||||
.. && \
|
||||
ninja install
|
||||
RUN \
|
||||
echo "**** grabbing SVT-AV1 ****" && \
|
||||
mkdir -p /tmp/svt-av1 && \
|
||||
@ -540,6 +560,18 @@ RUN \
|
||||
--enable-vp9-highbitdepth && \
|
||||
make && \
|
||||
make install
|
||||
RUN \
|
||||
echo "**** grabbing vulkan headers ****" && \
|
||||
mkdir -p /tmp/vulkan-headers && \
|
||||
git clone \
|
||||
--branch ${VULKANHEADERS} \
|
||||
--depth 1 https://github.com/KhronosGroup/Vulkan-Headers.git \
|
||||
/tmp/vulkan-headers
|
||||
RUN \
|
||||
echo "**** compiling vulkan headers ****" && \
|
||||
cd /tmp/vulkan-headers && \
|
||||
cmake -S . -B build/ && \
|
||||
cmake --install build --prefix /usr/local
|
||||
RUN \
|
||||
echo "**** grabbing webp ****" && \
|
||||
mkdir -p /tmp/webp && \
|
||||
@ -626,6 +658,7 @@ RUN \
|
||||
--enable-libopencore-amrwb \
|
||||
--enable-libopenjpeg \
|
||||
--enable-libopus \
|
||||
--enable-libshaderc \
|
||||
--enable-libsvtav1 \
|
||||
--enable-libtheora \
|
||||
--enable-libv4l2 \
|
||||
@ -647,7 +680,8 @@ RUN \
|
||||
--enable-stripping \
|
||||
--enable-vaapi \
|
||||
--enable-vdpau \
|
||||
--enable-version3 && \
|
||||
--enable-version3 \
|
||||
--enable-vulkan && \
|
||||
make
|
||||
|
||||
RUN \
|
||||
|
||||
@ -151,6 +151,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **20.11.23:** - Add vulkan and shaderc support to x86_64.
|
||||
* **13.11.23:** - Bump FFmpeg to 6.1.
|
||||
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
|
||||
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
|
||||
|
||||
@ -155,6 +155,7 @@ full_custom_readme: |
|
||||
|
||||
## Versions
|
||||
|
||||
* **20.11.23:** - Add vulkan and shaderc support to x86_64.
|
||||
* **13.11.23:** - Bump FFmpeg to 6.1.
|
||||
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
|
||||
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user