height and width remove modulo 16 restriction
Question
160x120 is a common format, ie
SN9C201
smaller formats enable higher frame rates, especially on portable lightweight computers such as Raspberry Pi
if there is a workaround please advise asap
config image height (120) is not modulo 16
Motion requires that dimensions of camera image must have both height and width that are a multiple of 16.
see: [[FeatureRequest2011x01x20x023042][<b>FeatureRequest2011x01x20x023042</b>]]
[[BugReport2012x03x14x221021][<b>BugReport2012x03x14x221021</b>]]
v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'S920'
Name : S920
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480
Index : 1
Type : Video Capture
Pixel Format: 'BA81'
Name : BA81
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480
Index : 2
Type : Video Capture
Pixel Format: 'JPEG' (compressed)
Name : JPEG
Size: Discrete 160x120
Size: Discrete 320x240
Size: Discrete 640x480
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
|
--
PeepoCom - 07 Jan 2013
Answer