[gstreamer-bugs] [Bug 571772] Possible issue with v4l2src and libv4l different way of ordering formats

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun May 17 06:08:07 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=571772

  GStreamer | gst-plugins-good | Ver: 0.10.22




------- Comment #9 from Hans de Goede  2009-05-17 13:08 UTC -------
(In reply to comment #8)
> Why do we let libv4l* do any colourspace conversion at all again? Because
> ffmpegcolorspace doesn't handle bayer? Any other reasons?
> 
> 

Because there is nothing else which can handle:
V4L2_PIX_FMT_SN9C10X  v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
V4L2_PIX_FMT_SPCA501  v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */  
V4L2_PIX_FMT_SPCA505  v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */  
V4L2_PIX_FMT_SPCA508  v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */  
V4L2_PIX_FMT_SPCA561  v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer 
V4L2_PIX_FMT_PAC207   v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer 
V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer 
V4L2_PIX_FMT_SQ905C   v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer 
V4L2_PIX_FMT_PJPG     v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */   
V4L2_PIX_FMT_HM12     v4l2_fourcc('H', 'M', '1', '2') /*  8  YUV 4:2:0 16x16
mac
V4L2_PIX_FMT_SN9C20X_I420 v4l2_fourcc('S', '9', '2', '0') /* sn9c20xcompression

And indeed 4 variants of raw bayer too.

And as we add support for more video grabbing devices the list grows and grows,
so handling this in a single video4linux specific library and then making other
stuff use that, makes perfect sense. I agree we need to extend the API, so
that gstreamer can differentiate between real and emulated formats. And in
cases like this specific one can then prefer a real format over an emulated
one.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=571772.




More information about the Gstreamer-bugs mailing list