Deepstream python app - how to deepcopy and process part of frame?

Yeah, I was thinking about this but why usb source works then?
And yeah, is there any possibility to process/deepcopy frames even when the source is rtsp?

Edit:
maybe it’s important - the problem also occurs in deepstream 5