You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the base version number of Motion being used?
4.3.x
What was the install method?
Installed via package tool
What is base architecture?
ARM-32bit
What is the distro being used?
Raspbian
Disto version number
11 bullseye
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
I want motion to take a snapshot on start of an event, and simultaneously start recording a video. The snapshot is made, but motion doesn´t start recording.
Motion log output at log_level 8
Config file of camera:
# /etc/motion/camera_oprit.conf## This config file was generated by motion 4.6.0############################################################ Configuration options specific to camera Oprit############################################################# User defined name for the camera.
camera_name Camera Oprit
# Numeric identifier for the camera.
camera_id 101
# The full URL of the network camera stream.
netcam_url rtsp://beveiligingscamera-oprit.sydspost.nl:8554/mjpeg/1
#netcam_url http://beveiligingscamera-oprit.sydspost.nl:81/stream# Image width in pixels.
width 480
# Image height in pixels.
height 320
# Text to be overlayed in the lower left corner of images
text_left Camera Oprit
# File name(without extension) for movies relative to target directory
movie_filename CAMOprit_%t-%v-%Y%m%d%H%M%S
############################################################# Script execution configuration parameters############################################################# Command to be executed when an event starts.
on_event_start /usr/bin/curl -s -o /dev/null http://printserver.sydspost.nl:8080/101/action/snapshot
# Command to be executed when an event ends.# on_event_end /etc/motion/scripts/camera-oprit.sh %f# Command to be executed when a movie file is closed.
on_movie_end /etc/motion/scripts/camera-oprit.sh %f
Log snippet:
[3:nc3:Camera Opri] [NTC] [NET] [Jan 05 00:07:40] netcam_rtsp_connect: Normal resolution: Camera (Camera Oprit) connected
[1:ml1:Camera Opri] [NTC] [ALL] [Jan 05 09:25:08] motion_detected: Motion detected - starting event 1
[1:ml1:Camera Opri] [NTC] [EVT] [Jan 05 09:25:08] event_newfile: File of type 2 saved to: /var/lib/motion/01-20250105092508-snapshot.jpg
[1:ml1:Camera Opri] [NTC] [ALL] [Jan 05 09:26:08] mlp_actions: End of event 1
The text was updated successfully, but these errors were encountered:
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.3.x
What was the install method?
Installed via package tool
What is base architecture?
ARM-32bit
What is the distro being used?
Raspbian
Disto version number
11 bullseye
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
I want motion to take a snapshot on start of an event, and simultaneously start recording a video. The snapshot is made, but motion doesn´t start recording.
Motion log output at log_level 8
The text was updated successfully, but these errors were encountered: