mirror of
https://github.com/linuxserver/docker-ffmpeg.git
synced 2026-02-20 04:56:23 +08:00
stashing nvenc stuff
This commit is contained in:
parent
ea08c3419b
commit
203b8a011f
25
Dockerfile
25
Dockerfile
@ -19,6 +19,7 @@ ENV \
|
||||
LAME=3.99.5 \
|
||||
LIBASS=0.13.7 \
|
||||
LIBVIDSTAB=1.1.0 \
|
||||
NVCODEC=n9.0.18.1 \
|
||||
OGG=1.3.2 \
|
||||
OPENCOREAMR=0.1.5 \
|
||||
OPENJPEG=2.3.1 \
|
||||
@ -40,18 +41,22 @@ RUN \
|
||||
curl \
|
||||
diffutils \
|
||||
expat \
|
||||
expat-dev \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
gperf \
|
||||
jq \
|
||||
expat-dev \
|
||||
libgomp \
|
||||
libdrm-dev \
|
||||
libgcc \
|
||||
openssl-dev \
|
||||
libgomp \
|
||||
libjpeg-turbo-dev \
|
||||
libtool \
|
||||
libva-dev \
|
||||
libvdpau-dev \
|
||||
make \
|
||||
nasm \
|
||||
openssl-dev \
|
||||
perl \
|
||||
pkgconfig \
|
||||
python \
|
||||
@ -63,6 +68,7 @@ RUN \
|
||||
mkdir -p \
|
||||
/tmp/aom \
|
||||
/tmp/fdk-aac \
|
||||
/tmp/ffnvcodec \
|
||||
/tmp/fontconfig \
|
||||
/tmp/freetype \
|
||||
/tmp/fribidi \
|
||||
@ -91,6 +97,12 @@ RUN \
|
||||
curl -Lf \
|
||||
https://github.com/mstorsjo/fdk-aac/archive/v${FDKAAC}.tar.gz | \
|
||||
tar -zx --strip-components=1 -C /tmp/fdk-aac
|
||||
RUN \
|
||||
echo "**** grabbing ffnvcodec ****" && \
|
||||
git clone \
|
||||
--branch ${NVCODEC} \
|
||||
--depth 1 https://git.videolan.org/git/ffmpeg/nv-codec-headers.git \
|
||||
/tmp/ffnvcodec
|
||||
RUN \
|
||||
echo "**** grabbing fontconfig ****" && \
|
||||
curl -Lf \
|
||||
@ -201,6 +213,10 @@ RUN \
|
||||
--enable-static && \
|
||||
make && \
|
||||
make install
|
||||
RUN \
|
||||
echo "**** compiling ffnvcodec ****" && \
|
||||
cd /tmp/ffnvcodec && \
|
||||
make install
|
||||
RUN \
|
||||
echo "**** compiling freetype ****" && \
|
||||
cd /tmp/freetype && \
|
||||
@ -401,6 +417,7 @@ RUN \
|
||||
--disable-ffplay \
|
||||
--disable-ffprobe \
|
||||
--enable-avresample \
|
||||
--enable-cuvid \
|
||||
--enable-gpl \
|
||||
--enable-libaom \
|
||||
--enable-libass \
|
||||
@ -420,6 +437,8 @@ RUN \
|
||||
--enable-libx265 \
|
||||
--enable-libxvid \
|
||||
--enable-nonfree \
|
||||
--enable-nvdec \
|
||||
--enable-nvenc \
|
||||
--enable-openssl \
|
||||
--enable-small \
|
||||
--enable-stripping \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user