Any appsrc to H265 streaming example for jetson tx2

Hi,
I am looking for the gstreamer sample that take input from appsrc and stream it in h265 format using the hardware accelerated plugin available in tx2.

Hi,
Please refer to

We have deprecated omx plugins, so you may try the default one and confirm it is runnable. And then change to v4l2 plugins.

appsrc ! nvvidconv ! nvv4l2h264enc ! ...