gst-launch-1.0 filesrc location="test_0003.mp4" ! qtdemux ! h264parse ! omxh264dec !omxh265enc control-rate=2 target-bitrate=20000 ! h265parse ! queue ! rtph265pay !udpsink host=192.168.1.1 port=50000 buffer-size=20000000 async=false max-lateness=-1 qos-dscp=60
Note: 192.168.1.1 is an example client IP address. You might need to modify this with actual client IP address.