Jetson AGX encoding cannot reach 4K/60 FPS

Hi, I am using the AGX Xavier dev unit to do encoding. The code pattern I follow is the same as mmapi example no.10 camera recording.
According to the spec, it should support 2X 4K 60 FPS encoding, While I couldn’t make it work. The single camera 4K encoding FPS can only reach 30(producer fetching is 60). I tried to use lower resolution like 1080p and it can reach 60FPS. Is there a way we could do 2X 4K 60 FPS encoding?

Please modify this to 60 and rebuild 10_camera_recording:

static const int DEFAULT_FPS = 30;

And try

$ ./camera_recording -r 3840x2160 -t H265 -s

If sensor mode 0 is not 3840x2160p60, you need to set to the required sensor mode. Please refer to 09_camera_jpeg_capture for setting sensor mode.

Hi, thanks for the reply. I followed the steps you recommended above(including increasing fetch FPS) but still got 30 FPS from profiler. Is there something else I need to change?
Screen Shot 2022-09-27 at 3.53.04 PM

Looks like sensor generates frames in 30fps. You may run $ gst-launch-1.0 nvarguscamerasrc ! fakesink to check if sensor mode 0 is 4Kp60. If not, would need to add code for setting to another sensor mode.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.