Motion - Config Option Input

input

  • Type: Integer
  • Range / Valid values: -1, 0, 1, 2, 3....
  • Default: -1 (disabled)
  • Group: Video Devices

Input channel to use expressed as an integer number starting from 0. Should normally be set to 0 or 1 for video/TV cards, and -1 (disabled) for USB and network cameras., Input channel to use expressed as an integer number starting from 0. Should normally be set to 0 or 1 for video/TV cards, and -1 (disabled) for USB and network cameras.

This parameter is really used only with video capture cards that has more than one input.

However if you set the input number to e.g. 1 for a USB camera motion writes an error message back. If you set it to -1 it does not give you any warning.

If you have a video capture card you can define the channel to tune to using this option. If you are using a USB device or network camera you should set the value to the default -1.

Many TV tuner cards have the input channels: TV Tuner = 0, Standard composite video = 1, S-VHS = 3. Other have TV=0, composite video 1= 1, composite video = 2, S-VHS = 3. It is recommended to set the parameter to -1 for USB cameras as your first try. For video capture cards input 1 is normally the composite video input but it may also be 0. Try both until it works.
Topic revision: r8 - 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.