gstreamer error(from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.)
Nicolas Dufresne
nicolas at ndufresne.ca
Tue May 5 18:05:17 UTC 2020
Le lundi 04 mai 2020 à 22:09 -0500, jah05 a écrit :
> I am trying to do rtp communication using gstreamer but I get this error. Please help fix the error! Please!
Sure
> gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw, width=640, heigth=480 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000
> > Setting pipeline to PAUSED ... Pipeline is live and does not need
> > PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock
> > ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> > Internal data flow error. Additional debug info: gstbasesrc.c(2948):
> > gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> > streaming task paused, reason not-negotiated (-4) Execution ended
Not negotiate means there is something incompatible at run-time. I have
two suggestion for you to look at:
1. You camera maybe not support 640x480 ?
2. Or maybe your camera is jpeg only, and requires jpegdec afterward ?
Let use know if on of these two was your issue. Meanwhile, you should
consider a tune= parameter on x264enc, the default is not that great
for streaming (very high CPU and latency).
> > after 0:00:00.002814879 Setting pipeline to PAUSED ... Setting
> > pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline
> > ...
>
>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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