Filtercaps for Webcam

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

Filtercaps for Webcam

FastRidingZebra
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
Reply | Threaded
Open this post in threaded view
|

Re: Filtercaps for Webcam

FastRidingZebra
...OK after some testing I think the Caps that I´ve postet are the Caps of ksvideosrc in general and not the Caps of my Webcam.
So I think my Cam is not supported by gstreamer:
This is what I´m working with
http://panasonic.net/avc/camcorder/dv/global/products/nv-gs500/specifications.html

Any Idea why it isnt supported?
thx