I have been doing some tests with the various hardware accelerated encoders on my Xavier NX (with gstreamer). For example I would encode using nvv4l2h264enc:
gst-launch-1.0 filesrc location=testt.raw ! 'video/x-raw, width=(int)1440, height=(int)1080, framerate=(fraction)60/1' ! rawvideoparse width=1440 height=1080 format=gray8 framerate=60 ! nvvidconv ! nvv4l2h264enc control-rate=0 qp-range=0,1:0,1:0,1 quant-i-frames=0 quant-p-frames=0 MeasureEncoderLatency=true ! qtmux ! filesink location=test.mp4
I would notice 8W of power consumption. The GPU was at 0% and the CPU, according to tegrastats was on average (per core):
22.88% , 23.21% , 24.79% , 25.91% , 24.58% , 19.58%
The same happens if I used OpenMax, or if I test with H265. Where’s the 8W coming from if both the CPU and GPU are not being stressed out? Is the Hardware Encoder that power hungry?