2023-09-04, 07:11 PM
(This post was last modified: 2023-09-04, 07:25 PM by bitmap. Edited 1 time in total.)
Will give this a try today. Is it not possible to do 8-over-10-bit conversions with av1_qsv? Also, at this point should I be putting this in a different spot like a GitHub issue for jellyfin-ffmpeg rather than here? Doesn't seem like a bug yet, but I feel bad bugging you here and really appreciate your help. This is new territory and the resources available are so extremely limited there's not really anything out there available too help troubleshoot...
EDIT: Tried without the above two options, essentially the same result. Left in slightly more information, but I don't think it adds anything. It's just another successful hardware init.
EDIT: Tried without the above two options, essentially the same result. Left in slightly more information, but I don't think it adds anything. It's just another successful hardware init.
Code:
bitmap@server:~$ /usr/lib/jellyfin-ffmpeg/ffmpeg -hide_banner -v verbose \
-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"
[AVHWDeviceContext @ 0x561d2b27c140] libva: VA-API version 1.19.0
[AVHWDeviceContext @ 0x561d2b27c140] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x561d2b27c140] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x561d2b27c140] libva: Found init function __vaDriverInit_1_19
[AVHWDeviceContext @ 0x561d2b27c140] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x561d2b27c140] Initialised VAAPI connection: version 1.19
[AVHWDeviceContext @ 0x561d2b27c140] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x561d2b27c140] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x561d2b27bc40] 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 @ 0x561d2b27bc40] Initialize MFX session: implementation version is 2.9
[h264 @ 0x561d2b37c0c0] Reinit context to 1920x1088, pix_fmt: yuv420p
[matroska,webm @ 0x561d2b78d2c0] 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 @ 0x561d2b78d2c0] 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 @ 0x561d2b78d2c0] 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 @ 0x561d2b78d2c0] 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>
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_qsv) -> av1 (av1_qsv))
Stream #0:1 -> #0:1 (dts (dca) -> opus (libopus))
Stream #0:3 -> #0:2 (copy)
Press [q] to stop, [?] for help
[AVHWDeviceContext @ 0x561d2b771400] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x561d2b771400] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x561d2bd372c0] Decoder: output is video memory surface
[h264_qsv @ 0x561d2bd372c0] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[AVHWDeviceContext @ 0x561d2b27b940] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 (95dc859).
[AVHWDeviceContext @ 0x561d2b27b940] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x561d2bd372c0] Decoder: output is video memory surface
[h264_qsv @ 0x561d2bd372c0] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[graph_1_in_0_1 @ 0x561d2b6d3300] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:5.1(side)
[format_out_0_1 @ 0x561d2c0c4200] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[auto_aresample_0 @ 0x561d2c0c52c0] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:flt r:48000Hz
[graph 0 input from stream 0:0 @ 0x561d2bd7c140] w:1920 h:1080 pixfmt:qsv tb:1/1000 fr:24000/1001 sar:1/1
[auto_scale_0 @ 0x561d2bd7abc0] w:iw h:ih flags:'' interl:0
[format @ 0x561d2b3acec0] 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 @ 0x561d2b4887c0] 1 frames left in the queue on closing
[AVIOContext @ 0x561d2bd88f80] Statistics: 0 bytes written, 0 seeks, 0 writeouts
Terminating demuxer thread 0
[AVIOContext @ 0x561d2b47d800] Statistics: 5050407 bytes read, 2 seeks
Conversion failed!
Jellyfin 10.10.5 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage