How Deepstream reads depth data(Z16) and sends it via rtsp

I tried deepstream streaming RGB 1920X1080 and depth data 1280x720 from Intelrealsene driver to the remote server. The cpu usage is above 80% . Below is my pipleline. could you help to check where i can optimize ?

intelrealsense–> CPU reads RGB 1920x1080 data from realsense api → deepstream–> h.264–>rtsp
intelrealsense–>> CPU read Depth 12bit 1280x720 data from realsense api -->opencv converts to BGR -->deepstream–> h.264–>rtsp