<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 15 mai 2020 22 h 15, Olivier SCHMITT <<a href="mailto:sc.olivier@gmail.com">sc.olivier@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Dear gstreamer-devel Team members.<br>
<br>
First I hope your are safe in actual situation...<br>
<br>
I plan to use gstreamer to stream an usb webcam in a html webpage for my <br>
robot.<br>
<br>
I try this: (found at <a href="https://gist.github.com/tetkuz/0c038321d05586841897" rel="noreferrer noreferrer" target="_blank">https://gist.github.com/tetkuz/0c038321d05586841897</a>)<br>
<br>
<br>
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! videoscale ! <br>
video/x-raw,width=320,height=240 ! clockoverlay shaded-background=true <br>
font-desc="Sans 38" ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 <br>
port=8080<br>
<br>
I am on raspbian lite buster and raspberry pi 3.<br>
<br>
I get this error:<br>
<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed <br>
to allocate required memory.<br>
Additional debug info:<br>
gstv4l2src.c(658): gst_v4l2src_decide_allocation (): <br>
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br>
Buffer pool activation failed<br>
Execution ended after 0:00:00.320829913<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
<br>
<br>
Can you help me?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Try increasing the log level, like with GST_DEBUG="v4l2*:7,3" env. If you don't find anything specific, it might be a driver bug, you'd have to seek support from the RPi community.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>