Hang/Crash while encoding

So I suspect the answer here is going to be hardware or driver error, but I can’t seem to get through more than 4 or 5 encodings before running into a hang that freezes my machine. This seems like the moment at issue:

2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.07 % (63.37 fps, avg 61.34 fps, ETA 00h28m47s)
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.08 % (63.37 fps, avg 61.34 fps, ETA 00h28m47s)
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.09 % (63.37 fps, avg 61.34 fps, ETA 00h28m47s)
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.11 % (64.31 fps, avg 61.34 fps, ETA 00h28m45s)
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> [h264_nvenc @ 000000000506e480] Failed unlocking input buffer!: generic error (20)
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> [12:43:29] encavcodec: avcodec_send_frame failed
2020-02-22T12:43:29 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.12 % (64.31 fps, avg 61.34 fps, ETA 00h28m45s)
2020-02-22T12:43:30 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 5.13 % (64.31 fps, avg 61.34 fps, ETA 00h28m45s)
… repeat until freeze

Any thoughts on how to debug? I’m running a Gigabyte GeForce GTX 1650 OC 4G in an 8 year old motherboard with good old i7-3770K. It’s quite possible so random aging hardware issue is hitting me, but Plex recording doesn’t seem to trigger it. Just MCEBuddy/Handbrake conversion.

mcebuddy.log (432.8 KB) The Late Show With Stephen Colbert (2015) - S05E86 - Joe Mantegna; Coyote Peterson.ts-Convert to MP4-2020-02-22T12-35-03.log (751.4 KB)

It’s your graphics driver…

Thanks. I ended up changing Plex to transcode when recording, and now MCEBuddy just converts the TS container to MP4 and moves it to the NAS. Hasn’t crashed since. It’s possible there was an auto-update of the driver as well, but I don’t think Plex is using the NVidia chip for transcoding.

I still miss the WMC plugin I had which auto-skipped commercials without editing the original video using an xml file with markers. This allowed you to go back when hitting false positives. Might try to get the chapter markers working. Anyone have any luck with that?