I'm capturing uncompressed 4K video from my Sony A7R II via a video capture device, and am using ffmpeg to save the video.
My problem is I don't know what codec to use. The two options I tried are:
- Uncompressed: this takes up too much space, something like 1Gb every few seconds.
- h264: this very quickly starts skipping frames. I've tried
qvxand they all essentially fill up the buffer and then start skipping frames after less than a minute of shooting.
I'm doing all of this on a laptop, so I have little scope for adding hardware encoding, especially considering that Intel's and Nvidia's solutions - at least on my machine - are clearly insufficient for 4K.
My requirements are that the codec allows:
- About 4-5 hours of captured footage reliably fit on a 500Gb SSD
- Encoding can happen in realtime without frames being dropped
- The codec is postprocessing-friendly
Just in case it's useful, my laptop has an i7-4710MQ and 32Gb RAM.
Update: some clarification: I record at 30FPS, my capture device is INOGENI, sampling is 4:2:0. And no, I don't want to lose more quality than I have to. If I have to spend 100Gb/hour for recording, I'm OK with that.