Motion - Support Question 2013x 01x 07x 081502

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

Topic revision: r1 - 07 Jan 2013, PeepoCom
Copyright © 1999-2017 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.