Can the Jetson AGX Xavier encode 4k x 4k (30fps) video in H.265?
Hi,
Hardware encoder is able to achieve the performance:
$ gst-launch-1.0 videotestsrc num-buffers=300 ! video/x-raw,width=1280,height=720 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=3840,height=3840' ! nvv4l2h265enc ! fpsdisplaysink text-overlay=0 video-sink=fakesink -v
In the pipeline the frame data is in 1280x720 CPU buffer and copied/upscaled to 3840x3840 NVMM buffer.
If the frame data is in 3840x3840 CPU buffer and copied to 3840x3840 NVMM buffer, the memory copy dominates the performance throughput:
$ gst-launch-1.0 videotestsrc num-buffers=300 ! video/x-raw,width=3840,height=3840 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=3840,height=3840' ! nvv4l2h265enc ! fpsdisplaysink text-overlay=0 video-sink=fakesink -v
So if you can put frame data into NVMM buffer directly, encoding performance can achieve 3840x3840p30.