Replies: 2 comments 4 replies
-
It just means the a web stream substream is not available. If you needed a substream, then it would be a critical issue....if you don't need a substream, it isn't something to worry about. |
Beta Was this translation helpful? Give feedback.
-
Hallo, Im trying to set up motion with FHD cameras (1920x1080 main and 640x360 lo-res rtsp stream). I found that substreams (like :/substream) are just the same as main streams eg 1920x1080 (but should be half in every dimension). In logs I found the same message mentioned here: "Substream not available. Image sizes not modulo 16". I managed to get substream working by a "hacky" way by setting the resolution to 1920x1072 instead of 1080 to match "modulo 16" using
but the CPU cost of the rescaling to 1072 is quite high - as mentioned in doc Is there any other way how to get substreams working? Unfortunately 1080 is not modulo 16, 360 is also not modulo 16, so it is not possible to save bw using substreams with FHD cams? |
Beta Was this translation helpful? Give feedback.
-
Yes checked docs.
Version 4.4.0
Installed from package as standalone
Video source netcam rtsp
Running on Pi3B+
Void OS (32bit arm)
I believe modulo 8 has been implemented for quite some time, so I'm somewhat surprised to get "Substream not available. Image sizes not modulo 16" errors in the log files from line 1158 in motion.c
I have a netcam_url for the low rez motion detection of 640x360, and a netcam_high_url at 1920x1080 set to pass through mode.
I'm setting the width / height as 640x360 to avoid rescaling. Without that setting the preview images in motion's html frontend are the wrong ratio. Presumably rescaled to the default width/height.
As far as I can tell it all still works fine. I'm just puzzled why the error appears (and if it's causing issues I don't know about).
Beta Was this translation helpful? Give feedback.
All reactions