Alkl58 / NotEnoughAV1Encodes

GUI for AV1 (aomenc, rav1e & svt-av1)
MIT License
536 stars 24 forks source link

[Feature] QSV AV1 Hardware Encoding (Intel ARC) #118

Closed Jim071 closed 1 year ago

Jim071 commented 1 year ago

Having just acquired an Intel ARC A380, I ask that you consider including QSVEnc as an AV1 encoder option. https://github.com/rigaya/QSVEnc/releases/tag/7.21

Alkl58 commented 1 year ago

Hey, looks pretty cool.

Sadly I don't have an ARC GPU (still not available to buy where I live), however it would help if people could try piping from ffmpeg to QSVEnc: ffmpeg.exe -y -i "<inputfile>" -an -pix_fmt yuv420p -f yuv4mpegpipe - | QSVEncC64.exe --y4m -i - -c av1 -o "out.webm"

Of course there are tons of options which need to be tested, but if the basic commands work, QSVEnc could be added without problems.

Jim071 commented 1 year ago

Hey, looks pretty cool.

Sadly I don't have an ARC GPU (still not available to buy where I live), however it would help if people could try piping from ffmpeg to QSVEnc: ffmpeg.exe -y -i "<inputfile>" -an -pix_fmt yuv420p -f yuv4mpegpipe - | QSVEncC64.exe --y4m -i - -c av1 -o "out.webm"

Of course there are tons of options which need to be tested, but if the basic commands work, QSVEnc could be added without problems.

Here is the output from the preciously mentioned ffmpeg command. it appears to work nicely

log.txt

shenef commented 1 year ago

Working on a A770 16GB log.txt

henanzheng commented 1 year ago

I tried it and it can be executed normally.

Alkl58 commented 1 year ago

The following build has QSV integrated: https://drive.google.com/file/d/1EIsaRuYF6FP5__u-rdHaxzCUNsqFmPRL

If it works for you, then I can add more settings ^^

shenef commented 1 year ago

Works great! Good speed and quality. I've played around with encoding speed quality modes and a couple other settings. The only issues i've encountered are that 12 Bit Color is not selectable and i got errors when trying to encode 60->360fps. (for some reason i can't upload the log for that)

Alkl58 commented 1 year ago

Works great! Good speed and quality. I've played around with encoding speed quality modes and a couple other settings. The only issues i've encountered are that 12 Bit Color is not selectable and i got errors when trying to encode 60->360fps. (for some reason i can't upload the log for that)

Intel QSV can only encode up to 10bit. 12bit can only be decoded. But yeah, the bit-depth selection should be redone, so there isn't any confusion.

I'll have a look into the 60fps->360fps shorty, it's a very unique use case tbh ^^

henanzheng commented 1 year ago

以下版本集成了QSV:https://drive . Google . com/file/d/1 eisaruyf 6 FP 5 u-rdHaxzCUNsqFmPRL

如果它为你工作,然后我可以添加更多的设置^^

I'd like to try, but I can't log on to Google here. Thank you!

shenef commented 1 year ago

@henanzheng you can try downloading the automated build from here: https://ci.appveyor.com/project/Alkl/notenoughav1encodes/branch/master/artifacts

Jim071 commented 1 year ago

my first try ended with a blue screen.

NotEnoughAV1Encodes.zip Spenser For Hire (1985) - S01E03 - The Choice av1 qsvenc.mkv.log

Restarted, worked flawlessly after that.

I then copied the command line from the advanced settings and tried it in a cmd window and got over 1200fps instead of 560fps through the GUI.