What helped me was temporarily switching to CPU encoding to test stability, then rolling back to a slightly older AMD driver version. I also found that recording to a different drive than the system drive reduced corruption instances. The sudden file corruption you're describing sounds frustrating, ...