2023-09-04, 09:53 AM
(This post was last modified: 2023-09-04, 09:54 AM by bitmap. Edited 2 times in total.)
Not at all, my user is part of the render (and video) group(s) already. Very familiar with that problem (been there, done that).
I ran this again in verbose mode and fixed a typo I made. Everything seems to be in order, but I'm getting different errors now and nothing I'm getting is coming from my command...
I ran this again in verbose mode and fixed a typo I made. Everything seems to be in order, but I'm getting different errors now and nothing I'm getting is coming from my command...
Code:
bitmap@server:~$ /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD129 -init_hw_device qsv=qs@va \
-hwaccel qsv -hwaccel_output_format qsv -qsv_device /dev/dri/renderD129 \
-i "media.mkv" \
-map 0:v -map 0:m:language:eng \
-c:v av1_qsv -pix_fmt p010le \
-preset slower -qp 20 -c:a libopus -ac 2 \
-b:a 256k -c:s copy "media-enc.mkv"
<BANNER_REMOVED>
[AVHWDeviceContext @ 0x56550108e980] libva: VA-API version 1.19.0
[AVHWDeviceContext @ 0x56550108e980] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x56550108e980] libva: Found init function __vaDriverInit_1_19
[AVHWDeviceContext @ 0x56550108e980] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x56550108e980] Initialised VAAPI connection: version 1.19
[AVHWDeviceContext @ 0x56550108e980] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x56550108e980] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x5655010be580] Use Intel(R) oneVPL to create MFX session, API version is 2.9, the required implementation version is 1.3
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
[AVHWDeviceContext @ 0x5655010be580] Initialize MFX session: implementation version is 2.9
[AVHWDeviceContext @ 0x565501b2f180] libva: VA-API version 1.19.0
[AVHWDeviceContext @ 0x565501b2f180] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x565501b2f180] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x565501b2f180] libva: Found init function __vaDriverInit_1_19
[AVHWDeviceContext @ 0x565501b2f180] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x565501b2f180] Initialised VAAPI connection: version 1.19
[AVHWDeviceContext @ 0x565501b2f180] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x565501b2f180] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x5655020317c0] Use Intel(R) oneVPL to create MFX session, API version is 2.9, the required implementation version is 1.3
<REPEATED_DRIVER_INITIALIZATION>
[AVHWDeviceContext @ 0x5655020317c0] Initialize MFX session: implementation version is 2.9
[h264 @ 0x565501226b00] Reinit context to 1920x1088, pix_fmt: yuv420p
[matroska,webm @ 0x565501724a00] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x565501724a00] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x565501724a00] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x565501724a00] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Selecting decoder 'h264_qsv' because of requested hwaccel method qsv
<FILE_DATA_REMOVED>
[AVHWDeviceContext @ 0x565501682140] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x565501682140] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x5655013f30c0] Decoder: output is video memory surface
[h264_qsv @ 0x5655013f30c0] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[AVHWDeviceContext @ 0x565501619cc0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x565501619cc0] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x5655013f30c0] Decoder: output is video memory surface
[h264_qsv @ 0x5655013f30c0] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
There are 3 hardware devices. device __qsv_device of type qsv is picked for filters by default. Set hardware device explicitly with the filter_hw_device option if device __qsv_device is not usable for filters.
[graph_1_in_0_1 @ 0x565501831fc0] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:5.1(side)
[format_out_0_1 @ 0x565501582c40] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[auto_aresample_0 @ 0x5655014b8b00] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:flt r:48000Hz
There are 3 hardware devices. device __qsv_device of type qsv is picked for filters by default. Set hardware device explicitly with the filter_hw_device option if device __qsv_device is not usable for filters.
[graph 0 input from stream 0:0 @ 0x565501269200] w:1920 h:1080 pixfmt:qsv tb:1/1000 fr:24000/1001 sar:1/1
[auto_scale_0 @ 0x565501671ec0] w:iw h:ih flags:'' interl:0
[format @ 0x5655018fef80] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format'
Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
[libopus @ 0x56550201d3c0] 1 frames left in the queue on closing
[AVIOContext @ 0x5655014b9b40] Statistics: 0 bytes written, 0 seeks, 0 writeouts
Terminating demuxer thread 0
[AVIOContext @ 0x56550157c600] Statistics: 5050407 bytes read, 2 seeks
Jellyfin 10.10.0 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage