• 07/14/2017
  • Public Content
Contents

5MP Camera Examples with GStreamer

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

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