hi,
i want to know input format supported by V4L2src plugin.is it support RGB888?.
hi,
i want to know input format supported by V4L2src plugin.is it support RGB888?.
You may try this for the SRC (output) capabilities of gstreamer plugin v4l2src:
gst-inspect-1.0 v4l2src
...
Pad Templates:
SRC template: 'src'
...
video/x-raw
format: { RGB16, BGR, <b>RGB</b>, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 }
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 2147483647/1 ]
...
so v4l2src is able…if your camera and driver are able. Check with (assuming camera V4L node is /dev/video0):
v4l2-ctl -d /dev/video0 --list-formats-ext