I also have the possibility to have the gray pixels of 12 bits padded with 4 bits so that they are aligned and stored in 16 bits values.
Unfortunately, I cannot find a video format that supports either of these encodings.
For the 12 bits pixels in 16 bits values, I can't use GRAY16 because it expects values in the range [0 - 0xFFFF] but the source images will be in the range [0 - 0xFFF] (a white image would actually be dark on a video viewer)
I wanted to configure my v4l2 driver with V4L2_PIX_FMT_Y12 but the v4l2src plug-in doesn't support it .
My questions are:
* Are there plans to support such a format in plugins-good ?
* What solution would you recommend to work with this format ?