Nvidia codecs no longer work (Nvidia HEVC/Nvidia H264)

Started by Rainman74, February 05, 2025, 10:12:13 PM

Previous topic - Next topic

Rainman74

Since the versions from November 2024 onwards, the Nvidia codecs no longer work correctly.

If I set Nvidia HEVC, for example, files well over 10 GB in size are generated at up to 60000 kbit/s, despite the limitation via 'Max Bitrate'.

Other settings don't seem to have any effect either, the encoded files are always between 50-60 GB in size.

If I then downgrade to Avidemux 2.8.2 r24090x (regardless of whether the VC++ or Qt version), the bitrate is used correctly and the output files are in the defined ranges and are 2-4 GB in size.

My settings always remain unchanged:
adm. videoCodec('ffNvEncHEVC', 'preset=5', 'profile=0', 'rc_mode=5', 'quality=28', 'bitrate=4000', 'max_bitrate=12000', 'gopsize=100', "refs=3", "bframes=3", "b_ref_mode=2", "lookahead=20", "aq_strength=1", "spatial_aq=False", 'temporal_aq=True'
, 'weighted_pred=False')

Rainman74

Supplement: In the latest version Avidemux_2.8.2 VC++ 64bits 250109 the encoding process no longer starts at all and stops immediately with the error message that the settings are not compatible with the current encoder (Nvidia HEVC).

I still haven't changed anything in the settings and even after resetting to the default settings the same error message appears.

eumagga0x2a

The last known good official build is r241212 from https://avidemux.org/nightly/win64/ (the current git master should be fine ATM too, if you decide to cross-compile yourself)

If I am not mistaken, NVIDIA has obsoleted VBR mode, maybe it stopped working (in the driver). Please try CQ or let preset control the quality.

Rainman74

Quote from: eumagga0x2a on February 06, 2025, 05:12:13 PMThe last known good official build is r241212 from https://avidemux.org/nightly/win64/ (the current git master should be fine ATM too, if you decide to cross-compile yourself)

If I am not mistaken, NVIDIA has obsoleted VBR mode, maybe it stopped working (in the driver). Please try CQ or let preset control the quality.

Yes correct, the build r241212 still works.

I have installed Avidemux_2.8.2 VC++ 64bits 250109 again and uploaded the log file here. It doesn't work with any bitrate setting, no matter if VBR or CR.

Error message:
<!>16:00:27-651 [ADM_coreVideoEncoderFFmpeg::setupByName] [ff] Cannot find codec with name hevc_nvenc
   16:00:27-651 [ADM_ffNvEncEncoder::setup] [ffMpeg] Setup failed
Error message: "Video" "Kann Encoder nicht konfigurieren. Die an den Encoder übergebene Konfiguration könnte inkompatibel sein, oder der Encoder könnte von Features abhängig sein, welche auf diesem System nicht verfügbar sind."

Log file: https://paste.ee/p/dTDMP10C

eumagga0x2a

Quote from: Rainman74 on Today at 04:12:45 PM
Quote from: eumagga0x2a on February 06, 2025, 05:12:13 PMThe last known good official build is r241212 from https://avidemux.org/nightly/win64/ (the current git master should be fine ATM too, if you decide to cross-compile yourself)

[...]

Yes correct, the build r241212 still works.

Thank you for confirming.

Quote from: Rainman74 on Today at 04:12:45 PMI have installed Avidemux_2.8.2 VC++ 64bits 250109 again and uploaded the log file here. It doesn't work with any bitrate setting, no matter if VBR or CR.

There was no point in investing time and effort, it is known to be broken (see pinned topic in the main forum).