Introduces capturer.raw() which returns a RawCapturer. On macOS this struct exposes get_next_pixel_buffer, which returns a wrapper around the underlying CMSampleBuffer with minimal processing after the fact.
We do this to sidestep scap's manual stride correction which in most cases is probably useful, but when looking for higher performance when working with a larger video processing pipeline is better suited to be done outside of scap.
Introduces
capturer.raw()
which returns aRawCapturer
. On macOS this struct exposesget_next_pixel_buffer
, which returns a wrapper around the underlyingCMSampleBuffer
with minimal processing after the fact. We do this to sidestep scap's manual stride correction which in most cases is probably useful, but when looking for higher performance when working with a larger video processing pipeline is better suited to be done outside of scap.