Webcamera capture on Windows.

K_AA alxndr.kslv at gmail.com
Tue May 20 19:12:53 PDT 2014


Sorry, but it doesn't work.

C:\Users\Админ>gst-launch-1.0 autovideosrc ! videoconvert ! queue !
autovideosin
k -v
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0:
Reso
urce not found.
Additional debug info:
gstautovideosrc.c(300): gst_auto_video_src_find_best ():
/GstPipeline:pipeline0/
GstAutoVideoSrc:autovideosrc0:
Failed to find a usable video source
WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0:
not
negotiated
Additional debug info:
gstbasetransform.c(2115): gst_base_transform_handle_buffer ():
/GstPipeline:pipe
line0/GstVideoConvert:videoconvert0:
not negotiated
ERROR: from element
/GstPipeline:pipeline0/GstAutoVideoSrc:autovideosrc0/GstFake
Src:fake-video-src: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop ():
/GstPipeline:pipeline0/GstAutoVideoSrc
:autovideosrc0/GstFakeSrc:fake-video-src:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Also there are problems with camerabin and wrappercamerabinsrc:

C:\Users\Админ>gst-launch-1.0 wrappercamerabinsrc mode=2 ! videoconvert !
queue
! autovideosink -v
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstTee:camera
src-tee: alloc-pad = "\(GstTeePad\)\ src_0"
/GstPipeline:pipeline0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstOutputSele
ctor:outsel: active-pad = "\(GstPad\)\ src_0"
Pipeline is PREROLLING ...
WARNING: from element
/GstPipeline:pipeline0/GstWrapperCameraBinSrc:wrappercamer
abinsrc0/GstVideoConvert:src-videoconvert: not negotiated
Additional debug info:
gstbasetransform.c(2115): gst_base_transform_handle_buffer ():
/GstPipeline:pipe
line0/GstWrapperCameraBinSrc:wrappercamerabinsrc0/GstVideoConvert:src-videoconve
rt:
not negotiated
ERROR: from element
/GstPipeline:pipeline0/GstWrapperCameraBinSrc:wrappercamerab
insrc0/GstAutoVideoSrc:camerasrc-real-src/GstFakeSrc:fake-video-src:
Internal da
ta flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop ():
/GstPipeline:pipeline0/GstWrapperCamer
aBinSrc:wrappercamerabinsrc0/GstAutoVideoSrc:camerasrc-real-src/GstFakeSrc:fake-
video-src:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

C:\Users\Админ>gst-launch-1.0 camerabin ! videoconvert ! queue !
autovideosink -
v
WARNING: erroneous pipeline: could not link camerabin0 to videoconvert0



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Webcamera-capture-on-Windows-tp4667038p4667057.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list