safijari / decky-recorder-fork

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recordings randomly silently crash with no pattern other than length

ArgusTheWolf opened this issue · comments

I've been trying to diagnose and see if I can find any patterns in the current release and beta for crashes, using both mkv and mp4. The only common denominator is length of the recording, and that's not even always the case, I had one test that was an hour and forty four minutes, but then another one that suddenly stopped at twenty seven minutes.

No changes in audio, plug status, bluetooth, or power on these crashes. And the things that I'd assume would crash don't when it's a short file, even putting the device in sleep mode not only doesn't corrupt the video file, but it continues recording when waking the deck back up. That was in a single minute test, trying to find any patterns of buttons or something. It's also not intensity dependent, in the twenty seven minute corrupt file I mentioned earlier, there were some intense cpu and gpu heavy effects earlier, but this crash happened during inventory management.

These crashes are silent too, it still says "stop recording" when you open the panel. I'm curious if there is a way to have the application notify when it's no longer writing to the file, since the crashes just halt the recording as file size is consistent with the duration before the crash, not what it would be if it kept recording.

Another potential bandaid solution could be a setting to auto split the file every set amount of minutes. It stops the recording and begins another one automatically.

Could any of this be implemented? Is any of this data useful? I want to try to help get this working, and I'll keep testing, but the only consistent thing I've come across is the longer the recording, the more likely it is to fail. Usually at an hour, the hour and forty minutes is an outlier. Is there anything I can do to help?