Is possible to improve cpu load of this gstreamer pipeline?

I am running this pipeline on TX2:

gst-launch-1.0 rtspsrc location=rtsp://192.168.4.23:8555/1 ! rtph264depay ! h264parse ! omxh264dec ! fakesink sync=false

I am running this test to see how the hardware decoder works.But it’s a little confusing since the cpu load of gst-launch-1.0 is nearly 20%. Is the high cpu load related to “fakesink”? I heard that it copies memory to /dev/null. Is it possible to improve the pipeline? I just want the hardware decoding part.

Hi,
You can get precise system status by executing ‘sudo tegrastats’. Below is the result of running video decoding on TX2/r32.1:

http://www.dvdloc8.com/clip.php?movieid=12954&clipid=1

$ gst-launch-1.0 filesrc location= Bourne_Trailer.mp4 ! qtdemux ! h264parse ! omxh264dec ! nvoverlaysink
RAM 1436/7859MB (lfb 1405x4MB) CPU [4%@345,off,off,1%@345,0%@345,2%@345] EMC_FREQ 1%@1600 GR3D_FREQ 0%@114 NVDEC 1164 APE 150 PLL@42C MCPU@42C PMIC@100C Tboard@37C GPU@40C BCPU@42C thermal@41.2C Tdiode@38.5C VDD_SYS_GPU 153/153 VDD_SYS_SOC 1302/716 VDD_4V0_WIFI 0/9 VDD_IN 3832/2830 VDD_SYS_CPU 153/161 VDD_SYS_DDR 847/509
RAM 1436/7859MB (lfb 1405x4MB) CPU [5%@345,off,off,1%@345,2%@345,1%@345] EMC_FREQ 1%@1600 GR3D_FREQ 0%@114 NVDEC 1164 APE 150 PLL@42C MCPU@42C PMIC@100C Tboard@37C GPU@40C BCPU@42C thermal@41.2C Tdiode@38.75C VDD_SYS_GPU 153/153 VDD_SYS_SOC 1302/725 VDD_4V0_WIFI 0/8 VDD_IN 3832/2846 VDD_SYS_CPU 153/161 VDD_SYS_DDR 847/515
RAM 1436/7859MB (lfb 1405x4MB) CPU [5%@345,off,off,3%@345,2%@345,0%@345] EMC_FREQ 1%@1600 GR3D_FREQ 0%@114 NVDEC 1164 APE 150 PLL@42C MCPU@42C PMIC@100C Tboard@37C GPU@40C BCPU@42C thermal@41.2C Tdiode@38.75C VDD_SYS_GPU 153/153 VDD_SYS_SOC 1378/736 VDD_4V0_WIFI 0/8 VDD_IN 3832/2862 VDD_SYS_CPU 153/161 VDD_SYS_DDR 866/520