[gst-devel] Error starting streaming on device '/dev/video0'. system error: Cannot allocate memory

Aldo85 aldobiziak at gmail.com
Thu Oct 7 16:16:24 CEST 2010


Hi all,
I've found an issue creating a pipeline to get images from a webcam:
root at spear600:~# gst-launch-0.10 v4l2src device=/dev/video0 !
video/x-raw-yuv,width=320,height=240,framerate=15/1  !  ffmpegcolorspace !
jpegenc ! multifilesink location=/opt/image-out-%05d.jpg

Setting pipeline to PAUSED ...
uvcvideo: device USB Video Camera requested null bandwidth, defaulting to
lowest.
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error
starting streaming on device '/dev/video0'.
Additional debug info:
../../../sys/v4l2/gstv4l2object.c(1983): gst_v4l2_object_start_streaming ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Cannot allocate memory
Setting pipeline to NULL ...
Freeing pipeline ...

NOTE: this pipeline has a correct syntax because it works good on Ubuntu...
It gives error only on my stlinux OS...
Other details:
-when I plug the wecam I get these messages:
root at spear600:~# usb 1-1: new high speed USB device using spear-ehci and
address 2
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB Video Camera (0553:0522)
input: USB Video Camera as /class/input/input1

The webcam device exists inside /dev :
root at spear600:~# ls /dev | grep video
video
video0

What can i do to fix my issue? can anyone help me ?
Thankyou!
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Error-starting-streaming-on-device-dev-video0-system-error-Cannot-allocate-memory-tp2966852p2966852.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list