Streaming H265 FullHD with Gstreamer on JetsonTX1

Hi guys,
I have an issue when i use Gstreamer to Streaming H265 UDP with camera Hitachi on JetsonTX1.
If I use Gstreamer tools to do streaming, Images received in client machine are quite smooth and with low latency. But when I transfer exactly those elements in the pipeline used with gstreamer tool into C++ code. I don’t know why images received in client have high latency than normal.

Server Side:

[b]gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert \
! 'video/x-raw, width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! \
omxh265enc low-latency=1 control-rate=2 bitrate=4000000 ! 'video/x-h265, stream-format=(string)byte-stream' ! \
h265parse ! rtph265pay mtu=1400 ! udpsink multicast=true host= port=15000 sync=false async=false[/b]

Client side:

gst-launch-1.0 udpsrc multicast-group= port=15000 ! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay \
! h265parse ! queue ! avdec_h265 ! xvimagesink sync=false async=false -e


Look forward response from all you guys.
Many thanks!

Hi AsleyTrung,
You may try nvpmodel mode 0

$ sudo nvpmodel -m 0

or try max clocks

$ sudo

Hi Dane,
Thanks for your response.
But what do you mean? I still haven’t got your point yet.

Hi AsleyTrung,
Not sure why you get different result in pipeline and C code. Other users may share knowledge about it, or you can go to

But I think you may also try to run in max performance mode:

$ sudo

After executing the script, CPU, GPU, emc clocks run at max clocks, giving max performance of TX1.

Please ignore configuring nvpmodel because TX1 does not support it.

Ok. Thanks alot for your support @DaneLLL