Skip to content

Can't get %{eventid} #1676

@BLLuis

Description

@BLLuis

Did you read the guide?

Yes

What is the base version number of Motion being used?

4.5.x

What was the install method?

Built from source code

What is base architecture?

x86

What is the distro being used?

Debian

Disto version number

11

Camera type(s) being used?

Network camera with HTTP

Describe the issue/problem and steps to reproduce

Been using motion for years in small devices, now I setup a linux PC with motion to watch my cams, everything works ok but the %{eventid} in queries, got values likes: 10320230601072616, 10420230601072804, 10320230601150847, the field is defined as BIGInt, primary key with auto increment, all fields are populated, except %f in sql_start but its ok because I readed that the name of the file is not know at that moment and %n that is always null, but I need the primary key value to update movie_end time when the event ends, I just download the git source and the problem is the same.

Table definition:

create table events (event_id BIGINT PRIMARY KEY AUTO_INCREMENT, camera_id INTEGER NOT NULL, filename VARCHAR(255), file_type INTEGER, time_stamp DATETIME NOT NULL, frame INTEGER, motion_event INTEGER, movie_end DATETIME, comments varchar(120), temp BIGINT);

Queries:

sql_query_start insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, %v, 'sql_start', 0)
sql_query_stop insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, %v, 'sql_stop', %{eventid})
sql_query insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, 'sql_query', %{eventid})

Table content (full path manually removed from filename, comments and temp defined to trace this problem):


+----------+-----------+------------+-----------+---------------------+-------+--------------+-----------+-----------+-------------------+
| event_id | camera_id | filename   | file_type | time_stamp          | frame | motion_event | movie_end | comments  | temp              |
+----------+-----------+------------+-----------+---------------------+-------+--------------+-----------+-----------+-------------------+
|       14 |       103 |            |      NULL | 2023-06-01 07:26:16 |     6 |            1 | NULL      | sql_start |                 0 |
|       15 |       103 | 072616.mp4 |      NULL | 2023-06-01 07:26:16 |     6 |            1 | NULL      | sql_query | 10320230601072616 |
|       16 |       104 |            |      NULL | 2023-06-01 07:26:16 |     8 |            1 | NULL      | sql_start |                 0 |
|       17 |       104 | 072616.mp4 |      NULL | 2023-06-01 07:26:16 |     8 |            1 | NULL      | sql_query | 10420230601072616 |
|       18 |       103 | 072616.mp4 |      NULL | 2023-06-01 07:27:16 |     0 |            1 | NULL      | sql_stop  | 10320230601072616 |
|       19 |       103 | 072716.mp4 |      NULL | 2023-06-01 07:27:16 |     0 |            1 | NULL      | sql_query | 10320230601072616 |
|       20 |       104 | 072616.mp4 |      NULL | 2023-06-01 07:27:18 |    12 |            1 | NULL      | sql_stop  | 10420230601072616 |
|       21 |       104 | 072718.mp4 |      NULL | 2023-06-01 07:27:18 |    12 |            1 | NULL      | sql_query | 10420230601072616 |
|       22 |       104 | 072718.mp4 |      NULL | 2023-06-01 07:27:56 |     7 |            1 | NULL      | sql_stop  | 10420230601072616 |
|       23 |       103 | 072716.mp4 |      NULL | 2023-06-01 07:27:56 |     8 |            1 | NULL      | sql_stop  | 10320230601072616 |
|       24 |       104 |            |      NULL | 2023-06-01 07:28:04 |    12 |            1 | NULL      | sql_start |                 0 |
********************
|      309 |       104 |            |      NULL | 2023-06-01 09:06:09 |     2 |           35 | NULL      | sql_start |                 0 |
|      310 |       104 | 090608.mp4 |      NULL | 2023-06-01 09:06:08 |     2 |           35 | NULL      | sql_query | 10420230601090609 |
|      311 |       103 | 090457.mp4 |      NULL | 2023-06-01 09:06:10 |     4 |           11 | NULL      | sql_stop  | 10320230601085903 |
|      312 |       103 | 090610.mp4 |      NULL | 2023-06-01 09:06:10 |     4 |           11 | NULL      | sql_query | 10320230601085903 |
|      313 |       104 | 090608.mp4 |      NULL | 2023-06-01 09:07:09 |     0 |           35 | NULL      | sql_stop  | 10420230601090609 |
|      314 |       103 | 090610.mp4 |      NULL | 2023-06-01 09:07:32 |     7 |           11 | NULL      | sql_stop  | 10320230601085903 |
|      315 |       103 | 090732.mp4 |      NULL | 2023-06-01 09:07:32 |     7 |           11 | NULL      | sql_query | 10320230601085903 |
|      316 |       103 | 090732.mp4 |      NULL | 2023-06-01 09:08:39 |     7 |           11 | NULL      | sql_stop  | 10320230601085903 |
|      317 |       103 | 090839.mp4 |      NULL | 2023-06-01 09:08:39 |     7 |           11 | NULL      | sql_query | 10320230601085903 |
|      318 |       104 |            |      NULL | 2023-06-01 09:08:49 |     4 |           36 | NULL      | sql_start |                 0 |
|      319 |       104 | 090849.mp4 |      NULL | 2023-06-01 09:08:49 |     4 |           36 | NULL      | sql_query | 10420230601090849 |
|      320 |       103 | 090839.mp4 |      NULL | 2023-06-01 09:09:39 |     0 |           11 | NULL      | sql_stop  | 10320230601085903 |
|   

