v4l2_palette

  • Type: Integer
  • Range / Valid values: 0 - 8
  • Default: 8
  • Option Topic

Allow to choose preferable palette to be use by motion to capture from those supported by your videodevice. ( new in 3.2.10 )

i.ex if your videodevice supports V4L2 _PIX_FMT_SBGGR8 and V4L2 _PIX_FMT_MJPEG by default motion will use V4L2 _PIX_FMT_MJPEG so set v4l2_palette 1 to force motion use V4L2 _PIX_FMT_SBGGR8 instead.

Values :
V4L2_PIX_FMT_SN9C10X : 0 'S910'
V4L2_PIX_FMT_SBGGR8 : 1 'BA81'
V4L2_PIX_FMT_MJPEG : 2 'MJPEG'
V4L2_PIX_FMT_JPEG : 3 'JPEG'
V4L2_PIX_FMT_RGB24 : 4 'RGB3'
V4L2_PIX_FMT_UYVY : 5 'UYVY'
V4L2_PIX_FMT_YUYV : 6 'YUYV'
V4L2_PIX_FMT_YUV422P : 7 '422P'
V4L2_PIX_FMT_YUV420 : 8 'YU12'

Comments


ConfigOptionForm edit

Option v4l2_palette
Type Integer
Range 0 - 8
Default 8
Description Allow to choose preferable palette to be use by motion
to capture from those supported by your videodevice. ( new in 3.2.10 )
Group Capture Device
Topic revision: r2 - 20 Apr 2008 - 14:08:58 - AngelCarpintero
 
Motion - Config Option V4 L2 Palette
Copyright © 1999-2012 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.