2024-12-15, 09:54 PM
(This post was last modified: 2024-12-15, 09:58 PM by DangerBK. Edited 3 times in total.)
After much research and testing I discovered that there is a reported issue in ffmpeg here https://github.com/intel/media-driver/issues/1852
I have an A580 Intel Arc graphics card and when playing an AV1 file on a TV that didn't support it, transcoding failed due to the issue above. There's an example of the ffmpeg log output with the errors I saw. Intel Arc A580 absolutely supports AV1 Decode however, the issue is Film Grain kernels apparently. So for now because I've only run into this issue on a very small number of files I'm going to disable hardware accelerated decoding of AV1. This was an issue using either VAAPI or QSV. Hopefully this is helpful to someone and also I hope that they fix this issue with AV1 decode support as AV1 is a big reason to have an Intel card in the first place. Unfortunately it says for DG2 it may never for free driver. It's a bit confusing to me as I am using the non-free driver and it's still a problem. Not sure.
I have an A580 Intel Arc graphics card and when playing an AV1 file on a TV that didn't support it, transcoding failed due to the issue above. There's an example of the ffmpeg log output with the errors I saw. Intel Arc A580 absolutely supports AV1 Decode however, the issue is Film Grain kernels apparently. So for now because I've only run into this issue on a very small number of files I'm going to disable hardware accelerated decoding of AV1. This was an issue using either VAAPI or QSV. Hopefully this is helpful to someone and also I hope that they fix this issue with AV1 decode support as AV1 is a big reason to have an Intel card in the first place. Unfortunately it says for DG2 it may never for free driver. It's a bit confusing to me as I am using the non-free driver and it's still a problem. Not sure.
Code:
frame= 0 fps=0.0 q=0.0 size=N/A time=N/A bitrate=N/A dup=5 drop=0 speed=N/A
[hevc_qsv @ 0x6460429c0d80] Invalid FrameType:0.
[vost#0:0/hevc_qsv @ 0x6460429c0580] Error submitting video frame to the encoder
[vost#0:0/hevc_qsv @ 0x6460429c0580] Error encoding a frame: Invalid data found when processing input
[vost#0:0/hevc_qsv @ 0x6460429c0580] Task finished with error code: -1094995529 (Invalid data found when processing input)
[vost#0:0/hevc_qsv @ 0x6460429c0580] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[av1 @ 0x6460429f8540] Failed to end picture decode issue: 23 (internal decoding error).
[av1 @ 0x6460429f8540] HW accel end frame fail.
[vist#0:0/av1 @ 0x646042db3ac0] [dec:av1 @ 0x6460429a9bc0] Error submitting packet to decoder: Input/output error
[hls @ 0x646042bdcdc0] Opening '/cache/transcodes/68aab3baad289ab7eea9be187f84b2752.ts' for writing
[out#0/hls @ 0x646042bddc00] video:0KiB audio:1347KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A dup=6 drop=0 speed=N/A
Conversion failed!