Situatie
Jellyfin este un webapp open-source pentru a hosta propria librarie de filme. Fata de Plex sau Emby, toate functionalitatiile acestei aplicatii sunt gratis. Conform documentatiei, putem avea urmatoarele tipuri de accelerari hardware:
OS | Recommended HW Acceleration |
---|---|
Linux | QSV, NVENC, AMF, VA-API |
Windows | QSV, NVENC, AMF |
MacOS | VideoToolbox |
RPi | V4L2, OMX (deprecated) |
Pentru acest tutorial voi folosi Ubuntu 20.04 LTS.
Solutie
Pasi de urmat
Pentru aceasta procedura voi folosi QuickSync-ul dintr-un Intel 5005U. Pentru a verifica compatibilitatea folosim comanda:
ls -l /dev/dri
Output-ul meu arata in felul urmator:
root@server:/home/server# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 120 Mar 13 12:23 by-path
crw-rw—-+ 1 root render 226, 0 Mar 13 12:23 card0
crw-rw—-+ 1 root render 226, 1 Mar 13 12:23 card1
crw-rw—-+ 1 root render 226, 128 Mar 13 12:23 renderD128
crw-rw—-+ 1 root render 226, 129 Mar 13 12:23 renderD129
Pentru a verifica VA-API instalam vainfo cu comanda:
sudo apt install vainfo
Acesta este output-ul meu:
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics – 20.1.1 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileVP8Version0_3 : VAEntrypointVLD
Ceea ce inseamna ca sunt compatibile mai multe profile de encoding.
Intram in interfata web de pe Jellyfin si Home – Dashboard – Playback. Aici selectam VAAPI si verificam calea catre “renderD128”. De asemenea, bifam urmatoarele profile:
Click pe Save in capatul paginii.
Tip solutie
PermanentPlan de restaurare in caz de nefunctionare
In cazul in care nu functioneaza puteti verifica logurile din Home – Dashboard – Logs.
Leave A Comment?