Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: illegible mp4 files (Tony Ross)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Jan 2021 16:38:48 -0800
From: Tony Ross <ynots...@hotmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] illegible mp4 files
Message-ID:
        
<sj0pr04mb7328d8904908157ea64c037ade...@sj0pr04mb7328.namprd04.prod.outlook.com>
        
Content-Type: text/plain; charset=utf-8; format=flowed

I apologize for providing what some might consider too much information, 
but here are the non-commented lines from motion.conf. Another intrusion 
occurred with an illegible .mp4 file that would've provided evidence:

$ grep -Ev "^$|^;|^#" etc/motion/motion.conf
daemon on
setup_mode off
log_file /home/myname/etc/motion/motion.log
log_level 9
log_type ALL
quiet on
native_language on
input -1
norm 0
frequency 0
auto_brightness 0
roundrobin_frames 1
roundrobin_skip 1
roundrobin_switchfilter off
netcam_keepalive off
netcam_tolerant_check off
netcam_use_tcp on
minimum_frame_time 0
text_right %Y-%m-%d\n%T-%q
text_changes off
text_scale 1
text_event %Y%m%d%H%M%S
emulate_motion off
threshold 1500
threshold_maximum 0
threshold_tune off
noise_level 32
noise_tune on
despeckle_filter EedDl
smart_mask_speed 0
lightswitch_percent 40
lightswitch_frames 2
minimum_motion_frames 2
event_gap 60
pre_capture 0
post_capture 0
picture_output best
picture_output_motion off
picture_type jpeg
picture_quality 75
picture_filename %v-%Y%m%d%H%M%S-%q
snapshot_interval 0
snapshot_filename lastsnap
movie_output on
movie_output_motion off
movie_max_time 600
movie_bps 400000
movie_quality 100
movie_codec mp4
movie_duplicate_frames off
movie_filename %v-%Y%m%d%H%M%S
movie_extpipe_use off
timelapse_interval 0
timelapse_mode daily
timelapse_fps 30
timelapse_codec mpg
timelapse_filename %Y%m%d-timelapse
webcontrol_port 8080
webcontrol_ipv6 off
webcontrol_localhost off
webcontrol_parms 2
webcontrol_interface 0
webcontrol_auth_method 0
webcontrol_tls off
stream_port 8081
stream_localhost off
stream_auth_method 0
stream_tls off
stream_preview_scale 25
stream_preview_newline off
stream_preview_method 0
stream_quality 50
stream_grey off
stream_motion off
stream_limit 0
database_host localhost
database_port 0
database_busy_timeout 0
sql_log_picture off
sql_log_snapshot off
sql_log_movie off
sql_log_timelapse off
track_type 0
track_auto off
track_motorx 0
track_motorx_reverse off
track_motory 0
track_motory_reverse off
track_maxx 0
track_minx 0
track_maxy 0
track_miny 0
track_homex 128
track_homey 128
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
camera /home/myname/etc/motion/amcrest_roof.conf
camera /home/myname/etc/motion/amcrest_shop.conf



