Did you read the guide?
Yes
What is the base version number of Motion being used?
Motion 5.0.0-git-20260414-10bb267
What was the install method?
Built from source code
What is base architecture?
ARM-64bit
What is the distro being used?
Raspbian
Disto version number
13/trixie (Raspberry Pi OS Lite)
Camera/Sound type(s) being used?
PI camera via libcam
Describe the issue/problem and steps to reproduce
Hardware is Pi Zero 2W with the Pi Camera v2. I rebuilt motion from source using the current repo today, but the issue still exists.
Since recent software updates, videos have changed to show only about 1/4 of the full camera field. I can capture an image via rpicam-jpeg and I get the full image, which is 3280x2464. I specify 1600x1200 width and height in my camera config file. Previously I would see the full camera field scaled to that size. Now it is as though it is cropped to 1600x1200, I only see the top-left 1/4 of the image.
Relevant Motion log output (at log_level 8)
May 19 15:12:33 [NTC][ALL][mo00] mytranslate_init: Language: English
May 19 15:12:33 [NTC][ALL][mo00] daemon: Motion going to daemon mode
May 19 15:12:33 [NTC][ALL][mo00] init: Motion running as daemon process
May 19 15:12:33 [INF][ALL][mo00] parms_log: Logging configuration parameters from all files
May 19 15:12:33 [INF][ALL][mo00] Config file: /home/jack/.motion/motion.conf
May 19 15:12:33 [INF][ALL][mo00] daemon on
May 19 15:12:33 [INF][ALL][mo00] pid_file /home/jack/motion.pid
May 19 15:12:33 [INF][ALL][mo00] log_file /home/jack/motion.log
May 19 15:12:33 [INF][ALL][mo00] log_level 8
May 19 15:12:33 [INF][ALL][mo00] log_fflevel 3
May 19 15:12:33 [INF][ALL][mo00] log_type ALL
May 19 15:12:33 [INF][ALL][mo00] native_language on
May 19 15:12:33 [INF][ALL][mo00] device_name
May 19 15:12:33 [INF][ALL][mo00] device_id 0
May 19 15:12:33 [INF][ALL][mo00] device_tmo 30
May 19 15:12:33 [INF][ALL][mo00] pause schedule
May 19 15:12:33 [INF][ALL][mo00] schedule_params
May 19 15:12:33 [INF][ALL][mo00] cleandir_params
May 19 15:12:33 [INF][ALL][mo00] target_dir /home/jack/motion-output
May 19 15:12:33 [INF][ALL][mo00] watchdog_tmo 90
May 19 15:12:33 [INF][ALL][mo00] watchdog_kill 0
May 19 15:12:33 [INF][ALL][mo00] v4l2_device
May 19 15:12:33 [INF][ALL][mo00] v4l2_params
May 19 15:12:33 [INF][ALL][mo00] netcam_url <redacted>
May 19 15:12:33 [INF][ALL][mo00] netcam_params
May 19 15:12:33 [INF][ALL][mo00] netcam_high_url <redacted>
May 19 15:12:33 [INF][ALL][mo00] netcam_high_params
May 19 15:12:33 [INF][ALL][mo00] netcam_userpass <redacted>
May 19 15:12:33 [INF][ALL][mo00] libcam_device camera0
May 19 15:12:33 [INF][ALL][mo00] libcam_params
May 19 15:12:33 [INF][ALL][mo00] width 640
May 19 15:12:33 [INF][ALL][mo00] height 480
May 19 15:12:33 [INF][ALL][mo00] framerate 15
May 19 15:12:33 [INF][ALL][mo00] rotate 0
May 19 15:12:33 [INF][ALL][mo00] flip_axis none
May 19 15:12:33 [INF][ALL][mo00] locate_motion_mode off
May 19 15:12:33 [INF][ALL][mo00] locate_motion_style box
May 19 15:12:33 [INF][ALL][mo00] text_left %{host}
May 19 15:12:33 [INF][ALL][mo00] text_right %Y-%m-%d\n%T-%q
May 19 15:12:33 [INF][ALL][mo00] text_changes on
May 19 15:12:33 [INF][ALL][mo00] text_scale 3
May 19 15:12:33 [INF][ALL][mo00] text_event %Y%m%d%H%M%S
May 19 15:12:33 [INF][ALL][mo00] emulate_motion off
May 19 15:12:33 [INF][ALL][mo00] threshold 1500
May 19 15:12:33 [INF][ALL][mo00] threshold_maximum 0
May 19 15:12:33 [INF][ALL][mo00] threshold_tune off
May 19 15:12:33 [INF][ALL][mo00] secondary_method none
May 19 15:12:33 [INF][ALL][mo00] secondary_params
May 19 15:12:33 [INF][ALL][mo00] noise_level 32
May 19 15:12:33 [INF][ALL][mo00] noise_tune on
May 19 15:12:33 [INF][ALL][mo00] despeckle_filter EedDl
May 19 15:12:33 [INF][ALL][mo00] area_detect
May 19 15:12:33 [INF][ALL][mo00] mask_file
May 19 15:12:33 [INF][ALL][mo00] mask_privacy
May 19 15:12:33 [INF][ALL][mo00] smart_mask_speed 0
May 19 15:12:33 [INF][ALL][mo00] lightswitch_percent 5
May 19 15:12:33 [INF][ALL][mo00] lightswitch_frames 4
May 19 15:12:33 [INF][ALL][mo00] minimum_motion_frames 1
May 19 15:12:33 [INF][ALL][mo00] static_object_time 10
May 19 15:12:33 [INF][ALL][mo00] event_gap 3
May 19 15:12:33 [INF][ALL][mo00] pre_capture 0
May 19 15:12:33 [INF][ALL][mo00] post_capture 12
May 19 15:12:33 [INF][ALL][mo00] on_event_start
May 19 15:12:33 [INF][ALL][mo00] on_event_end
May 19 15:12:33 [INF][ALL][mo00] on_picture_save
May 19 15:12:33 [INF][ALL][mo00] on_area_detected
May 19 15:12:33 [INF][ALL][mo00] on_motion_detected
May 19 15:12:33 [INF][ALL][mo00] on_movie_start
May 19 15:12:33 [INF][ALL][mo00] on_movie_end /home/jack/proj/motion/sync.sh %f
May 19 15:12:33 [INF][ALL][mo00] on_camera_lost
May 19 15:12:33 [INF][ALL][mo00] on_camera_found
May 19 15:12:33 [INF][ALL][mo00] on_secondary_detect
May 19 15:12:33 [INF][ALL][mo00] on_action_user
May 19 15:12:33 [INF][ALL][mo00] on_sound_alert
May 19 15:12:33 [INF][ALL][mo00] picture_output off
May 19 15:12:33 [INF][ALL][mo00] picture_output_motion off
May 19 15:12:33 [INF][ALL][mo00] picture_type jpg
May 19 15:12:33 [INF][ALL][mo00] picture_quality 75
May 19 15:12:33 [INF][ALL][mo00] picture_exif
May 19 15:12:33 [INF][ALL][mo00] picture_filename %Y%m%d%H%M%S-%q
May 19 15:12:33 [INF][ALL][mo00] snapshot_interval 0
May 19 15:12:33 [INF][ALL][mo00] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
May 19 15:12:33 [INF][ALL][mo00] movie_output on
May 19 15:12:33 [INF][ALL][mo00] movie_output_motion off
May 19 15:12:33 [INF][ALL][mo00] movie_max_time 60
May 19 15:12:33 [INF][ALL][mo00] movie_bps 400000
May 19 15:12:33 [INF][ALL][mo00] movie_quality 45
May 19 15:12:33 [INF][ALL][mo00] movie_container mkv
May 19 15:12:33 [INF][ALL][mo00] movie_passthrough off
May 19 15:12:33 [INF][ALL][mo00] movie_filename %t-%Y%m%d-%H%M%S-%3v
May 19 15:12:33 [INF][ALL][mo00] movie_retain all
May 19 15:12:33 [INF][ALL][mo00] movie_all_frames on
May 19 15:12:33 [INF][ALL][mo00] movie_extpipe_use off
May 19 15:12:33 [INF][ALL][mo00] movie_extpipe
May 19 15:12:33 [INF][ALL][mo00] timelapse_interval 0
May 19 15:12:33 [INF][ALL][mo00] timelapse_mode daily
May 19 15:12:33 [INF][ALL][mo00] timelapse_fps 30
May 19 15:12:33 [INF][ALL][mo00] timelapse_container mpg
May 19 15:12:33 [INF][ALL][mo00] timelapse_filename %Y%m%d-timelapse
May 19 15:12:33 [INF][ALL][mo00] video_pipe
May 19 15:12:33 [INF][ALL][mo00] video_pipe_motion
May 19 15:12:33 [INF][ALL][mo00] webcontrol_port 8080
May 19 15:12:33 [INF][ALL][mo00] webcontrol_base_path
May 19 15:12:33 [INF][ALL][mo00] webcontrol_ipv6 off
May 19 15:12:33 [INF][ALL][mo00] webcontrol_localhost off
May 19 15:12:33 [INF][ALL][mo00] webcontrol_access 2
May 19 15:12:33 [INF][ALL][mo00] webcontrol_interface default
May 19 15:12:33 [INF][ALL][mo00] webcontrol_auth_method none
May 19 15:12:33 [INF][ALL][mo00] webcontrol_auth_admin <redacted>
May 19 15:12:33 [INF][ALL][mo00] webcontrol_auth_user <redacted>
May 19 15:12:33 [INF][ALL][mo00] webcontrol_tls off
May 19 15:12:33 [INF][ALL][mo00] webcontrol_cert <redacted>
May 19 15:12:33 [INF][ALL][mo00] webcontrol_key <redacted>
May 19 15:12:33 [INF][ALL][mo00] webcontrol_headers
May 19 15:12:33 [INF][ALL][mo00] webcontrol_html
May 19 15:12:33 [INF][ALL][mo00] webcontrol_actions
May 19 15:12:33 [INF][ALL][mo00] webcontrol_lock_minutes 10
May 19 15:12:33 [INF][ALL][mo00] webcontrol_lock_attempts 3
May 19 15:12:33 [INF][ALL][mo00] webcontrol_lock_script
May 19 15:12:33 [INF][ALL][mo00] stream_preview_scale 25
May 19 15:12:33 [INF][ALL][mo00] stream_preview_newline off
May 19 15:12:33 [INF][ALL][mo00] stream_allcam_params
May 19 15:12:33 [INF][ALL][mo00] stream_preview_method combined
May 19 15:12:33 [INF][ALL][mo00] stream_preview_ptz on
May 19 15:12:33 [INF][ALL][mo00] stream_quality 50
May 19 15:12:33 [INF][ALL][mo00] stream_grey off
May 19 15:12:33 [INF][ALL][mo00] stream_motion off
May 19 15:12:33 [INF][ALL][mo00] stream_maxrate 1
May 19 15:12:33 [INF][ALL][mo00] stream_scan_time 5
May 19 15:12:33 [INF][ALL][mo00] stream_scan_scale 25
May 19 15:12:33 [INF][ALL][mo00] database_type sqlite3
May 19 15:12:33 [INF][ALL][mo00] database_dbname /usr/local/var/lib/motion/motion.db
May 19 15:12:33 [INF][ALL][mo00] database_host
May 19 15:12:33 [INF][ALL][mo00] database_port 0
May 19 15:12:33 [INF][ALL][mo00] database_user <redacted>
May 19 15:12:33 [INF][ALL][mo00] database_password <redacted>
May 19 15:12:33 [INF][ALL][mo00] database_busy_timeout 0
May 19 15:12:33 [INF][ALL][mo00] sql_event_start
May 19 15:12:33 [INF][ALL][mo00] sql_event_end
May 19 15:12:33 [INF][ALL][mo00] sql_movie_start
May 19 15:12:33 [INF][ALL][mo00] sql_movie_end
May 19 15:12:33 [INF][ALL][mo00] sql_pic_save
May 19 15:12:33 [INF][ALL][mo00] ptz_auto_track off
May 19 15:12:33 [INF][ALL][mo00] ptz_wait 0
May 19 15:12:33 [INF][ALL][mo00] ptz_move_track
May 19 15:12:33 [INF][ALL][mo00] ptz_pan_left
May 19 15:12:33 [INF][ALL][mo00] ptz_pan_right
May 19 15:12:33 [INF][ALL][mo00] ptz_tilt_up
May 19 15:12:33 [INF][ALL][mo00] ptz_tilt_down
May 19 15:12:33 [INF][ALL][mo00] ptz_zoom_in
May 19 15:12:33 [INF][ALL][mo00] ptz_zoom_out
May 19 15:12:33 [INF][ALL][mo00] snd_device
May 19 15:12:33 [INF][ALL][mo00] snd_params
May 19 15:12:33 [INF][ALL][mo00] snd_window hamming
May 19 15:12:33 [INF][ALL][mo00] snd_show off
May 19 15:12:33 [INF][ALL][mo00] Camera config file: /home/jack/.motion/camera.conf
May 19 15:12:33 [INF][ALL][mo00] device_name cam1
May 19 15:12:33 [INF][ALL][mo00] device_id 1
May 19 15:12:33 [INF][ALL][mo00] libcam_params AeEnable=true,AwbEnable=true,Brightness=0.3,Contrast=1.8
May 19 15:12:33 [INF][ALL][mo00] width 1600
May 19 15:12:33 [INF][ALL][mo00] height 1200
May 19 15:12:33 [INF][ALL][mo00] framerate 4
May 19 15:12:33 [INF][ALL][mo00] mask_file /home/jack/.motion/mask.pgm
May 19 15:12:33 [INF][ALL][mo00] webcontrol_interface stream
May 19 15:12:33 [NTC][ALL][mo00] pid_write: Created process id file /home/jack/motion.pid. Process ID is 784
May 19 15:12:33 [NTC][ALL][mo00] pid_write: Motion pid: 784
May 19 15:12:33 [DBG][ALL][mo00] ntc: v4l2 : available
May 19 15:12:33 [DBG][ALL][mo00] ntc: webp : available
May 19 15:12:33 [DBG][ALL][mo00] ntc: libcam : available
May 19 15:12:33 [DBG][ALL][mo00] ntc: mysql : not available
May 19 15:12:33 [DBG][ALL][mo00] ntc: MariaDB: available
May 19 15:12:33 [DBG][ALL][mo00] ntc: sqlite3: not available
May 19 15:12:33 [DBG][ALL][mo00] ntc: pgsql : not available
May 19 15:12:33 [DBG][ALL][mo00] ntc: nls : available
May 19 15:12:33 [DBG][ALL][mo00] ntc: alsa : not available
May 19 15:12:33 [DBG][ALL][mo00] ntc: fftw3 : available
May 19 15:12:33 [NTC][ENC][mo00] av_init: libavcodec version 61.19.101
May 19 15:12:33 [NTC][ENC][mo00] av_init: libavformat version 61.7.100
May 19 15:12:33 [DBG][DBS][mo00] dbse_open: Opening database
May 19 15:12:33 [NTC][STR][mo00] startup: Starting webcontrol on port 8080
May 19 15:12:33 [DBG][DBS][dl00:dbsl] dbse_open: Opening database
May 19 15:12:33 [DBG][DBS][dl00:dbsl] Above message repeats 1 times
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>event< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>snapshot< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>pause< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>restart< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>stop< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>config_write< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>camera_add< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>camera_delete< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>config< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>ptz< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>movies< >on<
May 19 15:12:33 [DBG][ALL][mo00] util_parms_add: webcontrol_actions:>action_user< >on<
May 19 15:12:33 [DBG][STR][mo00] mhd_features_basic: Basic authentication: available
May 19 15:12:33 [DBG][STR][mo00] mhd_features_digest: Digest authentication: available
May 19 15:12:33 [DBG][STR][mo00] mhd_features_ipv6: IPV6: available
May 19 15:12:33 [DBG][STR][mo00] mhd_features_tls: SSL/TLS: available
May 19 15:12:33 [NTC][STR][mo00] start_daemon: Started webserver on port 8080
May 19 15:12:33 [INF][ALL][cl01:cam1] init: Initialize Camera
May 19 15:12:33 [NTC][VID][cl01:cam1] cls_libcam: Opening libcam
May 19 15:12:33 [DBG][ALL][cl01:cam1] util_parms_add: libcam_params:>AeEnable< >true<
May 19 15:12:33 [DBG][ALL][cl01:cam1] util_parms_add: libcam_params:>AwbEnable< >true<
May 19 15:12:33 [DBG][ALL][cl01:cam1] util_parms_add: libcam_params:>Brightness< >0.3<
May 19 15:12:33 [DBG][ALL][cl01:cam1] util_parms_add: libcam_params:>Contrast< >1.8<
May 19 15:12:33 [NTC][VID][cl01:cam1] start_params: AeEnable : true
May 19 15:12:33 [NTC][VID][cl01:cam1] start_params: AwbEnable : true
May 19 15:12:33 [NTC][VID][cl01:cam1] start_params: Brightness : 0.3
May 19 15:12:33 [NTC][VID][cl01:cam1] start_params: Contrast : 1.8
May 19 15:12:33 [NTC][VID][cl01:cam1] start_mgr: Starting.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_mgr: cam_mgr started.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_mgr: Available libcam_device '/base/soc/i2c0mux/i2c@1/imx219@10'.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_mgr: camera0 specified as device. Using the first device found. /base/soc/i2c0mux/i2c@1/imx219@10
May 19 15:12:35 [NTC][VID][cl01:cam1] start_mgr: Finished.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_config: Starting.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_config: Pixel format was adjusted to YUYV.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_config: Image size 1600 x 1200
May 19 15:12:35 [DBG][VID][cl01:cam1] Libcamera Orientation Options:
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate0
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate0Mirror
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate180
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate180Mirror
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate90
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate90Mirror
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate270
May 19 15:12:35 [DBG][VID][cl01:cam1] Rotate270Mirror
May 19 15:12:35 [DBG][VID][cl01:cam1] Libcamera Controls:
May 19 15:12:35 [DBG][VID][cl01:cam1] AeMeteringMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] MeteringCentreWeighted = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] MeteringSpot = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] MeteringMatrix = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] MeteringCustom = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] AeConstraintMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] ConstraintNormal = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] ConstraintHighlight = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] ConstraintShadows = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] ConstraintCustom = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] AeExposureMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureNormal = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureShort = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureLong = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureCustom = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureValue(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] ExposureTime(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AnalogueGain(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] Brightness(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] Contrast(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] Lux(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbEnable(bool)
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbAuto = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbIncandescent = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbTungsten = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbFluorescent = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbIndoor = 4
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbDaylight = 5
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbCloudy = 6
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbCustom = 7
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbLocked(bool)
May 19 15:12:35 [DBG][VID][cl01:cam1] ColourGains(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] Red | Blue
May 19 15:12:35 [DBG][VID][cl01:cam1] ColourTemperature(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] Saturation(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] SensorBlackLevels(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] var1|var2|var3|var4
May 19 15:12:35 [DBG][VID][cl01:cam1] Sharpness(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] FocusFoM(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] ColourCorrectionMatrix(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] var1|var2|...|var8|var9
May 19 15:12:35 [DBG][VID][cl01:cam1] ScalerCrop(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] x | y | h | w
May 19 15:12:35 [DBG][VID][cl01:cam1] DigitalGain(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] FrameDuration(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] FrameDurationLimits(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] min | max
May 19 15:12:35 [DBG][VID][cl01:cam1] SensorTemperature(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] SensorTimestamp(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfModeManual = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfModeAuto = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfModeContinuous = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AfRange(0-2)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfRangeNormal = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfRangeMacro = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfRangeFull = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AfSpeed(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfSpeedNormal = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfSpeedFast = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfMetering(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfMeteringAuto = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfMeteringWindows = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfWindows(Pipe delimited)
May 19 15:12:35 [DBG][VID][cl01:cam1] x | y | h | w
May 19 15:12:35 [DBG][VID][cl01:cam1] AfTrigger(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfTriggerStart = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfTriggerCancel = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPause(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseImmediate = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseDeferred = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseResume = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] LensPosition(float)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfState(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfStateIdle = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfStateScanning = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfStateFocused = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AfStateFailed = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseState(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseStateRunning = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseStatePausing = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AfPauseStatePaused = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] Libcamera Controls Draft:
May 19 15:12:35 [DBG][VID][cl01:cam1] AePrecaptureTrigger(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AePrecaptureTriggerIdle = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AePrecaptureTriggerStart = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AePrecaptureTriggerCancel = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionModeOff = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionModeFast = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionModeHighQuality = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionModeMinimal = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] NoiseReductionModeZSL = 4
May 19 15:12:35 [DBG][VID][cl01:cam1] ColorCorrectionAberrationMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] ColorCorrectionAberrationOff = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] ColorCorrectionAberrationFast = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] ColorCorrectionAberrationHighQuality = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbState(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbStateInactive = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbStateSearching = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbConverged = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] AwbLocked = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] SensorRollingShutterSkew(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] LensShadingMapMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] LensShadingMapModeOff = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] LensShadingMapModeOn = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] PipelineDepth(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] MaxLatency(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternMode(int)
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModeOff = 0
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModeSolidColor = 1
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModeColorBars = 2
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModeColorBarsFadeToGray = 3
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModePn9 = 4
May 19 15:12:35 [DBG][VID][cl01:cam1] TestPatternModeCustom1 = 256
May 19 15:12:35 [DBG][VID][cl01:cam1] config_orientation: Configuration orientation valid
May 19 15:12:35 [NTC][VID][cl01:cam1] start_config: Finished.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_req: Starting.
May 19 15:12:35 [DBG][VID][cl01:cam1] start_req: Buffer plane 0 of 1 length 3840000
May 19 15:12:35 [NTC][VID][cl01:cam1] start_req: Finished.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_capture: Starting.
May 19 15:12:35 [NTC][VID][cl01:cam1] start_capture: Finished.
May 19 15:12:36 [NTC][VID][cl01:cam1] libcam_start: Camera started
May 19 15:12:36 [NTC][ALL][cl01:cam1] ring_resize: Resizing buffer to 1 items
May 19 15:12:36 [INF][ALL][cl01:cam1] init_mask: Maskfile "/home/jack/.motion/mask.pgm" loaded.
May 19 15:12:36 [NTC][ALL][cl01:cam1] init: Camera 1 started: motion detection enabled
May 19 15:12:37 [INF][ALL][cl01:cam1] lightswitch: Lightswitch detected
May 19 15:12:37 [INF][ALL][cl01:cam1] Above message repeats 6 times
May 19 15:13:12 [NTC][ALL][cl01:cam1] detected_trigger: Motion detected - starting event 1
May 19 15:13:12 [INF][ENC][cl01:cam1] set_quality: libx264 codec vbr/crf/bit_rate: 28
May 19 15:13:12 [DBG][EVT][cl01:cam1] on_movie_start: Creating movie: /home/jack/motion-output/1-20260519-151312-001.mkv
May 19 15:13:12 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:12 [DBG][DBS][cl01:cam1] Above message repeats 1 times
May 19 15:13:21 [DBG][EVT][cl01:cam1] on_movie_end: Finished movie: /home/jack/motion-output/1-20260519-151312-001.mkv
May 19 15:13:21 [DBG][EVT][cl01:cam1] util_exec_base: Executing external command >/home/jack/proj/motion/sync.sh /home/jack/motion-output/1-20260519-151312-001.mkv<
May 19 15:13:21 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:21 [DBG][DBS][cl01:cam1] Above message repeats 2 times
May 19 15:13:21 [NTC][ALL][cl01:cam1] actions_event: End of event 1
May 19 15:13:22 [NTC][ALL][cl01:cam1] detected_trigger: Motion detected - starting event 2
May 19 15:13:22 [INF][ENC][cl01:cam1] set_quality: libx264 codec vbr/crf/bit_rate: 28
May 19 15:13:22 [DBG][EVT][cl01:cam1] on_movie_start: Creating movie: /home/jack/motion-output/1-20260519-151322-002.mkv
May 19 15:13:22 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:22 [DBG][DBS][cl01:cam1] Above message repeats 1 times
May 19 15:13:24 [DBG][EVT][cl01:cam1] on_movie_end: Finished movie: /home/jack/motion-output/1-20260519-151322-002.mkv
May 19 15:13:24 [DBG][EVT][cl01:cam1] util_exec_base: Executing external command >/home/jack/proj/motion/sync.sh /home/jack/motion-output/1-20260519-151322-002.mkv<
May 19 15:13:24 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:24 [DBG][DBS][cl01:cam1] Above message repeats 2 times
May 19 15:13:24 [NTC][ALL][cl01:cam1] actions_event: End of event 2
May 19 15:13:26 [NTC][ALL][cl01:cam1] detected_trigger: Motion detected - starting event 3
May 19 15:13:26 [INF][ENC][cl01:cam1] set_quality: libx264 codec vbr/crf/bit_rate: 28
May 19 15:13:26 [DBG][EVT][cl01:cam1] on_movie_start: Creating movie: /home/jack/motion-output/1-20260519-151325-003.mkv
May 19 15:13:26 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:26 [DBG][DBS][cl01:cam1] Above message repeats 1 times
May 19 15:13:33 [INF][ALL][cl01:cam1] lightswitch: Lightswitch detected
May 19 15:13:33 [INF][ALL][cl01:cam1] Above message repeats 1 times
May 19 15:13:35 [DBG][EVT][cl01:cam1] on_movie_end: Finished movie: /home/jack/motion-output/1-20260519-151325-003.mkv
May 19 15:13:35 [DBG][EVT][cl01:cam1] util_exec_base: Executing external command >/home/jack/proj/motion/sync.sh /home/jack/motion-output/1-20260519-151325-003.mkv<
May 19 15:13:35 [DBG][DBS][cl01:cam1] dbse_open: Opening database
May 19 15:13:35 [DBG][DBS][cl01:cam1] Above message repeats 2 times
May 19 15:13:35 [NTC][ALL][cl01:cam1] actions_event: End of event 3
I believe the issue was caused by updates that I applied on 15May:
2026-05-15 16:46:03 upgrade initramfs-tools-bin:arm64 0.148.3+rpt2 0.148.4+rpt1
2026-05-15 16:46:06 upgrade initramfs-tools:all 0.148.3+rpt2 0.148.4+rpt1
2026-05-15 16:46:08 upgrade initramfs-tools-core:all 0.148.3+rpt2 0.148.4+rpt1
2026-05-15 16:46:21 upgrade raspi-firmware:all 1:1.20260408-1 1:1.20260513-1
2026-05-15 16:46:24 upgrade dnsmasq-base:arm64 2.91-1 2.91-1+deb13u1
2026-05-15 16:46:25 upgrade exim4-config:all 4.98.2-1 4.98.2-1+deb13u2
2026-05-15 16:46:26 upgrade exim4-base:arm64 4.98.2-1 4.98.2-1+deb13u2
2026-05-15 16:46:29 upgrade exim4-daemon-light:arm64 4.98.2-1 4.98.2-1+deb13u2
2026-05-15 16:46:29 upgrade gsasl-common:all 2.2.2-1.1 2.2.2-1.1+deb13u1
2026-05-15 16:46:30 upgrade libpisp1:arm64 1.4.0-1 1.5.0-1
2026-05-15 16:46:30 upgrade libpisp-common:all 1.4.0-1 1.5.0-1
2026-05-15 16:46:30 upgrade libcamera-dev:arm64 0.7.0+rpt20260205-1 0.7.1+rpt20260429-1
2026-05-15 16:46:31 upgrade libcamera0.7:arm64 0.7.0+rpt20260205-1 0.7.1+rpt20260429-1
2026-05-15 16:46:31 upgrade libcamera-ipa:arm64 0.7.0+rpt20260205-1 0.7.1+rpt20260429-1
2026-05-15 16:46:32 upgrade libcamera-tools:arm64 0.7.0+rpt20260205-1 0.7.1+rpt20260429-1
2026-05-15 16:46:32 upgrade libcamera-v4l2:arm64 0.7.0+rpt20260205-1 0.7.1+rpt20260429-1
2026-05-15 16:46:33 upgrade libgsasl18:arm64 2.2.2-1.1 2.2.2-1.1+deb13u1
2026-05-15 16:46:33 upgrade liblcms2-2:arm64 2.16-2 2.16-2+deb13u2
2026-05-15 16:46:33 upgrade libnghttp2-14:arm64 1.64.0-1.1 1.64.0-1.1+deb13u1
2026-05-15 16:46:33 upgrade libpng16-16t64:arm64 1.6.48-1+deb13u4 1.6.48-1+deb13u5
2026-05-15 16:46:34 upgrade libpq5:arm64 17.9-0+deb13u1 17.10-0+deb13u1
2026-05-15 16:46:34 upgrade librpicam-app1:arm64 1.11.1-1 1.12.0-1
2026-05-15 16:46:57 upgrade linux-headers-rpi-2712:arm64 1:6.12.75-1+rpt1 1:6.18.29-1+rpt1
2026-05-15 16:46:57 upgrade linux-headers-rpi-v8:arm64 1:6.12.75-1+rpt1 1:6.18.29-1+rpt1
2026-05-15 16:46:57 upgrade linux-image-rpi-2712:arm64 1:6.12.75-1+rpt1 1:6.18.29-1+rpt1
2026-05-15 16:46:58 upgrade linux-image-rpi-v8:arm64 1:6.12.75-1+rpt1 1:6.18.29-1+rpt1
2026-05-15 16:46:58 upgrade linux-libc-dev:all 1:6.12.75-1+rpt1 1:6.18.29-1+rpt1
2026-05-15 16:47:03 upgrade python3-jwt:all 2.10.1-2 2.10.1-2+deb13u1
2026-05-15 16:47:05 upgrade rpi-eeprom:all 28.15-1 28.17-1
2026-05-15 16:47:09 upgrade rpicam-apps-core:arm64 1.11.1-1 1.12.0-1
2026-05-15 16:47:09 upgrade rpicam-apps-lite:all 1.11.1-1 1.12.0-1
Did you read the guide?
Yes
What is the base version number of Motion being used?
Motion 5.0.0-git-20260414-10bb267
What was the install method?
Built from source code
What is base architecture?
ARM-64bit
What is the distro being used?
Raspbian
Disto version number
13/trixie (Raspberry Pi OS Lite)
Camera/Sound type(s) being used?
PI camera via libcam
Describe the issue/problem and steps to reproduce
Hardware is Pi Zero 2W with the Pi Camera v2. I rebuilt motion from source using the current repo today, but the issue still exists.
Since recent software updates, videos have changed to show only about 1/4 of the full camera field. I can capture an image via rpicam-jpeg and I get the full image, which is 3280x2464. I specify 1600x1200 width and height in my camera config file. Previously I would see the full camera field scaled to that size. Now it is as though it is cropped to 1600x1200, I only see the top-left 1/4 of the image.
Relevant Motion log output (at log_level 8)
I believe the issue was caused by updates that I applied on 15May: