This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
First off, I must say that I am not much of a video expert, I just know that hardware acceleration and encoding is supposed to help with putting load on the CPU and rendering video more efficiently to put it in very simplistic terms.
I have hardware acceleration successfully working using VAAPI on my setup but certain options dont work and they give the same error. QSV produces a similar error
If I check the box for "Hardware encoding" or "HEVC", they both generate the same error which is below. I have tried to set the permissions to /dev/dri to 755 and 777 based on some posts that I saw but that has not made any difference.
My questions are
- Do I need these options?
- If so what I can do to get it working?
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --arch=amd64 --enable-libzimg --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec --enable-libdav1d
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[AVHWDeviceContext @ 0x55f61ca1e800] libva: /usr/lib/jellyfin-ffmpeg/lib/dri/i965_drv_video.so init failed [AVHWDeviceContext @ 0x55f61ca1e800] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error
Error parsing global options: Input/output error
Hardware: 10th Generation Intel Core i5-10210U (NUC10i5FNH1) with Intel UHD Graphics 300 MHz – 1 1 GHz
OS: ClearLinux
DockerFile parts:
############################# MEDIA
# Jellyfin - Media Server
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
ports:
- "$JELLYFIN_HTTP_PORT:8096"
- "$JELLYFIN_HTTPS_PORT:8920"
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 022
volumes:
- $DOCKERDIR/jellyfin:/config
- /dev/shm:/ram_transcode
- $NAS:/nas
devices:
- /dev/dri:/dev/dri
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/jellyfin/co...