Motion - Bug Report 2012x 03x 14x 221021
You are here: Foswiki>Motion Web>BugReports>BugReport2012x03x14x221021 (02 Jun 2012, AngelCarpintero)Edit Attach

BUG: Segfault on 16:9 resolution

When using a camera with a 16:9 resolution, motion complains "config image height (1080) is not modulo 16", refuses to capture images and segfaults if the web interface is accessed.

Setting the resolution to 1920x1200 rather than correctly to 1920x1080 allows images to be captured (at the correct 1920x1080 resolution), however the web interface displays a blank or corrupted image.

[0] Processing thread 0 - config file /etc/motion.conf
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3439360 LIBAVFORMAT_BUILD 3436288
[0] Motion running in setup mode.
[0] Thread 1 is from /etc/motion.conf
[0] Thread 1 is device: /dev/video0 input 8
[0] Webcam port 8081
[0] Waiting for threads to finish, pid: 28930
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] config image height (1080) is not modulo 16
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
Segmentation fault

Environment

Motion version: 3.2.12
ffmpeg version: 0.7.8
Shared libraries: ffmpeg
Server OS: Gentoo
-- MichaelKirkland - 14 Mar 2012

Follow up

Did you test GIT / SVN version ?

if i'm not mistaken is fixed there.

-- AngelCarpintero - 02 Jun 2012

Fix record

Topic revision: r2 - 02 Jun 2012, AngelCarpintero
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.