On 1/21/21 3:42 PM, I wrote wrote:
> Greetings, I would appreciate some help with diagnosing why mp4 files 
> are not properly viewable after a motion event. jpg are perfect, but 
> the mp4 files are 4 wide bands high, each band containing diagonally 
> coarse pixelations. It appears that if these diagonals were instead 
> vertical then a corrected video might appear.
>
> One camera is PTZ POE, the lower-resolution camera is PTZ WiFi. Both 
> cameras are configured for 30 fps H.264 output.
>
> RTSP streams are perfectly viewable with no errors in both vlc and 
> ffplay. motion.log indicates no obvious errors to me, here "killall 
> motion"-stopped after the first event. The .log and 2 .conf files 
> follow for your considerations:
>
> $ motion
> [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file 
> /home/myname/etc/motion/motion.conf
> [0:motion] [NTC] [ALL] config_camera: Processing camera config file 
> /home/myname/etc/motion/amcrest_roof.conf
> [0:motion] [NTC] [ALL] config_camera: Processing camera config file 
> /home/myname/etc/motion/amcrest_shop.conf
> [0:motion] [NTC] [ALL] motion_startup: Logging to file 
> (/home/myname/etc/motion/motion.log)
>
> $ cat /home/myname/etc/motion/motion.log
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_startup: Motion 4.3.2 
> Started
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_startup: Using log 
> type (ALL) log level (ALL)
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] become_daemon: Motion going 
> to daemon mode
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_startup: Motion 
> running as daemon process
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] conf_output_parms: Writing 
> configuration parameters from all files (3):
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] Thread 0 - Config file: 
> /home/myname/etc/motion/motion.conf
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] daemon on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] setup_mode off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] pid_file
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] log_file 
> /home/myname/etc/motion/motion.log
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] log_level 9
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] log_type ALL
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] quiet on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] native_language on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_name
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_id 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] target_dir
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] videodevice /dev/video0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] vid_control_params
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] v4l2_palette 17
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] input -1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] norm 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] frequency 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] auto_brightness 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] tunerdevice
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] roundrobin_frames 1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] roundrobin_skip 1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] roundrobin_switchfilter off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_url
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_highres
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_userpass
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_keepalive off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_proxy
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_tolerant_check off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_use_tcp on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_decoder
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mmalcam_name
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mmalcam_control_params
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] width 640
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] height 480
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] framerate 15
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] minimum_frame_time 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] rotate 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] flip_axis none
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_mode off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_style box
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] text_left
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] text_right %Y-%m-%d\n%T-%q
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] text_changes off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] text_scale 1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] text_event %Y%m%d%H%M%S
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] emulate_motion off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] threshold 1500
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] threshold_maximum 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] threshold_tune off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] noise_level 32
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] noise_tune on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] despeckle_filter EedDl
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] area_detect
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mask_file
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mask_privacy
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] smart_mask_speed 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] lightswitch_percent 40
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] lightswitch_frames 2
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] minimum_motion_frames 2
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] event_gap 60
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] pre_capture 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] post_capture 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_event_start
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_event_end
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_picture_save
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_area_detected
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_motion_detected
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_movie_start
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_movie_end
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_camera_lost
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] on_camera_found
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_output best
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_output_motion off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_type jpeg
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_quality 75
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_exif
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_filename 
> %v-%Y%m%d%H%M%S-%q
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] snapshot_interval 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] snapshot_filename lastsnap
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_output on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_output_motion off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_max_time 600
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_bps 400000
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_quality 100
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_codec mp4
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_duplicate_frames off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_passthrough off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_filename %v-%Y%m%d%H%M%S
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_extpipe_use off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_extpipe
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] timelapse_interval 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] timelapse_mode daily
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] timelapse_fps 30
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] timelapse_codec mpg
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] timelapse_filename 
> %Y%m%d-timelapse
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] video_pipe
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] video_pipe_motion
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_port 8080
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_ipv6 off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_localhost off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_parms 2
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_interface 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_auth_method 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_authentication
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_tls off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_cert
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_key
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] webcontrol_cors_header
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_port 8081
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_localhost off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_auth_method 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_authentication
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_tls off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_cors_header
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_preview_scale 25
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_preview_newline off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_preview_method 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_quality 50
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_grey off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_motion off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_maxrate 1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] stream_limit 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_type
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_dbname
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_host localhost
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_port 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_user
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_password
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] database_busy_timeout 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_log_picture off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_log_snapshot off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_log_movie off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_log_timelapse off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_query_start
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_query_stop
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] sql_query
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_type 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_auto off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_port
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_motorx 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_motorx_reverse off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_motory 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_motory_reverse off
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_maxx 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_minx 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_maxy 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_miny 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_homex 128
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_homey 128
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_iomojo_id 0
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_step_angle_x 10
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_step_angle_y 10
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_move_wait 10
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_speed 255
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_stepsize 40
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] track_generic_move
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_dir
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] Thread 1 - Config file: 
> /home/myname/etc/motion/amcrest_roof.conf
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_name roof
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] target_dir 
> /home/myname/motion/roof
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_url <redacted>
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] width 2592
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] height 1520
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] framerate 30
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_mode on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_style redbox
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mask_file 
> /home/myname/etc/motion/amcrest_2592x1520mask.pgm
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_filename 
> stills/%Y%m%d-%H:%M:%S
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_filename 
> videos/%Y%m%d-%H:%M:%S
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] Thread 2 - Config file: 
> /home/myname/etc/motion/amcrest_shop.conf
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_name shop
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] camera_id 1
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] target_dir 
> /home/myname/motion/shop
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] netcam_url <redacted>
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] width 1920
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] height 1080
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] framerate 30
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_mode on
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] locate_motion_style redbox
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] mask_file 
> /home/myname/etc/motion/amcrest_1920x1080mask.pgm
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] picture_filename 
> stills/%Y%m%d-%H:%M:%S
> [0:motion] [INF] [ALL] [Jan 21 13:26:43] movie_filename 
> videos/%Y%m%d-%H:%M:%S
> [0:motion] [DBG] [ALL] [Jan 21 13:26:43] motion_ntc: v4l2?? : available
> [0:motion] [DBG] [ALL] [Jan 21 13:26:43] motion_ntc: bktr?? : not 
> available
> [0:motion] [DBG] [ALL] [Jan 21 13:26:43] motion_ntc: webp?? : available
> [0:motion] [DBG] [ALL] [Jan 21 13:26:43] motion_ntc: mmal?? : not 
> available
> [0:motion] [DBG] [ALL] [Jan 21 13:26:43] motion_ntc: ffmpeg : available
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] motion_ntc: mysql? : not 
> available
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] motion_ntc: MariaDB: not 
> available
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] motion_ntc: sqlite3: available
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] motion_ntc: pgsql? : not 
> available
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] motion_ntc: nls??? : available
> [0:motion] [ERR] [ALL] [Jan 21 13:26:43] motion_camera_ids: Camara IDs 
> are not unique or have values over 32,000.? Falling back to thread 
> numbers
> [0:motion] [NTC] [STR] [Jan 21 13:26:43] webu_start_strm: Starting all 
> camera streams on port 8081
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_basic: 
> Basic authentication: available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_digest: 
> Digest authentication: available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_ipv6: IPV6: 
> available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_tls: 
> SSL/TLS: available
> [0:motion] [NTC] [STR] [Jan 21 13:26:43] webu_strm_ntc: Started camera 
> 1 stream on port/camera_id 8081/1
> [0:motion] [NTC] [STR] [Jan 21 13:26:43] webu_strm_ntc: Started camera 
> 2 stream on port/camera_id 8081/2
> [0:motion] [NTC] [STR] [Jan 21 13:26:43] webu_start_ctrl: Starting 
> webcontrol on port 8080
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_basic: 
> Basic authentication: available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_digest: 
> Digest authentication: available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_ipv6: IPV6: 
> available
> [0:motion] [DBG] [STR] [Jan 21 13:26:43] webu_mhd_features_tls: 
> SSL/TLS: available
> [0:motion] [NTC] [STR] [Jan 21 13:26:43] webu_start_ctrl: Started 
> webcontrol on port 8080
> [0:motion] [DBG] [VID] [Jan 21 13:26:43] bktr_mutex_init: BKTR is not 
> enabled.
> [0:motion] [NTC] [ENC] [Jan 21 13:26:43] ffmpeg_global_init: ffmpeg 
> libavcodec version 58.35.100 libavformat version 58.20.100
> [0:motion] [DBG] [DBL] [Jan 21 13:26:43] dbse_global_init: 
> Initializing database
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] translate_init: Language: 
> English
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_start_thread: Camera 
> ID: 1 is from /home/myname/etc/motion/amcrest_roof.conf
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_start_thread: Camera 
> ID: 1 Camera Name: roof Service: rtsp:
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_start_thread: Camera 
> ID: 2 is from /home/myname/etc/motion/amcrest_shop.conf
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] motion_start_thread: Camera 
> ID: 2 Camera Name: shop Service: rtsp:
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:26:43] motion_init: Camera 1 
> started: motion detection Enabled
> [1:ml1:roof] [NTC] [VID] [Jan 21 13:26:43] vid_start: Opening Netcam RTSP
> [0:motion] [NTC] [ALL] [Jan 21 13:26:43] main: Waiting for threads to 
> finish, pid: 30579
> [1:ml1:roof] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_parms: 
> Setting up Normal resolution stream.
> [2:ml2:shop] [NTC] [ALL] [Jan 21 13:26:43] motion_init: Camera 2 
> started: motion detection Enabled
> [2:ml2:shop] [NTC] [VID] [Jan 21 13:26:43] vid_start: Opening Netcam RTSP
> [2:ml2:shop] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_parms: 
> Setting up Normal resolution stream.
> [1:ml1:roof] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_path: 
> Setting up rtsp via ffmpeg netcam
> [2:ml2:shop] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_path: 
> Setting up rtsp via ffmpeg netcam
> [1:ml1:roof] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_rtsp: 
> Normal resolution: Setting rtsp transport to tcp
> [2:ml2:shop] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_set_rtsp: 
> Normal resolution: Setting rtsp transport to tcp
> [1:ml1:roof] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_open_context: 
> Normal resolution: Opened camera(roof)
> [2:ml2:shop] [INF] [NET] [Jan 21 13:26:43] netcam_rtsp_open_context: 
> Normal resolution: Opened camera(shop)
> [1:ml1:roof] [INF] [ENC] [Jan 21 13:26:44] ffmpeg_avcodec_log: 
> deprecated pixel format used, make sure you did set range correctly
> [1:ml1:roof] [DBG] [NET] [Jan 21 13:26:44] netcam_check_buffsize: 
> expanding buffer from [0/0] to [0/5910528] bytes.
> [1:ml1:roof] [DBG] [NET] Above message repeats 1 times
> [1:ml1:roof] [DBG] [NET] [Jan 21 13:26:44] netcam_check_buffsize: 
> expanding buffer from [5909760/5910528] to [5909760/11821056] bytes.
> [1:ml1:roof] [NTC] [NET] [Jan 21 13:26:44] netcam_rtsp_connect: Normal 
> resolution: Camera (roof) connected
> [1:ml1:roof] [DBG] [NET] [Jan 21 13:26:44] netcam_check_buffsize: 
> expanding buffer from [5909760/5910528] to [5909760/11821056] bytes.
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:26:44] image_ring_resize: Resizing 
> pre_capture buffer to 1 items
> [3:nc3:roof] [NTC] [NET] [Jan 21 13:26:44] netcam_rtsp_handler: Normal 
> resolution: Camera handler thread [3] started
> [3:nc3:roof] [INF] [NET] [Jan 21 13:26:44] netcam_rtsp_open_context: 
> Normal resolution: Opened camera(roof)
> [2:ml2:shop] [INF] [ENC] [Jan 21 13:26:45] ffmpeg_avcodec_log: 
> deprecated pixel format used, make sure you did set range correctly
> [2:ml2:shop] [DBG] [NET] [Jan 21 13:26:45] netcam_check_buffsize: 
> expanding buffer from [0/0] to [0/3112960] bytes.
> [2:ml2:shop] [DBG] [NET] Above message repeats 1 times
> [2:ml2:shop] [DBG] [NET] [Jan 21 13:26:45] netcam_check_buffsize: 
> expanding buffer from [3110400/3112960] to [3110400/6221824] bytes.
> [2:ml2:shop] [NTC] [NET] [Jan 21 13:26:45] netcam_rtsp_connect: Normal 
> resolution: Camera (shop) connected
> [2:ml2:shop] [DBG] [NET] [Jan 21 13:26:45] netcam_check_buffsize: 
> expanding buffer from [3110400/3112960] to [3110400/6221824] bytes.
> [2:ml2:shop] [CRT] [NET] [Jan 21 13:26:45] motion_init: Substream not 
> available.? Image sizes not modulo 16.
> [4:nc4:shop] [NTC] [NET] [Jan 21 13:26:45] netcam_rtsp_handler: Normal 
> resolution: Camera handler thread [4] started
> [2:ml2:shop] [NTC] [ALL] [Jan 21 13:26:45] image_ring_resize: Resizing 
> pre_capture buffer to 1 items
> [4:nc4:shop] [INF] [NET] [Jan 21 13:26:45] netcam_rtsp_open_context: 
> Normal resolution: Opened camera(shop)
> [3:nc3:roof] [INF] [ENC] [Jan 21 13:26:45] ffmpeg_avcodec_log: 
> deprecated pixel format used, make sure you did set range correctly
> [3:nc3:roof] [NTC] [NET] [Jan 21 13:26:45] netcam_rtsp_connect: Normal 
> resolution: Camera (roof) connected
> [1:ml1:roof] [INF] [ALL] [Jan 21 13:26:46] motion_init: Maskfile 
> "/home/myname/etc/motion/amcrest_2592x1520mask.pgm" loaded.
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:26:46] image_ring_resize: Resizing 
> pre_capture buffer to 2 items
> [4:nc4:shop] [INF] [ENC] [Jan 21 13:26:47] ffmpeg_avcodec_log: 
> deprecated pixel format used, make sure you did set range correctly
> [4:nc4:shop] [NTC] [NET] [Jan 21 13:26:47] netcam_rtsp_connect: Normal 
> resolution: Camera (shop) connected
> [2:ml2:shop] [INF] [ALL] [Jan 21 13:26:49] motion_init: Maskfile 
> "/home/myname/etc/motion/amcrest_1920x1080mask.pgm" loaded.
> [2:ml2:shop] [NTC] [ALL] [Jan 21 13:26:49] image_ring_resize: Resizing 
> pre_capture buffer to 2 items
> [1:ml1:roof] [INF] [EVT] [Jan 21 13:30:28] event_new_video: Source FPS 25
> [1:ml1:roof] [INF] [ENC] [Jan 21 13:30:28] ffmpeg_set_quality: libx264 
> codec vbr/crf/bit_rate: 0
> [1:ml1:roof] [NTC] [EVT] [Jan 21 13:30:28] event_newfile: File of type 
> 8 saved to: /home/myname/motion/roof/videos/20210121-13:30:28.mp4
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:30:28] motion_detected: Motion 
> detected - starting event 1
> [1:ml1:roof] [NTC] [EVT] [Jan 21 13:31:28] event_newfile: File of type 
> 1 saved to: /home/myname/motion/roof/stills/20210121-13:30:28.jpg
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:31:28] mlp_actions: End of event 1
> [2:ml2:shop] [NTC] [ALL] [Jan 21 13:31:56] mlp_actions: End of event 1
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:31:56] mlp_actions: End of event 2
> [2:ml2:shop] [NTC] [ALL] [Jan 21 13:31:56] motion_loop: Thread exiting
> [2:ml2:shop] [INF] [ALL] [Jan 21 13:31:56] motion_cleanup: Calling 
> vid_close() from motion_cleanup
> [2:ml2:shop] [INF] [VID] [Jan 21 13:31:56] vid_close: calling 
> netcam_rtsp_cleanup
> [2:ml2:shop] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_cleanup: Normal 
> resolution: Shutting down network camera.
> [1:ml1:roof] [NTC] [ALL] [Jan 21 13:31:56] motion_loop: Thread exiting
> [1:ml1:roof] [INF] [ALL] [Jan 21 13:31:56] motion_cleanup: Calling 
> vid_close() from motion_cleanup
> [1:ml1:roof] [INF] [VID] [Jan 21 13:31:56] vid_close: calling 
> netcam_rtsp_cleanup
> [1:ml1:roof] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_cleanup: Normal 
> resolution: Shutting down network camera.
> [4:nc4:shop] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_handler: Normal 
> resolution: Handler loop finished.
> [4:nc4:shop] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_handler: netcam 
> camera handler: finish set, exiting
> [3:nc3:roof] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_handler: Normal 
> resolution: Handler loop finished.
> [3:nc3:roof] [INF] [NET] [Jan 21 13:31:56] netcam_rtsp_handler: netcam 
> camera handler: finish set, exiting
> [2:ml2:shop] [NTC] [NET] [Jan 21 13:31:57] netcam_rtsp_cleanup: Normal 
> resolution: Shut down complete.
> [1:ml1:roof] [NTC] [NET] [Jan 21 13:31:57] netcam_rtsp_cleanup: Normal 
> resolution: Shut down complete.
> [0:motion] [NTC] [ALL] [Jan 21 13:31:58] main: Threads finished
> [0:motion] [NTC] [ALL] [Jan 21 13:31:58] main: Motion terminating
> [0:motion] [DBG] [ALL] [Jan 21 13:31:58] dbse_global_deinit: Closing 
> MYSQL
> [0:motion] [NTC] [ALL] [Jan 21 13:31:58] motion_remove_pid: Closing 
> logfile (/home/myname/etc/motion/motion.log).
>
> $ cat /home/myname/etc/motion/amcrest_{roof,shop}.conf
> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
> # /home/myname/etc/motion/amcrest_roof.conf
> #
> # This config file was generated by motion 4.3.2
> # at 2020-11-19T12:52:49
>
> # User defined name for the camera.
> camera_name roof
> camera_id 0
> framerate 30
>
> # Target directory for pictures, snapshots and movies
> target_dir /home/myname/motion/roof
>
> # The full URL of the network camera stream.
> netcam_url 
> rtsp://user:passwd@192.168.1.4:4554/cam/realmonitor?channel=1&subtype=0
>
> ############################################################
> # Image Processing configuration parameters
> ############################################################
>
> # Image width in pixels.
> width 2592
>
> # Image height in pixels.
> height 1520
>
> # Draw a locate box around the moving object.
> locate_motion_mode on
>
> # Set the look and style of the locate box.
> locate_motion_style redbox
>
> # Text to be overlayed in the lower left corner of images
> ;text_left amcrest_roof 0
>
> # Enable tuning of the threshold down if possible.
> ;threshold_tune on
>
> # Full path and file name for motion detection mask PGM file.
> mask_file /home/myname/etc/motion/amcrest_2592x1520mask.pgm
>
> # File name(without extension) for pictures relative to target directory
> picture_filename stills/%Y%m%d-%H:%M:%S
>
> # File name(without extension) for movies relative to target directory
> movie_filename videos/%Y%m%d-%H:%M:%S
> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
>
> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
> # /home/myname/etc/motion/amcrest_shop.conf
> #
> # This config file was generated by motion 4.3.2
> # at 2020-11-19T12:52:49
>
>
> # User defined name for the camera.
> camera_name shop
> camera_id 1
> framerate 30
>
> # Target directory for pictures, snapshots and movies
> target_dir /home/myname/motion/shop
>
> # The full URL of the network camera stream.
> netcam_url 
> rtsp://user:passwd@192.168.1.8:4555/cam/realmonitor?channel=1&subtype=0
>
> ############################################################
> # Image Processing configuration parameters
> ############################################################
>
> # Image width in pixels.
> width 1920
>
> # Image height in pixels.
> height 1080
>
> # Draw a locate box around the moving object.
> locate_motion_mode on
>
> # Set the look and style of the locate box.
> locate_motion_style redbox
>
> # Text to be overlayed in the lower left corner of images
> ;text_left amcrest_shop 1
>
> # Enable tuning of the threshold down if possible.
> ;threshold_tune on
>
> # Full path and file name for motion detection mask PGM file.
> mask_file /home/myname/etc/motion/amcrest_1920x1080mask.pgm
>
> # File name(without extension) for pictures relative to target directory
> picture_filename stills/%Y%m%d-%H:%M:%S
>
> # File name(without extension) for movies relative to target directory
> movie_filename videos/%Y%m%d-%H:%M:%S
> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
>
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user




------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 175, Issue 17
********************************************

Reply via email to