Savant
Savant copied to clipboard
Improve performance of GPU-less AO-RTSP
Remove unnecessary memory copying.
- Create a writable
numpy arraydirectly fromGst.Buffer, without copying memory fromGst.Buffertonumpy arrayand then back toGst.Buffer. - Found out if it's possible to pass
Gst.Bufferrather thanbytesfromalways_on_rtsp_frame_sinktoalways_on_rtsp_frame_processor. I.e. check if Gstreamer don't destroyGst.Bufferwhen there's existing python reference to it.