I have a capture card with 16 inputs. In the config file when I select input 8, I get the video from input 0. The reason is lies in video2.c, row 196 if (in == 8) in = 0;
I just can't configure 8. It gets clobbered, probably for a reason. I changed this line to if (in == 255) in = 0;
And presto! It works for me, but I have no idea what else went wrong (eg. with usb cameras?)
in motion.conf:
videodevice /dev/video0
input 8
hacked fix video2.c, line 196
if (in == 255)
  in = 0;
  Environment 
	
		
			|  Motion version:  | 
			 3.2.12  | 
		
		
			|  ffmpeg version:  | 
			    | 
		
		
			|  Shared libraries:  | 
			 postgresql  | 
		
		
			|  Server OS:  | 
			 ubuntu 10.10, kernel 2.6.32-25-generic  | 
		
	
-- 
LaszloVarga - 21 Jan 2011
  Follow up 
Hi Laszlo,
Ohh , nevermind ! This was done to allow use with webcams so the better fix is to set input -1 for webcams.
Let me fix this in svn .
Cheers,
-- 
AngelCarpintero - 03 Feb 2011
  Fix record 
Cheers,
-- 
AngelCarpintero - 03 Feb 2011