Replies: 23 comments 4 replies
-
First, you can easily build your own deb via the instructions if there is any doubt. Next, the pi versions were applicable when the raspbian developers implemented their own software packages. As a result, the Motion deb that was created on a PI was slightly different than what would be created using a generic armhf distro. The raspbian developers have since stopped implementing the unique software (specifically it was MMAL), and therefore there is not any difference mandating a different "pi" version. As a result, there are only armhf debs going forward. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for the feedback. Does this mean MMAL is not present? I could put my Raspberry working again (It went broke after I upgraded the OS for some reason), and I am going to test this latest |
Beta Was this translation helpful? Give feedback.
-
MMAL is no longer supported by or included with Raspbian/Raspberry PI OS. |
Beta Was this translation helpful? Give feedback.
-
hm, is there something replacing it that may do my cam work or it won't work at all? |
Beta Was this translation helpful? Give feedback.
-
libcamerify is the method/application they have chosen. Guide |
Beta Was this translation helpful? Give feedback.
-
Alright, thank you @Mr-Dave for your support. I will give it a try to check if I can make my peephole camera work again with updated software. |
Beta Was this translation helpful? Give feedback.
-
As the guide states, I have to run Also, it states motion uses Then it looks like I have to manually update the motion service to have this I am still about to check all of this but this board takes time to install motion from .deb |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Available tools in the fresh os are
|
Beta Was this translation helpful? Give feedback.
-
Oh, it looks like I have to install the
|
Beta Was this translation helpful? Give feedback.
-
I also have these settgins from the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Motion
The
|
Beta Was this translation helpful? Give feedback.
-
Trying to make the camera work run with I am using the default ➜ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye ➜ uname -a
Linux peepcam 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux ➜ motion -h | grep -i version
motion Version 4.5.0, Copyright 2000-2021 Jeroen Vreeken/Folkert van Heusden/Kenneth Lavrsen/Motion-Project maintainers ➜ libcamerify -d motion -d 8
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (DBG)
[0:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (1):
[0:motion] [INF] [ALL] Thread 0 - Config file: /etc/motion/motion.conf
[0:motion] [INF] [ALL] daemon off
[0:motion] [INF] [ALL] setup_mode off
[0:motion] [INF] [ALL] pid_file
[0:motion] [INF] [ALL] log_file
[0:motion] [INF] [ALL] log_level 8
[0:motion] [INF] [ALL] log_type ALL
[0:motion] [INF] [ALL] quiet on
[0:motion] [INF] [ALL] native_language on
[0:motion] [INF] [ALL] watchdog_tmo 30
[0:motion] [INF] [ALL] watchdog_kill 10
[0:motion] [INF] [ALL] camera_name
[0:motion] [INF] [ALL] camera_id 0
[0:motion] [INF] [ALL] target_dir
[0:motion] [INF] [ALL] video_device /dev/video0
[0:motion] [INF] [ALL] video_params
[0:motion] [INF] [ALL] auto_brightness 0
[0:motion] [INF] [ALL] tuner_device
[0:motion] [INF] [ALL] roundrobin_frames 1
[0:motion] [INF] [ALL] roundrobin_skip 1
[0:motion] [INF] [ALL] roundrobin_switchfilter off
[0:motion] [INF] [ALL] netcam_url
[0:motion] [INF] [ALL] netcam_params
[0:motion] [INF] [ALL] netcam_high_url
[0:motion] [INF] [ALL] netcam_high_params
[0:motion] [INF] [ALL] netcam_userpass
[0:motion] [INF] [ALL] mmalcam_name
[0:motion] [INF] [ALL] mmalcam_params
[0:motion] [INF] [ALL] width 640
[0:motion] [INF] [ALL] height 480
[0:motion] [INF] [ALL] framerate 15
[0:motion] [INF] [ALL] minimum_frame_time 0
[0:motion] [INF] [ALL] rotate 0
[0:motion] [INF] [ALL] flip_axis none
[0:motion] [INF] [ALL] locate_motion_mode off
[0:motion] [INF] [ALL] locate_motion_style box
[0:motion] [INF] [ALL] text_left CAMERA1
[0:motion] [INF] [ALL] text_right %Y-%m-%d\n%T-%q
[0:motion] [INF] [ALL] text_changes off
[0:motion] [INF] [ALL] text_scale 1
[0:motion] [INF] [ALL] text_event %Y%m%d%H%M%S
[0:motion] [INF] [ALL] emulate_motion off
[0:motion] [INF] [ALL] pause off
[0:motion] [INF] [ALL] threshold 1500
[0:motion] [INF] [ALL] threshold_maximum 0
[0:motion] [INF] [ALL] threshold_tune off
[0:motion] [INF] [ALL] noise_level 32
[0:motion] [INF] [ALL] noise_tune on
[0:motion] [INF] [ALL] despeckle_filter EedDl
[0:motion] [INF] [ALL] area_detect
[0:motion] [INF] [ALL] mask_file
[0:motion] [INF] [ALL] mask_privacy
[0:motion] [INF] [ALL] smart_mask_speed 0
[0:motion] [INF] [ALL] lightswitch_percent 0
[0:motion] [INF] [ALL] lightswitch_frames 5
[0:motion] [INF] [ALL] minimum_motion_frames 1
[0:motion] [INF] [ALL] event_gap 60
[0:motion] [INF] [ALL] pre_capture 3
[0:motion] [INF] [ALL] post_capture 0
[0:motion] [INF] [ALL] on_event_start
[0:motion] [INF] [ALL] on_event_end
[0:motion] [INF] [ALL] on_picture_save
[0:motion] [INF] [ALL] on_area_detected
[0:motion] [INF] [ALL] on_motion_detected
[0:motion] [INF] [ALL] on_movie_start
[0:motion] [INF] [ALL] on_movie_end
[0:motion] [INF] [ALL] on_camera_lost
[0:motion] [INF] [ALL] on_camera_found
[0:motion] [INF] [ALL] picture_output off
[0:motion] [INF] [ALL] picture_output_motion off
[0:motion] [INF] [ALL] picture_type jpeg
[0:motion] [INF] [ALL] picture_quality 75
[0:motion] [INF] [ALL] picture_exif
[0:motion] [INF] [ALL] picture_filename %Y%m%d%H%M%S-%q
[0:motion] [INF] [ALL] snapshot_interval 0
[0:motion] [INF] [ALL] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
[0:motion] [INF] [ALL] movie_output on
[0:motion] [INF] [ALL] movie_output_motion off
[0:motion] [INF] [ALL] movie_max_time 60
[0:motion] [INF] [ALL] movie_bps 400000
[0:motion] [INF] [ALL] movie_quality 45
[0:motion] [INF] [ALL] movie_codec mkv
[0:motion] [INF] [ALL] movie_duplicate_frames off
[0:motion] [INF] [ALL] movie_passthrough off
[0:motion] [INF] [ALL] movie_filename %t-%v-%Y%m%d%H%M%S
[0:motion] [INF] [ALL] movie_extpipe_use off
[0:motion] [INF] [ALL] movie_extpipe
[0:motion] [INF] [ALL] timelapse_interval 0
[0:motion] [INF] [ALL] timelapse_mode daily
[0:motion] [INF] [ALL] timelapse_fps 30
[0:motion] [INF] [ALL] timelapse_codec mpg
[0:motion] [INF] [ALL] timelapse_filename %Y%m%d-timelapse
[0:motion] [INF] [ALL] video_pipe
[0:motion] [INF] [ALL] video_pipe_motion
[0:motion] [INF] [ALL] webcontrol_port 8080
[0:motion] [INF] [ALL] webcontrol_ipv6 off
[0:motion] [INF] [ALL] webcontrol_localhost on
[0:motion] [INF] [ALL] webcontrol_parms 0
[0:motion] [INF] [ALL] webcontrol_interface 0
[0:motion] [INF] [ALL] webcontrol_auth_method 0
[0:motion] [INF] [ALL] webcontrol_authentication
[0:motion] [INF] [ALL] webcontrol_tls off
[0:motion] [INF] [ALL] webcontrol_cert
[0:motion] [INF] [ALL] webcontrol_key
[0:motion] [INF] [ALL] webcontrol_header_params
[0:motion] [INF] [ALL] webcontrol_lock_minutes 5
[0:motion] [INF] [ALL] webcontrol_lock_attempts 5
[0:motion] [INF] [ALL] webcontrol_lock_max_ips 25
[0:motion] [INF] [ALL] stream_port 8081
[0:motion] [INF] [ALL] stream_localhost on
[0:motion] [INF] [ALL] stream_auth_method 0
[0:motion] [INF] [ALL] stream_authentication
[0:motion] [INF] [ALL] stream_tls off
[0:motion] [INF] [ALL] stream_header_params
[0:motion] [INF] [ALL] stream_preview_scale 25
[0:motion] [INF] [ALL] stream_preview_newline off
[0:motion] [INF] [ALL] stream_preview_method 0
[0:motion] [INF] [ALL] stream_quality 50
[0:motion] [INF] [ALL] stream_grey off
[0:motion] [INF] [ALL] stream_motion off
[0:motion] [INF] [ALL] stream_maxrate 1
[0:motion] [INF] [ALL] stream_limit 0
[0:motion] [INF] [ALL] database_type
[0:motion] [INF] [ALL] database_dbname
[0:motion] [INF] [ALL] database_host localhost
[0:motion] [INF] [ALL] database_port 0
[0:motion] [INF] [ALL] database_user
[0:motion] [INF] [ALL] database_password
[0:motion] [INF] [ALL] database_busy_timeout 0
[0:motion] [INF] [ALL] sql_log_picture off
[0:motion] [INF] [ALL] sql_log_snapshot off
[0:motion] [INF] [ALL] sql_log_movie off
[0:motion] [INF] [ALL] sql_log_timelapse off
[0:motion] [INF] [ALL] sql_query_start
[0:motion] [INF] [ALL] sql_query_stop
[0:motion] [INF] [ALL] sql_query
[0:motion] [INF] [ALL] track_type 0
[0:motion] [INF] [ALL] track_auto off
[0:motion] [INF] [ALL] track_port
[0:motion] [INF] [ALL] track_motorx 0
[0:motion] [INF] [ALL] track_motorx_reverse off
[0:motion] [INF] [ALL] track_motory 0
[0:motion] [INF] [ALL] track_motory_reverse off
[0:motion] [INF] [ALL] track_maxx 0
[0:motion] [INF] [ALL] track_minx 0
[0:motion] [INF] [ALL] track_maxy 0
[0:motion] [INF] [ALL] track_miny 0
[0:motion] [INF] [ALL] track_homex 128
[0:motion] [INF] [ALL] track_homey 128
[0:motion] [INF] [ALL] track_iomojo_id 0
[0:motion] [INF] [ALL] track_step_angle_x 10
[0:motion] [INF] [ALL] track_step_angle_y 10
[0:motion] [INF] [ALL] track_move_wait 10
[0:motion] [INF] [ALL] track_speed 255
[0:motion] [INF] [ALL] track_stepsize 40
[0:motion] [INF] [ALL] track_generic_move
[0:motion] [INF] [ALL] camera
[0:motion] [INF] [ALL] camera_dir
[0:motion] [DBG] [ALL] motion_ntc: v4l2 : available
[0:motion] [DBG] [ALL] motion_ntc: bktr : not available
[0:motion] [DBG] [ALL] motion_ntc: webp : available
[0:motion] [DBG] [ALL] motion_ntc: mmal : not available
[0:motion] [DBG] [ALL] motion_ntc: ffmpeg : available
[0:motion] [DBG] [DBL] motion_ntc: mysql : not available
[0:motion] [DBG] [DBL] motion_ntc: MariaDB: available
[0:motion] [DBG] [DBL] motion_ntc: sqlite3: available
[0:motion] [DBG] [DBL] motion_ntc: pgsql : available
[0:motion] [DBG] [DBL] motion_ntc: nls : available
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [DBG] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_start_strm: Unable to start stream for camera 0
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [DBG] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD
[0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 58.91.100 libavformat version 58.45.100
[0:motion] [DBG] [DBL] dbse_global_init: Initializing database
[0:motion] [NTC] [ALL] translate_init: Language: English
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 1460
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >palette< >17<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >input< >-1<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >norm< >0<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >frequency< >0<
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[0:38:54.006000504] [1461] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+82-2783c8d8
[0:38:54.220700492] [1461] DEBUG V4L2Compat v4l2_compat_manager.cpp:79 Started camera manager
[0:38:54.222412500] [1461] DEBUG V4L2Compat v4l2_compat_manager.cpp:146 No camera found for /dev/video0
[1:ml1] [DBG] [VID] v4l2_device_capability: ------------------------
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.driver: "bcm2835 mmal"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.card: "mmal service 16.1"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.bus_info: "platform:bcm2835_v4l2-0"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.capabilities=0x85200005
[1:ml1] [DBG] [VID] v4l2_device_capability: ------------------------
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_OVERLAY
[1:ml1] [NTC] [VID] v4l2_device_capability: - READWRITE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [DBG] [VID] v4l2_input_select: Name = "Camera 0", type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Camera 0"- CAMERA
[1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette YU12 (640x480)
[1:ml1] [DBG] [VID] v4l2_pixfmt_stride: Checking image size 640x480 with stride 640
[1:ml1] [ERR] [VID] v4l2_pixfmt_set: Error setting pixel format.: Device or resource busy
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 640x480 doesn't work.
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Supported palettes:
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (0) YU12 (Planar YUV 4:2:0)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 0 - Planar YUV 4:2:0 (compressed : 0) (0x32315559)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (1) YUYV (YUYV 4:2:2)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 1 - YUYV 4:2:2 (compressed : 0) (0x56595559)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (2) RGB3 (24-bit RGB 8-8-8)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 2 - 24-bit RGB 8-8-8 (compressed : 0) (0x33424752)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (3) JPEG (JFIF JPEG)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 3 - JFIF JPEG (compressed : 1) (0x4745504a)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (4) H264 (H.264)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 4 - H.264 (compressed : 1) (0x34363248)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (5) MJPG (Motion-JPEG)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 5 - Motion-JPEG (compressed : 1) (0x47504a4d)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (6) YVYU (YVYU 4:2:2)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 6 - YVYU 4:2:2 (compressed : 0) (0x55595659)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (7) VYUY (VYUY 4:2:2)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 7 - VYUY 4:2:2 (compressed : 0) (0x59555956)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (8) UYVY (UYVY 4:2:2)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 8 - UYVY 4:2:2 (compressed : 0) (0x59565955)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (9) NV12 (Y/UV 4:2:0)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 9 - Y/UV 4:2:0 (compressed : 0) (0x3231564e)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (10) BGR3 (24-bit BGR 8-8-8)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 10 - 24-bit BGR 8-8-8 (compressed : 0) (0x33524742)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (11) YV12 (Planar YVU 4:2:0)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 11 - Planar YVU 4:2:0 (compressed : 0) (0x32315659)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (12) NV21 (Y/VU 4:2:0)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 12 - Y/VU 4:2:0 (compressed : 0) (0x3132564e)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (13) RX24 (32-bit XBGR 8-8-8-8)
[1:ml1] [DBG] [VID] v4l2_pixfmt_select: 13 - 32-bit XBGR 8-8-8-8 (compressed : 0) (0x34325852)
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette UYVY (640x480)
[1:ml1] [DBG] [VID] v4l2_pixfmt_stride: Checking image size 640x480 with stride 1280
[1:ml1] [ERR] [VID] v4l2_pixfmt_set: Error setting pixel format.: Device or resource busy
[1:ml1] [ERR] [VID] v4l2_pixfmt_select: Palette selection failed for format UYVY
[1:ml1] [ERR] [VID] v4l2_pixfmt_select: Unable to find a compatible palette format.
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
[1:ml1] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:ml1] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera |
Beta Was this translation helpful? Give feedback.
-
Some extra settings I could find ➜ donwloads dmesg | grep bcm2835_v4l2
[ 34.195848] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 34.763281] bcm2835_v4l2-0: scene mode selected 0, was 0
[ 34.785487] bcm2835_v4l2-0: V4L2 device registered as video0 - stills mode > 1280x720
[ 34.847746] bcm2835_v4l2-0: Broadcom 2835 MMAL video capture loaded. ➜ donwloads v4l2-ctl --list-devices
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media2
bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media0
/dev/media1
mmal service 16.1 (platform:bcm2835_v4l2-0):
/dev/video0
➜ libcamera-jpeg -v -o test.jpeg
# [SOME_TEXT_REMOVED_HERE]
No connector ID specified. Choosing default from list:
Connector 32 (crtc 0): type 11, 0x0
Preview window unavailable
Running without preview window
Opening camera...
[0:53:34.367734648] [1562] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+82-2783c8d8
Closing Libcamera application(frames displayed 0, dropped 0)
Camera stopped!
Tearing down requests, buffers and configuration
Camera closed
ERROR: *** no cameras available *** |
Beta Was this translation helpful? Give feedback.
-
➜ ~ vcgencmd version
Mar 17 2023 10:53:39
Copyright (c) 2012 Broadcom
version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start_x) |
Beta Was this translation helpful? Give feedback.
-
Alright, after adding Now it looks like this # Custom settings
camera_auto_detect=0
start_x=1
gpu_mem=128
dtoverlay=ov5647 |
Beta Was this translation helpful? Give feedback.
-
The motion was detected, but the stream did not show my hand passing in front of the camera, it keep showing the ceiling. Here a bit of the log where the camera started to show up. ➜ ~ libcamerify -d motion -d 8
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (DBG)
[0:motion] [INF] [ALL] conf_output_parms: Writing configuration parameters from all files (1):
[0:motion] [INF] [ALL] Thread 0 - Config file: /etc/motion/motion.conf
[0:motion] [INF] [ALL] daemon off
[0:motion] [INF] [ALL] setup_mode off
[0:motion] [INF] [ALL] pid_file
[0:motion] [INF] [ALL] log_file
[0:motion] [INF] [ALL] log_level 8
[0:motion] [INF] [ALL] log_type ALL
[0:motion] [INF] [ALL] quiet on
[0:motion] [INF] [ALL] native_language on
[0:motion] [INF] [ALL] watchdog_tmo 30
[0:motion] [INF] [ALL] watchdog_kill 10
[0:motion] [INF] [ALL] camera_name
[0:motion] [INF] [ALL] camera_id 0
[0:motion] [INF] [ALL] target_dir
[0:motion] [INF] [ALL] video_device /dev/video0
[0:motion] [INF] [ALL] video_params
[0:motion] [INF] [ALL] auto_brightness 0
[0:motion] [INF] [ALL] tuner_device
[0:motion] [INF] [ALL] roundrobin_frames 1
[0:motion] [INF] [ALL] roundrobin_skip 1
[0:motion] [INF] [ALL] roundrobin_switchfilter off
[0:motion] [INF] [ALL] netcam_url
[0:motion] [INF] [ALL] netcam_params
[0:motion] [INF] [ALL] netcam_high_url
[0:motion] [INF] [ALL] netcam_high_params
[0:motion] [INF] [ALL] netcam_userpass
[0:motion] [INF] [ALL] mmalcam_name
[0:motion] [INF] [ALL] mmalcam_params
[0:motion] [INF] [ALL] width 640
[0:motion] [INF] [ALL] height 480
[0:motion] [INF] [ALL] framerate 15
[0:motion] [INF] [ALL] minimum_frame_time 0
[0:motion] [INF] [ALL] rotate 0
[0:motion] [INF] [ALL] flip_axis none
[0:motion] [INF] [ALL] locate_motion_mode off
[0:motion] [INF] [ALL] locate_motion_style box
[0:motion] [INF] [ALL] text_left CAMERA1
[0:motion] [INF] [ALL] text_right %Y-%m-%d\n%T-%q
[0:motion] [INF] [ALL] text_changes off
[0:motion] [INF] [ALL] text_scale 1
[0:motion] [INF] [ALL] text_event %Y%m%d%H%M%S
[0:motion] [INF] [ALL] emulate_motion off
[0:motion] [INF] [ALL] pause off
[0:motion] [INF] [ALL] threshold 1500
[0:motion] [INF] [ALL] threshold_maximum 0
[0:motion] [INF] [ALL] threshold_tune off
[0:motion] [INF] [ALL] noise_level 32
[0:motion] [INF] [ALL] noise_tune on
[0:motion] [INF] [ALL] despeckle_filter EedDl
[0:motion] [INF] [ALL] area_detect
[0:motion] [INF] [ALL] mask_file
[0:motion] [INF] [ALL] mask_privacy
[0:motion] [INF] [ALL] smart_mask_speed 0
[0:motion] [INF] [ALL] lightswitch_percent 0
[0:motion] [INF] [ALL] lightswitch_frames 5
[0:motion] [INF] [ALL] minimum_motion_frames 1
[0:motion] [INF] [ALL] event_gap 60
[0:motion] [INF] [ALL] pre_capture 3
[0:motion] [INF] [ALL] post_capture 0
[0:motion] [INF] [ALL] on_event_start
[0:motion] [INF] [ALL] on_event_end
[0:motion] [INF] [ALL] on_picture_save
[0:motion] [INF] [ALL] on_area_detected
[0:motion] [INF] [ALL] on_motion_detected
[0:motion] [INF] [ALL] on_movie_start
[0:motion] [INF] [ALL] on_movie_end
[0:motion] [INF] [ALL] on_camera_lost
[0:motion] [INF] [ALL] on_camera_found
[0:motion] [INF] [ALL] picture_output off
[0:motion] [INF] [ALL] picture_output_motion off
[0:motion] [INF] [ALL] picture_type jpeg
[0:motion] [INF] [ALL] picture_quality 75
[0:motion] [INF] [ALL] picture_exif
[0:motion] [INF] [ALL] picture_filename %Y%m%d%H%M%S-%q
[0:motion] [INF] [ALL] snapshot_interval 0
[0:motion] [INF] [ALL] snapshot_filename %v-%Y%m%d%H%M%S-snapshot
[0:motion] [INF] [ALL] movie_output on
[0:motion] [INF] [ALL] movie_output_motion off
[0:motion] [INF] [ALL] movie_max_time 60
[0:motion] [INF] [ALL] movie_bps 400000
[0:motion] [INF] [ALL] movie_quality 45
[0:motion] [INF] [ALL] movie_codec mkv
[0:motion] [INF] [ALL] movie_duplicate_frames off
[0:motion] [INF] [ALL] movie_passthrough off
[0:motion] [INF] [ALL] movie_filename %t-%v-%Y%m%d%H%M%S
[0:motion] [INF] [ALL] movie_extpipe_use off
[0:motion] [INF] [ALL] movie_extpipe
[0:motion] [INF] [ALL] timelapse_interval 0
[0:motion] [INF] [ALL] timelapse_mode daily
[0:motion] [INF] [ALL] timelapse_fps 30
[0:motion] [INF] [ALL] timelapse_codec mpg
[0:motion] [INF] [ALL] timelapse_filename %Y%m%d-timelapse
[0:motion] [INF] [ALL] video_pipe
[0:motion] [INF] [ALL] video_pipe_motion
[0:motion] [INF] [ALL] webcontrol_port 8080
[0:motion] [INF] [ALL] webcontrol_ipv6 off
[0:motion] [INF] [ALL] webcontrol_localhost off
[0:motion] [INF] [ALL] webcontrol_parms 0
[0:motion] [INF] [ALL] webcontrol_interface 0
[0:motion] [INF] [ALL] webcontrol_auth_method 0
[0:motion] [INF] [ALL] webcontrol_authentication
[0:motion] [INF] [ALL] webcontrol_tls off
[0:motion] [INF] [ALL] webcontrol_cert
[0:motion] [INF] [ALL] webcontrol_key
[0:motion] [INF] [ALL] webcontrol_header_params
[0:motion] [INF] [ALL] webcontrol_lock_minutes 5
[0:motion] [INF] [ALL] webcontrol_lock_attempts 5
[0:motion] [INF] [ALL] webcontrol_lock_max_ips 25
[0:motion] [INF] [ALL] stream_port 8081
[0:motion] [INF] [ALL] stream_localhost off
[0:motion] [INF] [ALL] stream_auth_method 0
[0:motion] [INF] [ALL] stream_authentication
[0:motion] [INF] [ALL] stream_tls off
[0:motion] [INF] [ALL] stream_header_params
[0:motion] [INF] [ALL] stream_preview_scale 25
[0:motion] [INF] [ALL] stream_preview_newline off
[0:motion] [INF] [ALL] stream_preview_method 0
[0:motion] [INF] [ALL] stream_quality 50
[0:motion] [INF] [ALL] stream_grey off
[0:motion] [INF] [ALL] stream_motion off
[0:motion] [INF] [ALL] stream_maxrate 1
[0:motion] [INF] [ALL] stream_limit 0
[0:motion] [INF] [ALL] database_type
[0:motion] [INF] [ALL] database_dbname
[0:motion] [INF] [ALL] database_host localhost
[0:motion] [INF] [ALL] database_port 0
[0:motion] [INF] [ALL] database_user
[0:motion] [INF] [ALL] database_password
[0:motion] [INF] [ALL] database_busy_timeout 0
[0:motion] [INF] [ALL] sql_log_picture off
[0:motion] [INF] [ALL] sql_log_snapshot off
[0:motion] [INF] [ALL] sql_log_movie off
[0:motion] [INF] [ALL] sql_log_timelapse off
[0:motion] [INF] [ALL] sql_query_start
[0:motion] [INF] [ALL] sql_query_stop
[0:motion] [INF] [ALL] sql_query
[0:motion] [INF] [ALL] track_type 0
[0:motion] [INF] [ALL] track_auto off
[0:motion] [INF] [ALL] track_port
[0:motion] [INF] [ALL] track_motorx 0
[0:motion] [INF] [ALL] track_motorx_reverse off
[0:motion] [INF] [ALL] track_motory 0
[0:motion] [INF] [ALL] track_motory_reverse off
[0:motion] [INF] [ALL] track_maxx 0
[0:motion] [INF] [ALL] track_minx 0
[0:motion] [INF] [ALL] track_maxy 0
[0:motion] [INF] [ALL] track_miny 0
[0:motion] [INF] [ALL] track_homex 128
[0:motion] [INF] [ALL] track_homey 128
[0:motion] [INF] [ALL] track_iomojo_id 0
[0:motion] [INF] [ALL] track_step_angle_x 10
[0:motion] [INF] [ALL] track_step_angle_y 10
[0:motion] [INF] [ALL] track_move_wait 10
[0:motion] [INF] [ALL] track_speed 255
[0:motion] [INF] [ALL] track_stepsize 40
[0:motion] [INF] [ALL] track_generic_move
[0:motion] [INF] [ALL] camera
[0:motion] [INF] [ALL] camera_dir
[0:motion] [DBG] [ALL] motion_ntc: v4l2 : available
[0:motion] [DBG] [ALL] motion_ntc: bktr : not available
[0:motion] [DBG] [ALL] motion_ntc: webp : available
[0:motion] [DBG] [ALL] motion_ntc: mmal : not available
[0:motion] [DBG] [ALL] motion_ntc: ffmpeg : available
[0:motion] [DBG] [DBL] motion_ntc: mysql : not available
[0:motion] [DBG] [DBL] motion_ntc: MariaDB: available
[0:motion] [DBG] [DBL] motion_ntc: sqlite3: available
[0:motion] [DBG] [DBL] motion_ntc: pgsql : available
[0:motion] [DBG] [DBL] motion_ntc: nls : available
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [DBG] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_start_strm: Unable to start stream for camera 0
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [DBG] [STR] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD
[0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 58.91.100 libavformat version 58.45.100
[0:motion] [DBG] [DBL] dbse_global_init: Initializing database
[0:motion] [NTC] [ALL] translate_init: Language: English
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 634
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >palette< >17<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >input< >-1<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >norm< >0<
[1:ml1] [DBG] [ALL] util_parms_add: Parsed: >frequency< >0<
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[0:06:09.342829497] [635] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+82-2783c8d8
[0:06:09.624968410] [636] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[0:06:09.626739385] [635] DEBUG V4L2Compat v4l2_compat_manager.cpp:79 Started camera manager
[0:06:09.627814369] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:50 [] open()
[0:06:09.630632328] [635] DEBUG V4L2Compat v4l2_compat_manager.cpp:163 Opened /dev/video0 -> fd 3
[0:06:09.632165306] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:251 [/dev/video0 (fd:3)] vidioc_querycap()
[1:ml1] [DBG] [VID] v4l2_device_capability: ------------------------
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.driver: "libcamera"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.card: "/base/soc/i2c0mux/i2c@1/ov5647@"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.bus_info: "libcamera:0"
[1:ml1] [DBG] [VID] v4l2_device_capability: cap.capabilities=0x84200001
[1:ml1] [DBG] [VID] v4l2_device_capability: ------------------------
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[0:06:09.642580155] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:432 [/dev/video0 (fd:3)] vidioc_enuminput()
[1:ml1] [DBG] [VID] v4l2_input_select: Name = "/base/soc/i2c0mux/i2c@1/ov5647@", type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "/base/soc/i2c0mux/i2c@1/ov5647@"- CAMERA
[0:06:09.645341115] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:460 [/dev/video0 (fd:3)] vidioc_s_input()
[1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[0:06:09.647931078] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:382 [/dev/video0 (fd:3)] vidioc_try_fmt()
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette YU12 (640x480)
[1:ml1] [DBG] [VID] v4l2_pixfmt_stride: Checking image size 640x480 with stride 640
[0:06:09.654842978] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:351 [/dev/video0 (fd:3)] vidioc_s_fmt()
[0:06:09.658310927] [635] DEBUG V4L2Compat v4l2_camera.cpp:127 Validated configuration is: 640x480-YUV420
[0:06:09.660506896] [635] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-YUV420
[0:06:09.664176843] [636] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
[1:ml1] [NTC] [VID] v4l2_pixfmt_set: Using palette YU12 (640x480)
[1:ml1] [INF] [VID] v4l2_fps_set: Trying to set fps to 15
[1:ml1] [ERR] [VID] v4l2_fps_set: Error setting fps. Return code -1
[1:ml1] [INF] [VID] v4l2_fps_set: Device set fps to 15
[1:ml1] [INF] [VID] v4l2_ctrls_list: No Controls found for device
[0:06:09.677696647] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:478 [/dev/video0 (fd:3)] vidioc_reqbufs()
[0:06:09.679223625] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:485 4 buffers requested
[0:06:09.681275595] [635] DEBUG V4L2Compat v4l2_camera.cpp:127 Validated configuration is: 640x480-YUV420
[0:06:09.684576547] [635] INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-YUV420
[0:06:09.687537504] [636] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
[0:06:09.707000222] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:545 Allocated 4 buffers
[1:ml1] [DBG] [VID] v4l2_mmap_request: mmap information: frames=4
[0:06:09.709937180] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:554 [/dev/video0 (fd:3)] vidioc_querybuf()
[0:06:09.711494157] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:103 [/dev/video0 (fd:3)] mmap()
[1:ml1] [DBG] [VID] v4l2_mmap_query: 0 length=460800 Address (a9f8e000) offset 0
[0:06:09.725337957] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=0)
[0:06:09.726937934] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:554 [/dev/video0 (fd:3)] vidioc_querybuf()
[0:06:09.728915905] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:103 [/dev/video0 (fd:3)] mmap()
[1:ml1] [DBG] [VID] v4l2_mmap_query: 1 length=460800 Address (a9f1d000) offset 460800
[0:06:09.731604866] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=1)
[0:06:09.732547852] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:554 [/dev/video0 (fd:3)] vidioc_querybuf()
[0:06:09.734400825] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:103 [/dev/video0 (fd:3)] mmap()
[1:ml1] [DBG] [VID] v4l2_mmap_query: 2 length=460800 Address (a8d8d000) offset 921600
[0:06:09.736408796] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=2)
[0:06:09.738059772] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:554 [/dev/video0 (fd:3)] vidioc_querybuf()
[0:06:09.738961759] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:103 [/dev/video0 (fd:3)] mmap()
[1:ml1] [DBG] [VID] v4l2_mmap_query: 3 length=460800 Address (a8d1c000) offset 1382400
[0:06:09.741452723] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=3)
[0:06:09.743329696] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:714 [/dev/video0 (fd:3)] vidioc_streamon()
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[0:06:09.872531825] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:637 [/dev/video0 (fd:3)] vidioc_dqbuf()
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items
[0:06:10.291367799] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=0)
[0:06:10.298184702] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:637 [/dev/video0 (fd:3)] vidioc_dqbuf()
[0:06:10.367810714] [635] DEBUG V4L2Compat v4l2_camera_proxy.cpp:605 [/dev/video0 (fd:3)] vidioc_qbuf(index=1)
|
Beta Was this translation helpful? Give feedback.
-
Actually, did not see this before, the streaming shows it was "UNABLE TO OPEN THE VIDE DEVICE", but the video is being recorded. |
Beta Was this translation helpful? Give feedback.
-
Motion Now I can check motion |
Beta Was this translation helpful? Give feedback.
-
Running
|
Beta Was this translation helpful? Give feedback.
-
Alright, I could build the released 5.4.1 myself. ➜ time make
make 234.20s user 12.76s system 67% cpu 6:06.96 total Preliminary tests show it seems to be working just fine. |
Beta Was this translation helpful? Give feedback.
-
I have a Raspberry Pi Zero 2 running
pi_buster_motion_4.4.0-1_armhf.deb
Now, I want to test the new version with the Pi, but 4.5.1 does not have
pi_
prefix in its name.The latest 2 versions are:
4.5.1
bullseye_motion_4.5.1-1_armhf
https://github.com/Motion-Project/motion/releases/download/release-4.5.1/bullseye_motion_4.5.1-1_armhf.deb
4.5.0,
pi_bullseye_motion_4.5.0-1_armhf
https://github.com/Motion-Project/motion/releases/download/release-4.5.0/pi_bullseye_motion_4.5.0-1_armhf.deb
So, my question is, can I use the 4.5.1
bullseye_motion_4.5.1-1_armhf
with my Raspberry Pi Zero W, or I have to go with4.5.0
? Why4.5.1
it does not have thepi_
prefix?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions