12-bit bayer support in v4l2src ?

Philippe De Muyter phdm at macq.eu
Fri Jun 22 07:46:45 UTC 2018


Hi,

I try to use a 12-bit bayer sensor in a gstreamer pipe-line, but even
the simplest pipeline

	gst-launch-1.0 v4l2src ! fakesink

fails with the following error message :

	Tried to capture in YU12, but device returned format RG12

This is on Ubuntu 16.04, with gstreamer 1.8.3, and inspecting v4l2src
answers :

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      ...
      video/x-bayer
                 format: { bggr, gbrg, grbg, rggb }
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 2147483647/1 ]

Has v4l2src evolved in newer versions to support RG12 ?

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles


More information about the gstreamer-devel mailing list