The duration to record a video on Oculus Quest 2 depends upon the storage of the Oculus you are using. But whether you use the one with 128GB or 256GB, you will be able to record as many videos as possible. You need to adjust the recording settings so the output resolution can improve.