Alkl58 / NotEnoughAV1Encodes

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

Test Terminated with Error Code: 1414549496 - Invalid settings? #162

Closed RimasRaV1 closed 5 months ago

RimasRaV1 commented 5 months ago

When testing Advanced settings on svt-av1 (AV1 FFmpeg) encoder, I get an error "Test Terminated with Error Code: 1414549496 - Invalid settings?" even with default Advanced settings. If I try to encode a video, it does not produce webm video file, see the log attached. Therefore I cannot encode a video with the Advanced options turned on. If I turn off Advanced settings, Everything encodes noramlly.

To Reproduce Steps to reproduce the behavior:

  1. Load video file
  2. Save Destination of a file
  3. Go to 'Video' tab
  4. Select 'Encoder': 'svt-av1 (AV1 FFmpeg)'
  5. Click on 'Advanced settings'
  6. Go to 'Advanced' tab
  7. Click on 'Test settings'
  8. See error

Expected behavior Test should be successful/I should be able to encode a file with Advanced settings.

Screenshots image

Log File DSC_0803test.mkv.log

Desktop (please complete the following information):

Additional context Tested different inputs on 2 Win 11 PC's. It doesn't work.

Alkl58 commented 5 months ago

Apparently ffmpeg changed the option list for svt-av1, according to the docs the options you have are supported (tile_rows/tile_columns/la_depth).

However when calling ffmpeg directly (ffmpeg -help encoder=libsvtav1):

libsvtav1 AVOptions:
  -preset            <int>        E..V....... Encoding preset (from -2 to 13) (default -2)
  -crf               <int>        E..V....... Constant Rate Factor value (from 0 to 63) (default 0)
  -qp                <int>        E..V....... Initial Quantizer level value (from 0 to 63) (default 0)
  -svtav1-params     <dictionary> E..V....... Set the SVT-AV1 configuration using a :-separated list of key=value parameters

Basically their documentation is now wrong. I will shorty fix this, as those options can be put under svtav1-params.

NoUserNameForYou commented 5 months ago

While the developer fixes the problem, you may use this in the meantime https://github.com/GyanD/codexffmpeg/releases/tag/6.1.1 Put in apps/ffmpeg folder.

Alkl58 commented 5 months ago

Fixed in the new v2.1.7 release.