ivadim / fruitnanny

Raspberry PI based baby monitor
136 stars 57 forks source link

Error when trying to configure Video Pipeline #19

Closed jeremyfritzen closed 4 years ago

jeremyfritzen commented 4 years ago

Hi, I hope this is the good place to post my issue (I already posted a message on the developer's blog but not sure which place is the best).

I have the following error when I try the command for video pipeline (gst-launch-1.0 -v rpicamsrc name=src preview=0 exposure-mode=night fullscreen=0 bitrate=1000000 annotation-mode=time+date annotation-text-size=20 ! video/x-h264,width=960,height=540,framerate=8/1 ! queue max-size-bytes=0 max-size-buffers=0 ! h264parse ! rtph264pay config-interval=1 pt=96 ! queue ! udpsink host=127.0.0.1 port=5004 sync=false):

Setting pipeline to PAUSED ... mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1) ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstRpiCamSrc:src: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: gstbasesrc.c(3452): gst_base_src_start (): /GstPipeline:pipeline0/GstRpiCamSrc:src: Failed to start Setting pipeline to NULL ... Freeing pipeline ...

Do you know how to fix it?

Some details on my installation:

Thanks again for your help and congrats for the project & tutorial!

jeremyfritzen commented 4 years ago

Ok, my mistake... I plugged the camera to the wrong port (DSI Display Port instead of CSI Camera Port). I close the thread.