Quote:
Originally Posted by Zarxrax
Regarding buffer size, what if the buffer was a multiple of frame size? Wouldn't this give optimal performance, as you would always be sending x264 exactly what it needs to encode an entire frame? Since avs2yuv is outputting raw data, we can calculate this from the resolution.
|
I tried that. But it didn't improve things. It seems a 4MB buffer gives the best results under any circumstances. Maybe because that is the maximum memory page size on x86 computers...