• 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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804