Camera GStream 13MP

13 MPixel camera viewfinding 30 fps

13 MPixel camera viewfinding is supported for the following resolutions:

640x480:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=640,height=480 ! vaapisink dmabuf-alloc-tiled=true

1280x720:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1280,height=720 ! vaapisink dmabuf-alloc-tiled=true

1920x1080:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080 ! vaapisink dmabuf-alloc-tiled=true

3840x2160:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=3840,height=2160 ! vaapisink dmabuf-alloc-tiled=true

 

Note: To get the 4k resolution viewfinder (3840x2160) running at a sustained 30 fps, it might be required to change the maximum TDP (Thermal Design Power) of the system and also apply an active cooling solution.

 

13 MPixel camera viewfinding above 30 fps

13 MPixel camera viewfinding for higher framerates is supported for:

720p@60:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1280,height=720,framerate=60/1 ! vaapisink dmabuf-alloc-tiled=true

1080p@60:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! vaapisink dmabuf-alloc-tiled=true

720p@115:

gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1280,height=720,framerate=120/1 ! vaapipostproc dmabuf-alloc-tiled=true ! fakesink

 

Note: 115 fps only works with the fakesink since the vaapisink limits the framerate to the display framerate.

 

13 MPixel camera video recording

13 MPixel camera video recording is supported for the following resolutions:

640x480:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

1280x720:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

1920x1080:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

3840x2160:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

 

Note: To get the 4k resolution video recording (3840x2160) running at a sustained 30 fps, it might be required to change the maximum TDP (Thermal Design Power) of the system and also apply an active cooling solution. The TDP can be changed in the following BIOS menu:  Device Manager -> System Setup -> CPU Configuration -> CPU Power Management -> Change “Power Limit 1 Power” from 4 to 8 (Watt).

 

13 Mpixel camera video recording above 30 fps

13 MPixel camera video recording for higher framerates is supported for:

720p@60:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1280,height=720,framerate=60/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

1080p@60:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

720p@115:

gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1280,height=720,framerate=120/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4

 

Note: The field of view for 720p@115 is smaller than for other resolution/framerate combinations. This is a hardware limitation. The camera sensor needs to do cropping in order to fit within the CSI bandwidth.

 

 

For more complete information about compiler optimizations, see our Optimization Notice.