How to know program is using hardware encoder

Hi,
You can run sudo tegrastats and check whether NVENC shows up. We have enabled hardware acceleration in gstreamer and jetson_multimedia_api. And there is a package for ffmpeg. For more information, please take a look at developer guide