2023-11-24, 09:58 PM
Well, I've done it, eventually. 4K - 120 Mbps is a bit of an overkill - it buffers every minute or so, but hey it works (and regular movies are flawless).
Chat GPT hellped like a LOT, but you guys also deserve credit, I do have a Intel® Celeron® Processor N5095 with no dedicated GPU on my Qnap NAS so I had to follow the guide to properly set up The Low-Power Encoding.
I'll post the Docker configuration script in case anyone else has the same issue.
Originally I thought I could go with Intel QSV but eventually had to resort to VA-API. The Hardware Acceleration paperwork really came in handy.
Thank you again!
Chat GPT hellped like a LOT, but you guys also deserve credit, I do have a Intel® Celeron® Processor N5095 with no dedicated GPU on my Qnap NAS so I had to follow the guide to properly set up The Low-Power Encoding.
I'll post the Docker configuration script in case anyone else has the same issue.
Code:
# Clone the jellyfin-ffmpeg repository
git clone https://github.com/jellyfin/jellyfin-ffmpeg.git
cd jellyfin-ffmpeg
# Pull the latest Jellyfin Docker image from Docker Hub
docker pull jellyfin/jellyfin:latest
# Create directories for Jellyfin configuration and cache
mkdir -p /path/to/configs/jellyfin/config
mkdir -p /path/to/configs/jellyfin/cache
# Run Jellyfin Docker container with necessary configurations (be sure to include the full path '/share/CACHEDEV1_DATA/Container/etc')
docker run -d \
--name jellyfin \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Your/Timezone \
--net=host \
--privileged \
-p 8080:8096 \
-v /path/to/configs/jellyfin/config:/config \
-v /path/to/configs/jellyfin/cache:/cache \
-v /path/to/your/Shows:/Shows \
-v /path/to/your/Download/:/Downloads \
-v /path/to/your/Movies:/Movies \
-v /dev/dri/renderD128:/dev/dri/renderD128 \
-v /dev/dri/card0:/dev/dri/card0 \
--restart=unless-stopped \
jellyfin/jellyfin
# Wait for 30 seconds to ensure the container is up and running (not sure if this is a requirement but Chat GPT said so)
sleep 30s
# Install FFmpeg inside the Jellyfin container
docker exec -it jellyfin bash -c 'apt-get update && apt-get install -y ffmpeg'
# Clone the jellyfin-ffmpeg repository inside the container
docker exec -it jellyfin git clone https://github.com/jellyfin/jellyfin-ffmpeg.git
Originally I thought I could go with Intel QSV but eventually had to resort to VA-API. The Hardware Acceleration paperwork really came in handy.
Thank you again!