Alkl58 / NotEnoughAV1Encodes

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

[BUG] NEAV1e terminated immediately when I click "encode" no matter portable or install version. #149

Open SynciaLin opened 12 months ago

SynciaLin commented 12 months ago

Describe the bug NEAV1e terminated immediately when I click "encode" no matter portal or install version. I can see an error message in Windows Event viewer related to .NET framework: System.NullReferenceException: Object reference not set to an instance of an object.

To Reproduce It's very easy to reproduce.

  1. Drag video file.
  2. Set destination.
  3. Click "encode"

I tried lossless RAW video recorded by Bandicam or H.264 video (.mp4), NEAV1E always crashes immediately when I click "encode".

Expected behavior Program should begin to encode.

Screenshots If applicable, add screenshots to help explain your problem.

Log File I attached my windows event viewer log, not sure if it helps.

Desktop (please complete the following information):

Additional context NEav1e-crash.txt

Alkl58 commented 12 months ago

Hey, can you send me your project file, which is located under %appdata%\NEAV1E\Queue ?

SynciaLin commented 12 months ago

Hi,

I just re-downloaded neave1 v2.1.5 again and installed, I don't know why it works now. I'm really sorry for this, not sure if it's my mistake.

I just re-tested my did video file which it failed several hours ago, but now it works and I don't know why.

DVD3.avi_vggqHAHGuvVkCcL.zip

Alkl58 commented 12 months ago

You are the third person in 3 weeks reporting a crash when clicking encode.

The stack trace you provided clearly shows an issue within NEAV1E, however in my debugging environment I rarely / never encounter a crash.

The problem is, that the stack trace doesn't clearly tell which object was null.

SynciaLin commented 12 months ago

It's very weird, allow me to write down everything that I remember what I've done before:

  1. My first installed version is v2.1.4
  2. I encoded a 4k movie in AV1 format but I got a lot of chunk files. (It didn't merge into one file)
  3. I upgraded all plugins with neAV1e updater.
  4. Few weeks ago since then, I found my neAV1e terminated immediately when I was trying to encode.
  5. I uninstall neAV1e and install again, but it didn't work. (it happened today)
  6. I uninstall all Microsoft Visual C++ redistributable on my pc. (it happened today)
  7. Install x64 and x86 version of Visual C++ redistributable 2010 and 2015-2022 (it happened today), but neAV1e still not working.
  8. I uninstall neAV1e and re-download package and install it again, this time it seems working. (it happened today)
TheCodeHermit commented 11 months ago

I have experienced a crash when clicking encode, I don't have any more information except that I assumed it was because I hadn't added it to queue because it worked after adding it to queue and then clicking start encode

Neo166 commented 9 months ago

I have experienced a crash when clicking encode, I don't have any more information except that I assumed it was because I hadn't added it to queue because it worked after adding it to queue and then clicking start encode

You solved it! I was facing the same crash since i didn't add to queue. What a STRANGE bug!!

Update: Spoke too soon. It sucks! Just a handful videos will begin encoding, the majority of the times it just crashes.