Skip to content

Commit

Permalink
Add rav1e support
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Jan 2, 2024
1 parent 2f7a805 commit e35de12
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV \
OPENCOREAMR=0.1.6 \
OPENJPEG=2.5.0 \
OPUS=1.4 \
RAV1E=0.7.0 \
SHADERC=v2023.7 \
SVTAV1=1.8.0 \
THEORA=1.1.1 \
Expand Down Expand Up @@ -478,6 +479,19 @@ RUN \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing rav1e ****" && \
mkdir -p /tmp/rav1e && \
git clone \
--branch v${RAV1E} \
https://github.com/xiph/rav1e.git \
/tmp/rav1e
RUN \
echo "**** compiling rav1e ****" && \
cd /tmp/rav1e && \
cargo install [email protected]+cargo-0.74.0 --locked && \
cargo cinstall --release && \
strip -d /usr/local/lib/librav1e.so
RUN \
echo "**** grabbing shaderc ****" && \
mkdir -p /tmp/shaderc && \
Expand Down Expand Up @@ -725,6 +739,7 @@ RUN \
--enable-libopenjpeg \
--enable-libopus \
--enable-libplacebo \
--enable-librav1e \
--enable-libshaderc \
--enable-libsvtav1 \
--enable-libtheora \
Expand Down
15 changes: 15 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV \
OPENCOREAMR=0.1.6 \
OPENJPEG=2.5.0 \
OPUS=1.4 \
RAV1E=0.7.0 \
SVTAV1=1.8.0 \
THEORA=1.1.1 \
VORBIS=1.3.7 \
Expand Down Expand Up @@ -260,6 +261,19 @@ RUN \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing rav1e ****" && \
mkdir -p /tmp/rav1e && \
git clone \
--branch v${RAV1E} \
https://github.com/xiph/rav1e.git \
/tmp/rav1e
RUN \
echo "**** compiling rav1e ****" && \
cd /tmp/rav1e && \
cargo install [email protected]+cargo-0.74.0 --locked && \
cargo cinstall --release && \
strip -d /usr/local/lib/librav1e.so
RUN \
echo "**** grabbing SVT-AV1 ****" && \
mkdir -p /tmp/svt-av1 && \
Expand Down Expand Up @@ -434,6 +448,7 @@ RUN \
--enable-libopencore-amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-librav1e \
--enable-libsvtav1 \
--enable-libtheora \
--enable-libv4l2 \
Expand Down
2 changes: 1 addition & 1 deletion readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ full_custom_readme: |
## Versions
* **01.01.24:** - Bump libaom, fdkaac, libdrm, libvmaf, libvpl, mesa and svt-av1.
* **01.01.24:** - Add rav1e support. Bump libaom, fdkaac, libdrm, libvmaf, libvpl, mesa and svt-av1.
* **06.12.23:** - Add libplacebo and libdobi to x86_64.
* **05.12.23:** - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
* **25.11.23:** - Compile Mesa from source. Add proper Vulkan support (env var `ENABLE_VULKAN=true` no longer needed)(tested with Intel).
Expand Down

0 comments on commit e35de12

Please sign in to comment.