Motion - Config Option V 4 L 2 Palette

v4l2_palette

  • Type: Integer
  • Range / Valid values: 0 - 17
  • Default: 17
  • Group: Video Devices

The v4l2_palette allows the user to choose preferable palette to be use by Motion. Note that this is only the preferred option. If the video device does not support the requested format, Motion will loop through the available palettes to try to find one that is supported by both Motion and the device. Motion will report the supported palettes of the device when Motion starts when the log_level is specified as NTC or higher. The default of 17 is highly preferred since this the native format that Motion uses internally. , The v4l2_palette allows the user to choose preferable palette to be use by Motion. Note that this is only the preferred option. If the video device does not support the requested format, Motion will loop through the available palettes to try to find one that is supported by both Motion and the device. Motion will report the supported palettes of the device when Motion starts when the log_level is specified as NTC or higher. The default of 17 is highly preferred since this the native format that Motion uses internally.

Supported values are

Value Name Short
0 V4L2_PIX_FMT_SN9C10X S910
1 V4L2_PIX_FMT_SBGGR16 BYR2
2 V4L2_PIX_FMT_SBGGR8 BA81
3 V4L2_PIX_FMT_SPCA561 S561
4 V4L2_PIX_FMT_SGBRG8 GBRG
5 V4L2_PIX_FMT_SGRBG8 GRBG
6 V4L2_PIX_FMT_PAC207 P207
7 V4L2_PIX_FMT_PJPG PJPG
8 V4L2_PIX_FMT_MJPEG MJPEG
9 V4L2_PIX_FMT_JPEG JPEG
10 V4L2_PIX_FMT_RGB24 RGB3
11 V4L2_PIX_FMT_SPCA501 S501
12 V4L2_PIX_FMT_SPCA505 S505
13 V4L2_PIX_FMT_SPCA508 S508
14 V4L2_PIX_FMT_UYVY UYVY
15 V4L2_PIX_FMT_YUYV YUYV
16 V4L2_PIX_FMT_YUV422P 422P
17 V4L2_PIX_FMT_YUV420 YU12
Topic revision: r7 - 07 Aug 2016, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.