There is an issue with your camera/drone if you tried everything and it still occurs. Had hours and hours of recorded
P4P footage in H265 on my drone and never had this problem. Cheap hardware or not, yours is not working correctly and should be sent back to DJI.