Use Jellyfin FFmpeg instead of Johnvansickle's FFmpeg
1.3K
Jellyfin FFmpeg supports CUDA. I replace the John Van Sickle's FFmpeg with Jellyfin FFmpeg.
In the Dockefile:
RUN wget -q https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && \
mkdir -p ffmpeg-tmp && \
tar -xf ffmpeg-release-amd64-static.tar.xz --strip-components 1 -C ffmpeg-tmp && \
cp -v ffmpeg-tmp/qt-faststart /usr/local/bin && \
rm -rf ffmpeg-tmp ffmpeg-release-amd64-static.tar.xz
RUN wget -q https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v7.0.2-9/jellyfin-ffmpeg_7.0.2-9_portable_linux64-gpl.tar.xz && \
mkdir -p ffmpeg-tmp && \
tar -xf jellyfin-ffmpeg_7.0.2-9_portable_linux64-gpl.tar.xz -C ffmpeg-tmp && \
cp -v ffmpeg-tmp/ffmpeg ffmpeg-tmp/ffprobe /usr/local/bin && \
rm -rf ffmpeg-tmp jellyfin-ffmpeg_7.0.2-9_portable_linux64-gpl.tar.xz
I use this docker image on Unraid with Nvidia GPU, so I set envs following the steps.
If you want to achieve graphics card acceleration, you also need to modify the files in mediaCMS, such as ./files/helpers.py.
Content type
Image
Digest
sha256:241f50b6a…
Size
504.9 MB
Last updated
10 months ago
docker pull zhipe/mediacms_jellyfinffmpeg