Buffer pool activation failed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Buffer pool activation failed

Olivier SCHMITT
Hello Dear gstreamer-devel Team members.

First I hope your are safe in actual situation...

I plan to use gstreamer to stream an usb webcam in a html webpage for my
robot.

I try this: (found at https://gist.github.com/tetkuz/0c038321d05586841897)


gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! videoscale !
video/x-raw,width=320,height=240 ! clockoverlay shaded-background=true
font-desc="Sans 38" ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1
port=8080

I am on raspbian lite buster and raspberry pi 3.

I get this error:


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: Failed
to allocate required memory.
Additional debug info:
gstv4l2src.c(658): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.320829913
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


Can you help me?

Thanks

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Buffer pool activation failed

Nicolas Dufresne-5


Le ven. 15 mai 2020 22 h 15, Olivier SCHMITT <[hidden email]> a écrit :
Hello Dear gstreamer-devel Team members.

First I hope your are safe in actual situation...

I plan to use gstreamer to stream an usb webcam in a html webpage for my
robot.

I try this: (found at https://gist.github.com/tetkuz/0c038321d05586841897)


gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! videoscale !
video/x-raw,width=320,height=240 ! clockoverlay shaded-background=true
font-desc="Sans 38" ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1
port=8080

I am on raspbian lite buster and raspberry pi 3.

I get this error:


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: Failed
to allocate required memory.
Additional debug info:
gstv4l2src.c(658): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.320829913
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


Can you help me?

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.


Thanks

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel