FFmpeg commands to be used for HW accelerated encoding on AGX

Hi,
We have enabled hardware decoding. Hardware encoding is not included yet. For encoding, there is a package from community. Please check
Jetson Nano FAQ
Q: Is hardware acceleration enabled in ffmpeg?