Motion log output at log_level 8

[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_startup: Motion 4.5.1 Started
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_startup: Using log type (ALL) log level (DBG)
[0:motion] [INF] [ALL] [Jun 01 07:26:11] conf_output_parms: Writing configuration parameters from all files (4):
[0:motion] [INF] [ALL] [Jun 01 07:26:11] Thread 0 - Config file: /usr/local/etc/motion/motion.conf
[0:motion] [INF] [ALL] [Jun 01 07:26:11] daemon                    off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] setup_mode                off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] pid_file                  
[0:motion] [INF] [ALL] [Jun 01 07:26:11] log_file                  /var/log/motion/motion.log
[0:motion] [INF] [ALL] [Jun 01 07:26:11] log_level                 8
[0:motion] [INF] [ALL] [Jun 01 07:26:11] log_type                  ALL
[0:motion] [INF] [ALL] [Jun 01 07:26:11] quiet                     on
[0:motion] [INF] [ALL] [Jun 01 07:26:11] native_language           on
[0:motion] [INF] [ALL] [Jun 01 07:26:11] watchdog_tmo              30
[0:motion] [INF] [ALL] [Jun 01 07:26:11] watchdog_kill             10
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_name               
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_id                 0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] target_dir                /mnt/media/Motion/
[0:motion] [INF] [ALL] [Jun 01 07:26:11] video_device              /dev/video0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] video_params              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] auto_brightness           0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] tuner_device              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] roundrobin_frames         1
[0:motion] [INF] [ALL] [Jun 01 07:26:11] roundrobin_skip           1
[0:motion] [INF] [ALL] [Jun 01 07:26:11] roundrobin_switchfilter   off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_url                
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_params             
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_high_url           
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_high_params        
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_userpass           
[0:motion] [INF] [ALL] [Jun 01 07:26:11] mmalcam_name              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] mmalcam_params            
[0:motion] [INF] [ALL] [Jun 01 07:26:11] width                     640
[0:motion] [INF] [ALL] [Jun 01 07:26:11] height                    480
[0:motion] [INF] [ALL] [Jun 01 07:26:11] framerate                 15
[0:motion] [INF] [ALL] [Jun 01 07:26:11] minimum_frame_time        0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] rotate                    0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] flip_axis                 none
[0:motion] [INF] [ALL] [Jun 01 07:26:11] locate_motion_mode        off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] locate_motion_style       box
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_left                 
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_right                
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_changes              off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_scale                1
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_event                %Y%m%d%H%M%S
[0:motion] [INF] [ALL] [Jun 01 07:26:11] emulate_motion            off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] pause                     off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] threshold                 1500
[0:motion] [INF] [ALL] [Jun 01 07:26:11] threshold_maximum         0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] threshold_tune            off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] noise_level               32
[0:motion] [INF] [ALL] [Jun 01 07:26:11] noise_tune                on
[0:motion] [INF] [ALL] [Jun 01 07:26:11] despeckle_filter          EedDl
[0:motion] [INF] [ALL] [Jun 01 07:26:11] area_detect               
[0:motion] [INF] [ALL] [Jun 01 07:26:11] mask_file                 
[0:motion] [INF] [ALL] [Jun 01 07:26:11] mask_privacy              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] smart_mask_speed          0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] lightswitch_percent       0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] lightswitch_frames        5
[0:motion] [INF] [ALL] [Jun 01 07:26:11] minimum_motion_frames     1
[0:motion] [INF] [ALL] [Jun 01 07:26:11] event_gap                 60
[0:motion] [INF] [ALL] [Jun 01 07:26:11] pre_capture               3
[0:motion] [INF] [ALL] [Jun 01 07:26:11] post_capture              3
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_event_start            
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_event_end              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_picture_save           
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_area_detected          
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_motion_detected        
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_movie_start            
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_movie_end              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_camera_lost            
[0:motion] [INF] [ALL] [Jun 01 07:26:11] on_camera_found           
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_output            off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_output_motion     off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_type              jpeg
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_quality           75
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_exif              
[0:motion] [INF] [ALL] [Jun 01 07:26:11] picture_filename          %Y%m%d%H%M%S-%q
[0:motion] [INF] [ALL] [Jun 01 07:26:11] snapshot_interval         0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] snapshot_filename         %v-%Y%m%d%H%M%S-snapshot
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_output              on
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_output_motion       off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_max_time            60
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_bps                 400000
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_quality             45
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_codec               mp4
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_duplicate_frames    off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_passthrough         off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_filename            %t-%v-%Y%m%d%H%M%S
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_extpipe_use         off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_extpipe             
[0:motion] [INF] [ALL] [Jun 01 07:26:11] timelapse_interval        0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] timelapse_mode            daily
[0:motion] [INF] [ALL] [Jun 01 07:26:11] timelapse_fps             30
[0:motion] [INF] [ALL] [Jun 01 07:26:11] timelapse_codec           mpg
[0:motion] [INF] [ALL] [Jun 01 07:26:11] timelapse_filename        %Y%m%d-timelapse
[0:motion] [INF] [ALL] [Jun 01 07:26:11] video_pipe                
[0:motion] [INF] [ALL] [Jun 01 07:26:11] video_pipe_motion         
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_port           8000
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_ipv6           off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_localhost      off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_parms          3
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_interface      0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_auth_method    0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_authentication 
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_tls            off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_cert           
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_key            
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_header_params  
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_lock_minutes   5
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_lock_attempts  5
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_lock_max_ips   25
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_port               8001
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_localhost          off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_auth_method        0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_authentication     
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_tls                off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_header_params      
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_preview_scale      33
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_preview_newline    off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_preview_method     0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_quality            90
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_grey               off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_motion             off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_maxrate            2
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_limit              0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_type             mariadb
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_dbname           Motion
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_host             localhost
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_port             3306
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_user             <redacted>
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_password         <redacted>
[0:motion] [INF] [ALL] [Jun 01 07:26:11] database_busy_timeout     0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_log_picture           off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_log_snapshot          off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_log_movie             on
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_log_timelapse         off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_query_start           insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, %v, 'sql_start', 0)
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_query_stop            insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, %v, 'sql_stop', %{eventid})
[0:motion] [INF] [ALL] [Jun 01 07:26:11] sql_query                 insert into events (camera_id, filename, time_stamp, frame, motion_event, comments, temp) values (%t, "%f", "%Y-%m-%d %T", %q, %v, 'sql_query', %{eventid})
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_type                0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_auto                off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_port                
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_motorx              0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_motorx_reverse      off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_motory              0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_motory_reverse      off
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_maxx                0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_minx                0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_maxy                0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_miny                0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_homex               128
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_homey               128
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_iomojo_id           0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_step_angle_x        10
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_step_angle_y        10
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_move_wait           10
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_speed               255
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_stepsize            40
[0:motion] [INF] [ALL] [Jun 01 07:26:11] track_generic_move        
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera                    
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_dir                
[0:motion] [INF] [ALL] [Jun 01 07:26:11] Thread 1 - Config file: /usr/local/etc/motion/camera1.conf
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_name               Techo
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_id                 101
[0:motion] [INF] [ALL] [Jun 01 07:26:11] target_dir                /mnt/media/Motion/techo
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_url                <redacted>
[0:motion] [INF] [ALL] [Jun 01 07:26:11] lightswitch_percent       60
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_filename            %Y%m%d/%H%M%S
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_port           0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_port               0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] Thread 2 - Config file: /usr/local/etc/motion/camera2.conf
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_name               Patio 2
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_id                 104
[0:motion] [INF] [ALL] [Jun 01 07:26:11] target_dir                /mnt/media/Motion/patio2
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_url                <redacted>
[0:motion] [INF] [ALL] [Jun 01 07:26:11] width                     1280
[0:motion] [INF] [ALL] [Jun 01 07:26:11] height                    720
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_left                 %v.%D.%N
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_right                %Y-%m-%d\n%T
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_scale                4
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_filename            %Y%m%d/%H%M%S
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_port           0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_port               0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] Thread 3 - Config file: /usr/local/etc/motion/camera3.conf
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_name               Frente
[0:motion] [INF] [ALL] [Jun 01 07:26:11] camera_id                 103
[0:motion] [INF] [ALL] [Jun 01 07:26:11] target_dir                /mnt/media/Motion/frente
[0:motion] [INF] [ALL] [Jun 01 07:26:11] netcam_url                <redacted>
[0:motion] [INF] [ALL] [Jun 01 07:26:11] width                     1280
[0:motion] [INF] [ALL] [Jun 01 07:26:11] height                    720
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_left                 %v.%D.%N
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_right                %Y-%m-%d\n%T
[0:motion] [INF] [ALL] [Jun 01 07:26:11] text_scale                4
[0:motion] [INF] [ALL] [Jun 01 07:26:11] movie_filename            %Y%m%d/%H%M%S
[0:motion] [INF] [ALL] [Jun 01 07:26:11] webcontrol_port           0
[0:motion] [INF] [ALL] [Jun 01 07:26:11] stream_port               0
[0:motion] [DBG] [ALL] [Jun 01 07:26:11] motion_ntc: v4l2   : available
[0:motion] [DBG] [ALL] [Jun 01 07:26:11] motion_ntc: bktr   : not available
[0:motion] [DBG] [ALL] [Jun 01 07:26:11] motion_ntc: webp   : not available
[0:motion] [DBG] [ALL] [Jun 01 07:26:11] motion_ntc: mmal   : not available
[0:motion] [DBG] [ALL] [Jun 01 07:26:11] motion_ntc: ffmpeg : available
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] motion_ntc: mysql  : available
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] motion_ntc: MariaDB: available
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] motion_ntc: sqlite3: not available
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] motion_ntc: pgsql  : not available
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] motion_ntc: nls    : available
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_start_strm: Starting all camera streams on port 8001
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_strm_ntc: Started camera 101 stream on port/camera_id 8001/101
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_strm_ntc: Started camera 104 stream on port/camera_id 8001/104
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_strm_ntc: Started camera 103 stream on port/camera_id 8001/103
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_start_ctrl: Starting webcontrol on port 8000
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_basic: Basic authentication: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_digest: Digest authentication: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_ipv6: IPV6: available
[0:motion] [DBG] [STR] [Jun 01 07:26:11] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] [Jun 01 07:26:11] webu_start_ctrl: Started webcontrol on port 8000
[0:motion] [NTC] [ENC] [Jun 01 07:26:11] ffmpeg_global_init: ffmpeg libavcodec version 58.91.100 libavformat version 58.45.100
[0:motion] [DBG] [DBL] [Jun 01 07:26:11] dbse_global_init: Initializing database
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] translate_init: Language: English
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 101 is from /usr/local/etc/motion/camera1.conf
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 101 Camera Name: Techo Service: http:
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 104 is from /usr/local/etc/motion/camera2.conf
[1:ml1:Techo] [NTC] [ALL] [Jun 01 07:26:11] motion_init: Camera 101 started: motion detection Enabled
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 104 Camera Name: Patio 2 Service: http:
[1:ml1:Techo] [NTC] [VID] [Jun 01 07:26:11] vid_start: Opening Netcam RTSP
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_parms: Setting up norm stream.
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >decoder< >NULL<
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 103 is from /usr/local/etc/motion/camera3.conf
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] motion_start_thread: Camera ID: 103 Camera Name: Frente Service: http:
[0:motion] [NTC] [ALL] [Jun 01 07:26:11] main: Waiting for threads to finish, pid: 12024
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:26:11] motion_init: Camera 103 started: motion detection Enabled
[3:ml3:Frente] [NTC] [VID] [Jun 01 07:26:11] vid_start: Opening Netcam RTSP
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_parms: Setting up norm stream.
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >decoder< >NULL<
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_path: Setting up http via netcam
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_path: Setting up http via netcam
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_on_network_error< >1<
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_at_eof< >1<
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect< >1<
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:26:11] motion_init: Camera 104 started: motion detection Enabled
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >multiple_requests< >1<
[2:ml2:Patio 2] [NTC] [VID] [Jun 01 07:26:11] vid_start: Opening Netcam RTSP
[1:ml1:Techo] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_streamed< >1<
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_parms: Setting up norm stream.
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_on_network_error = 1
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >decoder< >NULL<
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_at_eof = 1
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect = 1
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: multiple_requests = 1
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_streamed = 1
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_path: Setting up http via netcam
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_on_network_error< >1<
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_at_eof< >1<
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect< >1<
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >multiple_requests< >1<
[2:ml2:Patio 2] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_streamed< >1<
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_on_network_error = 1
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_at_eof = 1
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect = 1
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: multiple_requests = 1
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_streamed = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_on_network_error< >1<
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_at_eof< >1<
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect< >1<
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >multiple_requests< >1<
[3:ml3:Frente] [DBG] [ALL] [Jun 01 07:26:11] util_parms_add: Parsed: >reconnect_streamed< >1<
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_on_network_error = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_at_eof = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: multiple_requests = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_set_options: norm: option: reconnect_streamed = 1
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_open_context: norm: Opened camera(Frente)
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_open_context: norm: Opened camera(Patio 2)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: HW Devices: 
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: vdpau (not implemented)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: vaapi (available)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: qsv (not implemented)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: drm (not implemented)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: opencl (not implemented)
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_init_swdecoder: norm: Initializing decoder
[3:av0:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_open_codec: norm: Decoder opened
[3:ml3:Frente] [DBG] [NET] [Jun 01 07:26:11] netcam_check_buffsize: expanding buffer from [0/0] to [0/1843200] bytes.
[3:ml3:Frente] [INF] [ENC] Above message repeats 1 times
[3:ml3:Frente] [INF] [ENC] [Jun 01 07:26:11] ffmpeg_avcodec_log: deprecated pixel format used, make sure you did set range correctly
[3:ml3:Frente] [DBG] [NET] [Jun 01 07:26:11] netcam_check_buffsize: expanding buffer from [1843200/1843200] to [1843200/3227648] bytes.
[3:ml3:Frente] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_read_image: norm: capture_rate not specified in netcam_params. Using framerate 15
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: 
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: ******************************************************
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: The image sent is being 
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: trancoded to YUV420P.  If possible change netcam 
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: picture format to YUV420P to possibly lower CPU usage.
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: ******************************************************
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: 
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: HW Devices: 
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: vdpau (not implemented)
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: vaapi (available)
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: qsv (not implemented)
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: drm (not implemented)
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_hwdecoders: norm: opencl (not implemented)
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_init_swdecoder: norm: Initializing decoder
[2:av0:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_open_codec: norm: Decoder opened
[2:ml2:Patio 2] [DBG] [NET] [Jun 01 07:26:11] netcam_check_buffsize: expanding buffer from [0/0] to [0/1843200] bytes.
[2:ml2:Patio 2] [INF] [ENC] Above message repeats 1 times
[2:ml2:Patio 2] [INF] [ENC] [Jun 01 07:26:11] ffmpeg_avcodec_log: deprecated pixel format used, make sure you did set range correctly
[2:ml2:Patio 2] [DBG] [NET] [Jun 01 07:26:11] netcam_check_buffsize: expanding buffer from [1843200/1843200] to [1843200/3227648] bytes.
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:26:11] netcam_rtsp_read_image: norm: capture_rate not specified in netcam_params. Using framerate 15
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: 
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: ******************************************************
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: The image sent is being 
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: trancoded to YUV420P.  If possible change netcam 
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: picture format to YUV420P to possibly lower CPU usage.
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: ******************************************************
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:26:11] netcam_rtsp_ntc: 
[3:ml3:Frente] [DBG] [NET] [Jun 01 07:26:12] netcam_check_buffsize: expanding buffer from [1382400/1843200] to [1382400/3227648] bytes.
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:26:12] image_ring_resize: Resizing pre_capture buffer to 1 items
[4:nc4:Frente] [NTC] [NET] [Jun 01 07:26:12] netcam_rtsp_handler: norm: Camera handler thread [4] started
[4:nc4:Frente] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[2:ml2:Patio 2] [DBG] [NET] [Jun 01 07:26:12] netcam_check_buffsize: expanding buffer from [1382400/1843200] to [1382400/3227648] bytes.
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:26:12] image_ring_resize: Resizing pre_capture buffer to 1 items
[5:nc5:Patio 2] [NTC] [NET] [Jun 01 07:26:12] netcam_rtsp_handler: norm: Camera handler thread [5] started
[5:nc5:Patio 2] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[4:nc4:Frente] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_open_context: norm: Opened camera(Frente)
[5:nc5:Patio 2] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_open_context: norm: Opened camera(Patio 2)
[4:av4:Frente] [INF] [NET] [Jun 01 07:26:12] netcam_init_swdecoder: norm: Initializing decoder
[4:av4:Frente] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_open_codec: norm: Decoder opened
[4:nc4:Frente] [INF] [ENC] [Jun 01 07:26:12] ffmpeg_avcodec_log: deprecated pixel format used, make sure you did set range correctly
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_open_context: norm: Opened camera(Techo)
[5:av5:Patio 2] [INF] [NET] [Jun 01 07:26:12] netcam_init_swdecoder: norm: Initializing decoder
[5:av5:Patio 2] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_open_codec: norm: Decoder opened
[5:nc5:Patio 2] [INF] [ENC] [Jun 01 07:26:12] ffmpeg_avcodec_log: deprecated pixel format used, make sure you did set range correctly
[4:nc4:Frente] [NTC] [NET] [Jun 01 07:26:12] netcam_rtsp_connect: norm: Camera (Frente) connected
[4:nc4:Frente] [INF] [NET] [Jun 01 07:26:12] netcam_rtsp_connect: norm: Netcam capture_rate is 15.
[4:nc4:Frente] [NTC] [NET] [Jun 01 07:26:12] netcam_rtsp_connect: norm: Unable to determine the camera source FPS.
[5:nc5:Patio 2] [NTC] [NET] [Jun 01 07:26:13] netcam_rtsp_connect: norm: Camera (Patio 2) connected
[5:nc5:Patio 2] [INF] [NET] [Jun 01 07:26:13] netcam_rtsp_connect: norm: Netcam capture_rate is 15.
[5:nc5:Patio 2] [NTC] [NET] [Jun 01 07:26:13] netcam_rtsp_connect: norm: Unable to determine the camera source FPS.
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: HW Devices: 
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: vdpau (not implemented)
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: vaapi (available)
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: qsv (not implemented)
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: drm (not implemented)
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_hwdecoders: norm: opencl (not implemented)
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_init_swdecoder: norm: Initializing decoder
[1:av0:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_rtsp_open_codec: norm: Decoder opened
[1:ml1:Techo] [DBG] [NET] [Jun 01 07:26:13] netcam_check_buffsize: expanding buffer from [0/0] to [0/462848] bytes.
[1:ml1:Techo] [INF] [NET] Above message repeats 1 times
[1:ml1:Techo] [INF] [NET] [Jun 01 07:26:13] netcam_rtsp_read_image: norm: capture_rate not specified in netcam_params. Using framerate 15
[3:ml3:Frente] [NTC] [DBL] [Jun 01 07:26:14] dbse_init: Database type mariadb
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:26:14] image_ring_resize: Resizing pre_capture buffer to 4 items
[2:ml2:Patio 2] [NTC] [DBL] [Jun 01 07:26:14] dbse_init: Database type mariadb
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:26:14] image_ring_resize: Resizing pre_capture buffer to 4 items
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /
[0:wu0] [INF] [ALL] [Jun 01 07:26:14] webu_answer_ctrl: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /104/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /104/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >104< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [INF] [ALL] [Jun 01 07:26:14] webu_answer_strm: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /103/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /103/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >103< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [INF] [ALL] [Jun 01 07:26:14] webu_answer_strm: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:14] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:14] webu_answer_strm: Stream picture is not ready yet
[1:ml1:Techo] [DBG] [NET] [Jun 01 07:26:15] netcam_check_buffsize: expanding buffer from [460800/462848] to [460800/921600] bytes.
[1:ml1:Techo] [DBG] [NET] [Jun 01 07:26:16] netcam_check_buffsize: expanding buffer from [460800/462848] to [460800/921600] bytes.
[1:ml1:Techo] [NTC] [ALL] [Jun 01 07:26:16] image_ring_resize: Resizing pre_capture buffer to 1 items
[6:nc6:Techo] [NTC] [NET] [Jun 01 07:26:16] netcam_rtsp_handler: norm: Camera handler thread [6] started
[6:nc6:Techo] [INF] [NET] [Jun 01 07:26:16] netcam_rtsp_set_options: norm: Setting input_format mjpeg
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:26:16] motion_detected: Motion detected - starting event 1.
[3:ml3:Frente] [DBG] [DBL] [Jun 01 07:26:16] dbse_exec_mariadb: Executing MariaDB query
[3:ml3:Frente] [INF] [EVT] [Jun 01 07:26:16] event_ffmpeg_newfile: Source FPS 15
[3:ml3:Frente] [INF] [ENC] [Jun 01 07:26:16] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 28
[3:ml3:Frente] [DBG] [DBL] [Jun 01 07:26:16] dbse_exec_mariadb: Executing MariaDB query
[3:ml3:Frente] [NTC] [EVT] [Jun 01 07:26:16] event_newfile: Writing movie to file: /mnt/media/Motion/frente/20230601/072616.mp4
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:26:16] motion_detected: Motion detected - starting event 1.
[2:ml2:Patio 2] [DBG] [DBL] [Jun 01 07:26:16] dbse_exec_mariadb: Executing MariaDB query
[2:ml2:Patio 2] [INF] [EVT] [Jun 01 07:26:16] event_ffmpeg_newfile: Source FPS 14
[2:ml2:Patio 2] [INF] [ENC] [Jun 01 07:26:16] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 28
[2:ml2:Patio 2] [DBG] [DBL] [Jun 01 07:26:16] dbse_exec_mariadb: Executing MariaDB query
[2:ml2:Patio 2] [NTC] [EVT] [Jun 01 07:26:16] event_newfile: Writing movie to file: /mnt/media/Motion/patio2/20230601/072616.mp4
[6:nc6:Techo] [INF] [NET] [Jun 01 07:26:17] netcam_rtsp_open_context: norm: Opened camera(Techo)
[6:av6:Techo] [INF] [NET] [Jun 01 07:26:19] netcam_init_swdecoder: norm: Initializing decoder
[6:av6:Techo] [INF] [NET] [Jun 01 07:26:19] netcam_rtsp_open_codec: norm: Decoder opened
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /
[0:wu0] [INF] [ALL] [Jun 01 07:26:19] webu_answer_ctrl: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /104/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /104/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >104< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [INF] [ALL] [Jun 01 07:26:19] webu_answer_strm: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /103/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /103/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >103< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [INF] [ALL] [Jun 01 07:26:19] webu_answer_strm: Connection from: 192.168.2.169
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Sent url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: Decoded url: /101/stream
[0:cn0] [DBG] [STR] [Jun 01 07:26:19] webu_parseurl: camid: >101< cmd1: >stream< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] [Jun 01 07:26:19] webu_answer_strm: Stream picture is not ready yet
[1:ml1:Techo] [NTC] [DBL] [Jun 01 07:26:20] dbse_init: Database type mariadb
[1:ml1:Techo] [NTC] [ALL] [Jun 01 07:26:20] image_ring_resize: Resizing pre_capture buffer to 4 items
[6:nc6:Techo] [NTC] [NET] [Jun 01 07:26:20] netcam_rtsp_connect: norm: Camera (Techo) connected
[6:nc6:Techo] [INF] [NET] [Jun 01 07:26:20] netcam_rtsp_connect: norm: Netcam capture_rate is 15.
[6:nc6:Techo] [NTC] [NET] [Jun 01 07:26:20] netcam_rtsp_connect: norm: Unable to determine the camera source FPS.
[3:ml3:Frente] [DBG] [DBL] [Jun 01 07:27:16] dbse_exec_mariadb: Executing MariaDB query
[3:ml3:Frente] [DBG] [EVT] [Jun 01 07:27:16] event_closefile: Saved movie to file: /mnt/media/Motion/frente/20230601/072616.mp4
[3:ml3:Frente] [INF] [EVT] [Jun 01 07:27:16] event_ffmpeg_newfile: Source FPS 15
[3:ml3:Frente] [INF] [ENC] [Jun 01 07:27:16] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 28
[3:ml3:Frente] [DBG] [DBL] [Jun 01 07:27:16] dbse_exec_mariadb: Executing MariaDB query
[3:ml3:Frente] [NTC] [EVT] [Jun 01 07:27:16] event_newfile: Writing movie to file: /mnt/media/Motion/frente/20230601/072716.mp4
[2:ml2:Patio 2] [DBG] [DBL] [Jun 01 07:27:18] dbse_exec_mariadb: Executing MariaDB query
[2:ml2:Patio 2] [DBG] [EVT] [Jun 01 07:27:18] event_closefile: Saved movie to file: /mnt/media/Motion/patio2/20230601/072616.mp4
[2:ml2:Patio 2] [INF] [EVT] [Jun 01 07:27:18] event_ffmpeg_newfile: Source FPS 15
[2:ml2:Patio 2] [INF] [ENC] [Jun 01 07:27:18] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 28
[2:ml2:Patio 2] [DBG] [DBL] [Jun 01 07:27:18] dbse_exec_mariadb: Executing MariaDB query
[2:ml2:Patio 2] [NTC] [EVT] [Jun 01 07:27:18] event_newfile: Writing movie to file: /mnt/media/Motion/patio2/20230601/072718.mp4
[2:ml2:Patio 2] [DBG] [DBL] [Jun 01 07:27:56] dbse_exec_mariadb: Executing MariaDB query
[2:ml2:Patio 2] [DBG] [EVT] [Jun 01 07:27:56] event_closefile: Saved movie to file: /mnt/media/Motion/patio2/20230601/072718.mp4
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:27:56] mlp_actions: End of event 1
[3:ml3:Frente] [DBG] [DBL] [Jun 01 07:27:56] dbse_exec_mariadb: Executing MariaDB query
[3:ml3:Frente] [DBG] [EVT] [Jun 01 07:27:56] event_closefile: Saved movie to file: /mnt/media/Motion/frente/20230601/072716.mp4
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:27:56] mlp_actions: End of event 1
[2:ml2:Patio 2] [NTC] [ALL] [Jun 01 07:27:56] motion_loop: Thread exiting
[2:ml2:Patio 2] [INF] [VID] [Jun 01 07:27:56] vid_close: calling netcam_rtsp_cleanup
[2:ml2:Patio 2] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_cleanup: norm: Shutting down network camera.
[1:ml1:Techo] [NTC] [ALL] [Jun 01 07:27:56] motion_loop: Thread exiting
[1:ml1:Techo] [INF] [VID] [Jun 01 07:27:56] vid_close: calling netcam_rtsp_cleanup
[1:ml1:Techo] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_cleanup: norm: Shutting down network camera.
[3:ml3:Frente] [NTC] [ALL] [Jun 01 07:27:56] motion_loop: Thread exiting
[3:ml3:Frente] [INF] [VID] [Jun 01 07:27:56] vid_close: calling netcam_rtsp_cleanup
[3:ml3:Frente] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_cleanup: norm: Shutting down network camera.
[6:nc6:Techo] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_handler: norm: Handler loop finished.
[5:nc5:Patio 2] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_handler: norm: Handler loop finished.
[4:nc4:Frente] [INF] [NET] [Jun 01 07:27:56] netcam_rtsp_handler: norm: Handler loop finished.
[6:nc6:Techo] [INF] [NET] [Jun 01 07:27:57] netcam_rtsp_handler: netcam camera handler: finish set, exiting
[5:nc5:Patio 2] [INF] [NET] [Jun 01 07:27:57] netcam_rtsp_handler: netcam camera handler: finish set, exiting
[4:nc4:Frente] [INF] [NET] [Jun 01 07:27:57] netcam_rtsp_handler: netcam camera handler: finish set, exiting
[2:ml2:Patio 2] [NTC] [NET] [Jun 01 07:27:58] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1:Techo] [NTC] [NET] [Jun 01 07:27:58] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[3:ml3:Frente] [NTC] [NET] [Jun 01 07:27:58] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[0:motion] [NTC] [ALL] [Jun 01 07:27:59] main: Threads finished
[0:motion] [NTC] [ALL] [Jun 01 07:27:59] main: Motion terminating
[0:motion] [DBG] [ALL] [Jun 01 07:27:59] dbse_global_deinit: Closing MariaDB library
[0:motion] [DBG] [ALL] [Jun 01 07:27:59] dbse_global_deinit: Database closed
[0:motion] [NTC] [ALL] [Jun 01 07:27:59] motion_remove_pid: Closing logfile (/var/log/motion/motion.log).
[0:motion] [NTC] [ALL] [Jun 01 07:27:59] motion_startup: Motion 4.5.1 Started
[0:motion] [NTC] [ALL] [Jun 01 07:27:59] motion_startup: Using log type (ALL) log level (EMG)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions