Readd handbrake

This commit is contained in:
RealStickman 2022-11-27 19:05:53 +01:00
parent f5344a03e6
commit f170ccab33

View File

@ -45,11 +45,71 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
intel-media-va-driver-non-free \ intel-media-va-driver-non-free \
vainfo \ vainfo \
mesa-va-drivers; \ mesa-va-drivers && \
# HandBrake deps
apt-get install -y \
autoconf \
automake \
autopoint \
appstream \
build-essential \
cmake \
git \
libass-dev \
libbz2-dev \
libfontconfig1-dev \
libfreetype6-dev \
libfribidi-dev \
libharfbuzz-dev \
libjansson-dev \
liblzma-dev \
libmp3lame-dev \
libnuma-dev \
libogg-dev \
libopus-dev \
libsamplerate-dev \
libspeex-dev \
libtheora-dev \
libtool \
libtool-bin \
libturbojpeg0-dev \
libvorbis-dev \
libx264-dev \
libxml2-dev \
libvpx-dev \
m4 \
make \
meson \
nasm \
ninja-build \
patch \
pkg-config \
python \
tar \
zlib1g-dev \
libva-dev \
libdrm-dev && \
rm -rdf /tmp/handbrake && \
mkdir -p /tmp/handbrake && \
git clone \
--branch ${HANDBRAKE} \
--depth 1 https://github.com/HandBrake/HandBrake.git \
/tmp/handbrake && \
cd /tmp/handbrake && \
./configure \
--enable-nvenc \
--enable-qsv \
--enable-x265 \
--disable-gtk \
--launch-jobs=14 \
--launch \
--force && \
make --directory=build install && \
cp /tmp/handbrake/build/HandBrakeCLI /usr/local/bin/HandBrakeCLI && \
rm -rdf /tmp/handbrake/ ; \
fi fi
# former handbrake stuff
# other architectures # other architectures
# handle tdarr binaries # handle tdarr binaries