wow-recorder icon indicating copy to clipboard operation
wow-recorder copied to clipboard

Widen Encoder Support

Open aza547 opened this issue 1 year ago • 9 comments

image

aza547 avatar Apr 24 '23 17:04 aza547

I have a A380 installed and can use it with Handbrake and OBS, but in Warcraft Recorder only the software AV1 encoder AOM and SVT are listed. The Intel hardware one would be qsv_av1 if I am not mistaken.

[2023-08-10 19:34:00.677] [info]  [Recorder] [
  'ffmpeg_svt_av1',
  'ffmpeg_aom_av1',
  'jim_nvenc',
  'jim_hevc_nvenc',
  'ffmpeg_nvenc',
  'ffmpeg_hevc_nvenc',
  'obs_qsv11_soft',
  'obs_qsv11',
  'obs_x264'
]

Splitframe avatar Aug 10 '23 18:08 Splitframe

Had a look at this today and managed to get h265 working for both AMD and NVENC encoders, but it seems "ffmpeg_svt_av1" is a software encoder (didn't try very hard but it seemed a bit dodgy, crashed a few times). I think what we really want is the AV1 GPU encoders. I don't have a new enough GPU to test that (my RX 6800 doesn't support it, just...).

aza547 avatar Jan 03 '24 11:01 aza547

Keeping this issue around as it could still happen if:

  1. I get my hands on a GPU for testing
  2. Someone else with an AV1 encode enabled GPU can test for me

aza547 avatar Jan 03 '24 11:01 aza547

Decided to revert the h265 changes after some testing due to a few worries.

  1. The video size seems much comparable to h264, which was meant to be the main benefit.
  2. Re-enabling hardware acceleration means could regress https://github.com/aza547/wow-recorder/issues/332.
  3. h265 is patented, while I think local recording is fine (OBS studio does it too), it might cause future complications.

aza547 avatar Jan 03 '24 12:01 aza547

Keeping this issue around as it could still happen if:

  1. I get my hands on a GPU for testing
  2. Someone else with an AV1 encode enabled GPU can test for me

If you tell me where to look I can test around with my A380 for AV1. I am fluent in Kotlin and C# and only did TS wrapping for KotlinJS, but I can debug and compile the code for tests and tweaks.

Splitframe avatar Jan 03 '24 12:01 Splitframe

The intel av1 support was released in https://github.com/obsproject/obs-studio/releases/tag/29.0.0.

Currently WR uses v28.2.50 via the 0.23.71 tag of OSN.

So first thing to do is to bump that. I've been avoiding doing it because I've not had reason to, but I'll give it a go and see what breaks :)

aza547 avatar Jan 03 '24 13:01 aza547

Ah okay, well if I can help with this just tell me here.

Splitframe avatar Jan 03 '24 13:01 Splitframe

Thanks - got a new version working on https://github.com/aza547/wow-recorder/tree/osn-bump.

Fancy giving that a go? That's on OBS v29.1.3, so should have the av1 encoder. I've also allowed all the encoders through to the settings so you should be able to see and select it.

Steps to launch in dev mode can be found here - hopefully that's clear - let me know if you need a hand. https://github.com/aza547/wow-recorder/blob/main/docs/CONTRIBUTING.md

aza547 avatar Jan 03 '24 14:01 aza547

Now merged to main also.

Edit: Never mind, had to back out of main. Context here: https://github.com/aza547/wow-recorder/pull/469

aza547 avatar Jan 03 '24 22:01 aza547