Forums - Video Stabilization

1 post / 0 new
Video Stabilization
denys.rogovchenko
Join Date: 19 Aug 21
Posts: 1
Posted: Fri, 2021-11-19 06:14

Hi.

I trying to get video stabilization working with sample MIPI CSI camera connected with ribbon connector. I have tried "EIS" option enabled, but it causes gstreamer pipeline to crash. I interested in digital image stabilization that will work without dedicated hardware sensor. Does RB5 system provides hardware accelerated way for digital image stabilization? How can I use "Dedicated CVP H/W block - CVP 2.x for Digital Image stabilization, Image correction etc." mentioned on developer.qualcomm.com/qualcomm-robotics-rb5-kit/software-reference-manual page? Is there any C examples that show how to use it?

Here is debug output of gstreamer pipeline launch wiht EIS enabled:

root@qrb5165-rb5:~# GST_DEBUG=3 gst-launch-1.0 -e qtiqmmfsrc name=qmmf eis=true  camera=0  ! video/x-h264,format=NV12,width=1920,height=1080,framerate=30/1 ! fakesink
gbm_create_device(156): Info: backend name is: msm_drm
0:00:00.039166339  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039207379  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039232535  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039258836  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039277429  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039288522  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
0:00:00.039307584  2989   0x559fb1f810 WARN              qtiqmmfsrc qmmf_source_context.cc:261:get_vendor_tag_by_name: Failed to retrieve Global Vendor Tag Descriptor!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.659153929  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source_context.cc:506:initialize_camera_param: QMMF Recorder GetCameraParam Failed!
0:00:00.659184241  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source_context.cc:1629:gst_qmmf_context_start_session: Failed to initialize camera parameters!
0:00:00.659227416  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source.c:456:qmmfsrc_start_session:<qmmf> Session start failed!
0:00:00.659247780  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source.c:563:qmmfsrc_change_state:<qmmf> Failed to start session!
ERROR: pipeline doesn't want to play.
0:00:00.659266634  2989   0x7f940022d0 ERROR             qtiqmmfsrc qmmf_source_context.cc:870:camera_event_callback: Camera server has died !
Setting pipeline to NULL ...
0:00:00.661740874  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source_context.cc:1655:gst_qmmf_context_stop_session: QMMF Recorder StopSession Failed!
0:00:00.661785403  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source.c:477:qmmfsrc_stop_session:<qmmf> Session stop failed!
0:00:00.661799517  2989   0x559fb1f810 ERROR             qtiqmmfsrc qmmf_source.c:600:qmmfsrc_change_state:<qmmf> Failed to stop session!

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.