Bonjour,
Matériel : miniPC avec un proc N5105
Logiciel : OMV6 + Jellyfin sous docker
J'ai suivi la super doc d'installation de Jellyfin sous Docker (merci au passage). Ca fonctionne bien sauf l'accélération matérielle.
Voici la commande exécutée par Jellyfin :
Voici le message obtenu :
Avez-vous une idée de ce que je pourrai vérifier ? Peut-être changer le driver mais j'ai l'impression d'avoir une version récente :
Matériel : miniPC avec un proc N5105
Logiciel : OMV6 + Jellyfin sous docker
J'ai suivi la super doc d'installation de Jellyfin sous Docker (merci au passage). Ca fonctionne bien sauf l'accélération matérielle.
Voici la commande exécutée par Jellyfin :
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i file:"/data/movies/Adaline (2015).avi" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 4543475 -maxrate 4543475 -bufsize 9086950 -profile:v:0 high -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(720\,408*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(720/a\,408))/2)*2,format=nv12,hwupload=derive_device=vaapi" -codec:a:0 libmp3lame -ac 2 -ab 128000 -ar 48000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/0321cbba425589ac8fbf4a468f5ece45%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/0321cbba425589ac8fbf4a468f5ece45.m3u8"
Voici le message obtenu :
Visiblement, c'est le driver qui pose problème. Si je lance à la main la commande en modifiant -rc_mode VBR par -rc_mode CQP, ça ne plante plus. Mais bon, c'est pas la solution vu que c'est Jellyfin qui lance la commande ^^Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_vaapi))
Stream #0:1 -> #0:1 (mp3 (mp3float) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[mpeg4 @ 0x561d15fea0c0] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
[h264_vaapi @ 0x561d15fe22c0] Driver does not support VBR RC mode (supported modes: CQP).
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libmp3lame @ 0x561d15fe5440] 4 frames left in the queue on closing
Conversion failed!
Avez-vous une idée de ce que je pourrai vérifier ? Peut-être changer le driver mais j'ai l'impression d'avoir une version récente :
/usr/lib/jellyfin-ffmpeg/lib/dri$ /usr/lib/jellyfin-ffmpeg/vainfo
Trying display: drm
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.6.4 (aca8ee0)