GstV4l2Src:v4l2src0: Failed to allocate a buffer
sazzad1009
sazzad1009 at yahoo.com
Wed Jun 25 17:20:37 PDT 2014
Hi,
I have successfully compiled gstreamer1.0 from git source today (gstreamer,
base, good, bad, ugly, libav) in Ubuntu 12.. However, gst-launch-1.0 fails
with v4l2src saying failed to allocate buffer. On the other hand,
gst-launc-0.1 (came with Ubuntu release) runs fine and does not fail with
such error.
Does anyone have any idea what went wrong?
Thanks!
------------------log-----------------
#gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, width=640,
height=480, framerate=15/1' ! queue ! videoconvert ! x264enc ! rtph264pay
pt=96 ! 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
Redistribute latency...
0:00:04.152979362 30179 0x8a5770 ERROR v4l2allocator
gstv4l2allocator.c:1326:gst_v4l2_allocator_dqbuf:<v4l2src0:pool:src:allocator>
failed dequeuing a mmap buffer: Invalid argument
0:00:04.153024426 30179 0x8a5770 ERROR v4l2allocator
gstv4l2allocator.c:1338:gst_v4l2_allocator_dqbuf:<v4l2src0:pool:src:allocator>
The buffer type is not supported, or the index is out of bounds, or no
buffers have been allocated yet, or the userptr or length are invalid.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to
allocate a buffer
Additional debug info:
gstv4l2src.c(736): gst_v4l2src_create ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0
Execution ended after 0:00:04.073653279
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-----------------------------
/dev/video0 is a USB webcam, vlc can open it either with v4l2.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstV4l2Src-v4l2src0-Failed-to-allocate-a-buffer-tp4667673.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list