gstreamer camera access issue
Nicolas Dufresne
nicolas at ndufresne.ca
Tue May 12 16:55:51 UTC 2020
Le mardi 12 mai 2020 à 17:02 +0530, Sudeendra M.G a écrit :
> Dear members,
>
> I face below issue:
> gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-h264, width=640, height=480, framerate=15/1, stream-format=byte-stream" ! rtph264pay ! udpsink host=192.168.1.4 port=5000
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /GetPipeline:pipeline0/GetV4l2Src:v4l2src0: Internadata stream error.
> Additional debug info:
> gstbasesrc.c (3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2src/v4l2src0:
> streaming stopped, reason not-negotiated (-4)
Verify [0] that your camera support H264 encoding in 640x480 15fps. If
it does support this, perhaps v4l2src is not setting enough info int he
caps for rpth264pay to work, in this case add h264parse between the
v4l2src and rtph264pay.
v4l2-ctl -d /dev/video0 --list-formats-ext
> Execution ended after 0:00:00.001437437
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> Could you please check above issue and help me with the solution?
>
> Thanks & Best Regards,
> Sudeendra
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list