Motion - Support Question 2015x 11x 30x 142402

Mask file

Question

HI i have created a mask file, however, it doesn't seem to work in that motion is detected in the black areas. My mask is attached, could someone have a look at it and see if I have done something wrong?

Thanks in advance

Stuart
Paste in your error messages, config settings, terminal window output etc in this text field.

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  
-- StuartBloom - 30 Nov 2015

Answer

It's all black! I can't tell if the file is correct just by looking at it, but I suggest using the command I've copies from the tutorial page to create your mask file from a jpg. This was the only way I could get a PGM mask file to work:

djpeg -grayscale -pnm [inputfile] > mask.pgm
Topic revision: r2 - 11 Dec 2015, SethD
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.