Forums - Unable to access the main camera on RB5

2 posts / 0 new
Last post
Unable to access the main camera on RB5
cris.thomas.sky...
Join Date: 12 Aug 22
Posts: 7
Posted: Wed, 2022-09-21 08:28

Hi, I am trying to stream video from the RB5 main camera (id:0).

However, I am getting this output and the program goes idle.

root@qrb5165-rb5:# gst-launch-1.0 qtiqmmfsrc camera=0 ! waylandsink
gbm_create_device(156): Info: backend name is: msm_drm
Setting pipeline to PAUSED ...
gbm_create_device(156): Info: backend name is: msm_drm
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:04.853294182
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
 
(gst-launch-1.0:10109): GStreamer-CRITICAL **: 17:23:02.571: 
Trying to dispose element qmmfsrc0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
 
 
(gst-launch-1.0:10109): GStreamer-CRITICAL **: 17:23:02.573: 
Trying to dispose element pipeline0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
Any solutions?
Thanks in advance.
 
Update: I also noticed that the camx-hal3-test for the main camera (id: 0) completes, but doesn't produce any test image.

 

  • Up0
  • Down0
luis.merayo
Join Date: 13 Feb 23
Posts: 6
Posted: Wed, 2023-07-26 07:58

Hi,

You can try specifying the caps for the camera source, like in the pipeline in this wiki guide: https://developer.ridgerun.com/wiki/index.php/Qualcomm_Robotics_RB5/GStreamer_pipelines/Capture_display#Main_Camera

  • Up0
  • Down0
or Register

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.