Filtercaps for Webcam

FastRidingZebra franzcal at web.de
Wed Nov 16 06:58:33 PST 2011


Hy,

I have a webcam for which I cant figure out the right Filtercaps.
If I try:

/gst-launch ksvideosrc name='Web-Camera' ! video/x-raw-rgb, bpp=32,
depth=24, width=640, height=480, framerate=30/1 ! ffmpegcolorspace !
theoraenc ! queue ! oggmux ! queue ! filesink location=C:\\Temp\\test.avi/

I get the Error:
/Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstKsVideoSrc:'Web-Camera': Could
not negotiate format
Additional debug info:
..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2767):
gst_base_src_start (): /GstPipeline:pipeline0/GstKsVideoSrc:'Web-Camera':
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline .../

The Webcams Capabilities are :


/video/x-raw-rgb, bpp=(int)16, depth=(int)15, red_mask=(int)31744,
green_mask=(int)992, blue_mask=(int)31, endianness=(int)4321, width=(int)[
1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1,
2147483647/1 ]; 
video/x-raw-rgb, bpp=(int)16, depth=(int)16, red_mask=(int)63488,
green_mask=(int)2016, blue_mask=(int)31, endianness=(int)4321, width=(int)[
1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1,
2147483647/1 ]; 
video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255,
green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321,
width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ]; 
video/x-raw-rgb, bpp=(int)32, depth=(int)24, red_mask=(int)255,
green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321,
width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ],
framerate=(fraction)[ 0/1, 2147483647/1 ]; 
video/x-raw-yuv, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647
], framerate=(fraction)[ 0/1, 2147483647/1 ]; image/jpeg, width=(int)[ 1,
2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1,
2147483647/1 ]; 
video/x-dv, systemstream=(boolean)false, format=(fourcc)dvsd, width=(int)[
1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1,
2147483647/1 ]; video/x-dv, systemstream=(boolean)true/

Does someone have an Idea what I´m doing wrong???

THX for Help


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Filtercaps-for-Webcam-tp4076609p4076609.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list