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 ! waylandsinkgbm_create_device(156): Info: backend name is: msm_drmSetting pipeline to PAUSED ...gbm_create_device(156): Info: backend name is: msm_drmPipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClockGot EOS from element "pipeline0".Execution ended after 0:00:04.853294182Setting 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 beforedropping the final reference, to allow them to clean up.This problem may also be caused by a refcounting bug in theapplication 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 beforedropping the final reference, to allow them to clean up.This problem may also be caused by a refcounting bug in theapplication 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.
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