Jump to content

Sony IMX230 Linux driver: Difference between revisions

mNo edit summary
Line 238: Line 238:
DISPLAY=:0 gst-launch-1.0 nvcamerasrc exposure-time=0.006 sensor-id=0 fpsRange="30 30" auto-exposure=off  ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420, framerate=(fraction)30/1' ! nvvidconv ! "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1"  ! queue !  mixer.sink_0  nvcamerasrc  auto-exposure=off exposure-time=0.006  sensor-id=1 fpsRange="30 30" ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420,framerate=(fraction)30/1' ! nvvidconv ! "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1"  ! queue ! mixer.sink_1 nvcamerasrc auto-exposure=off exposure-time=0.006 sensor-id=2 fpsRange="30 30" ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420, framerate=(fraction)30/1' ! nvvidconv !  "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1" ! queue ! mixer.sink_2  videomixer background=1 name=mixer sink_0::xpos=0 sink_0::ypos=0  sink_1::xpos=640 sink_1::ypos=0 sink_2::xpos=320 sink_2::ypos=480 ! queue ! nvoverlaysink sync=false -v
DISPLAY=:0 gst-launch-1.0 nvcamerasrc exposure-time=0.006 sensor-id=0 fpsRange="30 30" auto-exposure=off  ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420, framerate=(fraction)30/1' ! nvvidconv ! "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1"  ! queue !  mixer.sink_0  nvcamerasrc  auto-exposure=off exposure-time=0.006  sensor-id=1 fpsRange="30 30" ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420,framerate=(fraction)30/1' ! nvvidconv ! "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1"  ! queue ! mixer.sink_1 nvcamerasrc auto-exposure=off exposure-time=0.006 sensor-id=2 fpsRange="30 30" ! 'video/x-raw(memory:NVMM), width=(int)5344, height=(int)4016, format=(string)I420, framerate=(fraction)30/1' ! nvvidconv !  "video/x-raw,width=(int)640,height=(int)480,format=(string)I420,framerate=(fraction)30/1" ! queue ! mixer.sink_2  videomixer background=1 name=mixer sink_0::xpos=0 sink_0::ypos=0  sink_1::xpos=640 sink_1::ypos=0 sink_2::xpos=320 sink_2::ypos=480 ! queue ! nvoverlaysink sync=false -v
</pre>
</pre>
= Performance =
For this test framerate was measured with vl4-ctl and perf using nvcamerasrc to capture
== Framerate with v4l ==
<pre>
nvidia@tegra-ubuntu:~$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=5344,height=4016,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap
<<<<<<<<<<<<<<<<<<<<< 19.60 fps
<<<<<<<<<<<<<<<<<<<<< 20.39 fps
<<<<<<<<<<<<<<<<<<<<<< 20.72 fps
<<<<<<<<<<<<<<<<<<<<< 20.89 fps
<<<<<<<<<<<<<<<<<<<<< 20.95 fps
<<<<<<<<<<<<<<<<<<<<<< 21.02 fps
<<<<<<<<<<<<<<<<<<<<< 21.08 fps
<<<<<<<<<<<<<<<<<<<<< 21.12 fps
<<<<<<<<<<<<<<<<<<<<<< 21.15 fps
<<<<<<<<<<<<<<<<<<<<< 21.15 fps
<<<<<<<<<<<<<<<<<<<<< 21.18 fps
<<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.19 fps
<<<<<<<<<<<<<<<<<<<<< 21.21 fps
<<<<<<<<<<<<<<<<<<<<<< 21.22 fps
<<<<<<<<<<<<<<<<<<<<< 21.22 fps
<<<<<<<<<<<<<<<<<<<<< 21.23 fps
</pre>
==Framerate with Nvcamerasrc and perf ==
<pre>
nvidia@tegra-ubuntu:~$ gst-launch-1.0 nvcamerasrc ! perf ! fakesink
Setting pipeline to PAUSED ...
Available Sensor modes :
5344 x 4016 FR=21.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
4208 x 3120 FR=21.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2672 x 2008 FR=21.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
1920 x 1080 FR=21.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvCameraSrc: Trying To Set Default Camera Resolution. Selected sensorModeIndex = 0 WxH = 5344x4016 FrameRate = 21.000000 ...
GST-PERF INFO -->  Timestamp: 0:03:39.618922100; Bps: 0; fps: 0.0
GST-PERF INFO -->  Timestamp: 0:03:40.759031526; Bps: 708; fps: 3.50
GST-PERF INFO -->  Timestamp: 0:03:41.969865651; Bps: 667; fps: 3.30
GST-PERF INFO -->  Timestamp: 0:03:43.155424734; Bps: 681; fps: 3.37
GST-PERF INFO -->  Timestamp: 0:03:44.355749255; Bps: 673; fps: 3.33
GST-PERF INFO -->  Timestamp: 0:03:45.537114811; Bps: 684; fps: 3.38
GST-PERF INFO -->  Timestamp: 0:03:46.749476158; Bps: 666; fps: 3.30
GST-PERF INFO -->  Timestamp: 0:03:47.941200469; Bps: 678; fps: 3.35
GST-PERF INFO -->  Timestamp: 0:03:49.032922515; Bps: 740; fps: 3.66
GST-PERF INFO -->  Timestamp: 0:03:50.074386850; Bps: 776; fps: 10.56
GST-PERF INFO -->  Timestamp: 0:03:51.086839413; Bps: 798; fps: 15.81
GST-PERF INFO -->  Timestamp: 0:03:52.131798205; Bps: 773; fps: 16.28
GST-PERF INFO -->  Timestamp: 0:03:53.183461763; Bps: 768; fps: 16.17
GST-PERF INFO -->  Timestamp: 0:03:54.238724611; Bps: 765; fps: 16.11
GST-PERF INFO -->  Timestamp: 0:03:55.285163133; Bps: 772; fps: 16.25
GST-PERF INFO -->  Timestamp: 0:03:56.341732680; Bps: 765; fps: 16.9
GST-PERF INFO -->  Timestamp: 0:03:57.389713997; Bps: 771; fps: 16.23
GST-PERF INFO -->  Timestamp: 0:03:58.464777416; Bps: 751; fps: 15.81
GST-PERF INFO -->  Timestamp: 0:03:59.509986213; Bps: 773; fps: 16.26
GST-PERF INFO -->  Timestamp: 0:04:00.547844340; Bps: 779; fps: 16.39
</pre>


= Contact Us =
= Contact Us =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.