12-bit bayer support in v4l2src ?

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jun 22 12:07:58 UTC 2018


Le ven. 22 juin 2018 03:57, Philippe De Muyter <phdm at macq.eu> a écrit :

> 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 ?
>

Only 8bit Bayer are currently mapped in v4l2src code. Feel free to propose
more. For 10/12 bit Bayer, search bugzilla first, as more effort is
required.


> Philippe
>
> --
> Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140
> Bruxelles
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180622/97f6b579/attachment.html>


More information about the gstreamer-devel mailing list