[gstreamer-bugs] [Bug 343031] v4l2src caps negotion is faulty

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 26 14:00:34 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=343031
 GStreamer | gst-plugins-bad | Ver: HEAD CVS


Edgard Lima changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edgard.lima at indt.org.br




------- Comment #1 from Edgard Lima  2006-05-26 21:00 UTC -------
Im not sure this is really a BUG:

The following two pipelines works fine for me:

gst-launch-0.10 v4l2src ! videoscale ! video/x-raw-rgb,width=320,height=240 !
ffmpegcolorspace !  ximagesink

and 

gst-launch-0.10 v4l2src ! video/x-raw-rgb,width=320,height=240 !
ffmpegcolorspace ! ximagesink

While the following one:

gst-launch-0.10 --gst-debug=*:5 v4l2src ! video/x-raw-rgb ! ximagesink

shows: ERROR: from element /pipeline0/v4l2src0: Could not negotiate format

I suppose it is because caps are not compatible, see:

caps of src: video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 48, 640 ],
height=(int)[ 32, 480 ], framerate=(fraction)30000/1001; video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; video/x-raw-rgb, bpp=(int)32, depth=(int)32,
red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280,
endianness=(int)4321, width=(int)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; video/x-raw-rgb, bpp=(int)32, depth=(int)32,
red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
endianness=(int)4321, width=(int)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; 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)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; 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)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; video/x-raw-rgb, bpp=(int)16, depth=(int)16,
red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31,
endianness=(int)1234, width=(int)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; 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)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001; video/x-raw-rgb, bpp=(int)16, depth=(int)15,
red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31,
endianness=(int)1234, width=(int)[ 48, 640 ], height=(int)[ 32, 480 ],
framerate=(fraction)30000/1001

caps of peer: video/x-raw-rgb, bpp=(int)32, depth=(int)24,
endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680,
blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1,
2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ],
pixel-aspect-ratio=(fraction)1/1

so, there is no intersection:
gstbasesrc.c(1586):gst_base_src_default_negotiate:<v4l2src0> intersect: EMPTY


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list