Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Camera: Input/Output Error - Image size not modulo 16 #173

@axeljerabek

Description

@axeljerabek

Did you read the guide?

Yes

What is the base version number of MotionPlus being used?

0.2.x

What was the install method?

Built from source code

What is base architecture?

x86/x64

What is the distro being used?

Ubuntu

Disto version number

24.04

Camera/Sound type(s) being used?

PI camera via libcam, Network camera with RTSP, Network camera with HTTP, Sound via ALSA

Describe the issue/problem and steps to reproduce

During startup, motionplus has several camera errors, claiming that the image size is not modulo 16, while all cams of different type have a FullHD resolution of 1920x1080, which is true since 1080 divided by 16 results in 67.5 (not a whole number). So not really a bug, but at least annoying at some level.

Would it be possible to include the standard resolutions more seamless into the startup? I think that I have to restart the streams over Nginx-RTMP again before they get accepted my motionplus.

Relevant MotionPlus log output (at log_level 8)

Jul 24 09:15:50 [NTC][NET][02:ml02:Mevo] netcam_open_context: Norm: Unable to open camera(Mevo): Input/output error
Jul 24 09:15:50 [NTC][NET][02:ml02:Mevo] netcam_cleanup: Norm: Shut down complete.
Jul 24 09:15:50 [NTC][NET][02:ml02:Mevo] mlp_check_szimg: Substream not available.  Image sizes not modulo 16.
Jul 24 09:15:59 [NTC][ALL][02:ml02:Mevo] mlp_retry: Retrying until successful connection with camera

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions