Motion - Bug Report 2005x 05x 09x 003527

BUG: wrong resize size get green screen

when i changed height 288, width 352 to height 360, width 440 (*1.25)

i get a green screen in webcam server i'm using round robin (4 threads--> channel: 0,1,2,3)

in some cases then server shows sync error input/output error

Card: BT878 video ( * UNKNOWN/GENER (/dev/v4l/video0) Capabilities: 171 (capture tuner overlay clipping scales ) Size: (48x32)-(768x480)

Test case

Environment

Motion version: 3.2.1 snap 15
ffmpeg version:  
Shared libraries: curl, xmlrpc, ffmpeg, mysql, postgresql
Server OS:  

-- RobertoSpadim - 09 May 2005

Follow up

Motion sends the width and height to the device as you specify. It does not control weather these dimentions are valid.

Normally the devices cannot accept any width and height. There is a series of valid sizes.

It is the device driver that fails because you set dimentions that are not valid.

I believe this is reasonable behavour from Motion. I do not see that Motion should need extra code to guess dimentions or handle the situation any better than the device driver does.

-- KennethLavrsen - 09 May 2005

Fix record

Topic revision: r2 - 09 May 2005, 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.