rigaya / QSVEnc

QSVによる高速エンコードの性能実験
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Other
313 stars 28 forks source link

Not supports QSV(hw) decoding av1 #122

Closed ZSC2017IM closed 1 year ago

ZSC2017IM commented 1 year ago

My dg1 can decoding av1 with ffmpeg by using "av1_qsv". However, "QSVEncC64 --avhw" report error:

MFXDEC: Failed to DecodeHeader: unknown error.. InitMfxDecParams: Failed set param for hw decoder. : unknown error. QSVEncC.exe finished with error!

rigaya commented 1 year ago

I've tested some AV1 files, but does not have problem on 12900K iGPU or Arc A380. If it is DG1 specific, I might not be able to fix (as I don't have DG1 GPUs), in that case the error might be avoided by using --avsw (sw decoder).

Are there any sample files out which have this issue?

ZSC2017IM commented 1 year ago

Thank you for your reply! On my computer, the following methods are mainly used to generate av1 videos. Currently, I do not have av1 videos from other sources. My CPU is 8700K. OBS 29.0.2 video recorded with svt-av1 encoding. Transcoded av1 in shanaencoder 5.3.

Video by OBS: 2023-03-17_11-50-13.zip

QSVEncC64 --avhw -i "2023-03-17_11-50-13.mkv" --device 1 --codec hevc -o "1.mp4"

rigaya commented 1 year ago

Thank you for the sample file, I was able to reproduce the issue.

It seems to be a problem with AV1 in mkv format, I'll have it fixed in the next release.

ZSC2017IM commented 1 year ago

Thanks for the fix! I just tested other MP4 encoded AV1 videos transcoded with shanaencoder with no problem, as you said it may be a problem with MKV format

rigaya commented 1 year ago

I have updated to QSVEnc 7.36, which will be able to avoid this error.

rigaya commented 1 year ago

I'll close this issue as the issue should have been solved.