• 07/14/2017
  • Public Content
Contents

Multiple Camera Examples - GStreamer

13 MPixel and 5 Mpixel simultaneous viewfinding
13 MPixel and 5 Mpixel simultaneous viewfinding is supported for the following resolutions:
640x480:
gst-launch-1.0 icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! vaapisink dmabuf-alloc-tiled=true icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=640,height=480,framerate=30/1 ! vaapisink dmabuf-alloc-tiled=true
1280x720:
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=30/1 ! vaapisink dmabuf-alloc-tiled=true icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! vaapisink dmabuf-alloc-tiled=true
1920x1080:
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=30/1 ! vaapisink dmabuf-alloc-tiled=true icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! vaapisink dmabuf-alloc-tiled=true
13 MPixel and 5 Mpixel simultaneous video recording
13 MPixel and 5 Mpixel simultaneous video recording is supported for the following resolutions:
640x480:
gst-launch-1.0 -e icamerasrc num-buffers=300 device-name=0 io-mode=3 printfps=true ! 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 icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! 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=test2.mp4
1280x720:
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=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4 icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! 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=test2.mp4
1920x1080:
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=30/1 ! vaapih264enc tune=low-power dmabuf-alloc-tiled=true ! h264parse ! mp4mux ! queue ! filesink location=test.mp4 icamerasrc num-buffers=300 device-name=1 io-mode=3 printfps=true ! 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=test2.mp4

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.