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: Log Errors (tosiara)


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

Message: 1
Date: Tue, 11 Jun 2019 16:13:34 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Log Errors
Message-ID:
        <cachtdwqns4neqd+2pwg0co_lofl7v41dac9ve3xqsdbmngx...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Are you writing both movie and extpipe into the same file?

On Tue, Jun 11, 2019 at 3:46 PM Harlan Daneker <hdane...@gmail.com> wrote:
>
> I am running 4 analog cameras and 2 network cameras. This is with one analog 
> camera. Mediainfo says scan type is progressive. Video playback starts and 
> says it is corrupt.
>
> mediainfo
> General
> Complete name                            : 083343.mp4
> Format                                   : MPEG-4
> Format profile                           : Base Media
> Codec ID                                 : isom (isom/iso2/avc1/mp41)
> File size                                : 2.52 MiB
> Duration                                 : 3 s 900 ms
> Overall bit rate                         : 5 431 kb/s
> Writing application                      : Lavf58.20.100
>
> Video
> ID                                       : 1
> Format                                   : AVC
> Format/Info                              : Advanced Video Codec
> Format profile                           : Baseline@L3
> Format settings                          : 1 Ref Frames
> Format settings, CABAC                   : No
> Format settings, Reference frames        : 1 frame
> Codec ID                                 : avc1
> Codec ID/Info                            : Advanced Video Coding
> Duration                                 : 3 s 900 ms
> Bit rate                                 : 5 428 kb/s
> Width                                    : 720 pixels
> Height                                   : 480 pixels
> Display aspect ratio                     : 3:2
> Frame rate mode                          : Constant
> Frame rate                               : 30.000 FPS
> Color space                              : YUV
> Chroma subsampling                       : 4:2:0
> Bit depth                                : 8 bits
> Scan type                                : Progressive
> Bits/(Pixel*Frame)                       : 0.524
> Stream size                              : 2.52 MiB (100%)
> Writing library                          : x264 core 157 r2945 72db437
> Encoding settings                        : cabac=0 / ref=1 / deblock=0:0:0 / 
> analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / 
> me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / 
> fast_pskip=1 / chroma_qp_offset=0 / threads=9 / lookahead_threads=1 / 
> sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / 
> constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / 
> scenecut=0 / intra_refresh=0 / rc=crf / mbtree=0 / crf=23.0 / qcomp=0.60 / 
> qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=0
> Codec configuration box                  : avcC
>
> Motion.log
> 0:motion] [NTC] [ALL] [Jun 11 08:33:32] motion_startup: Motion 
> 4.1.1+git20180704-1b16fe9 Started
> [0:motion] [NTC] [ALL] [Jun 11 08:33:32] motion_startup: Using log type (ALL) 
> log level (INF)
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] conf_output_parms: Writing 
> configuration parameters from all files (2):
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] Thread 0 - Config file: motion.conf
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] daemon                    off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] process_id_file           
> /var/run/motion/motion.pid
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] setup_mode                off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] logfile                   
> /var/log/motion.log
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] log_level                 7
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] log_type                  all
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] native_language           on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] camera_id                 0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] camera_name
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] videodevice               /dev/video0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] vid_control_params
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] v4l2_palette              17
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] input                     -1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] norm                      1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] frequency                 0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] auto_brightness           0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] tunerdevice
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] roundrobin_frames         1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] roundrobin_skip           1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] switchfilter              off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_url
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_highres
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_userpass
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_keepalive          off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_proxy
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] netcam_tolerant_check     off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] rtsp_uses_tcp             on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] mmalcam_name
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] mmalcam_control_params
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] rotate                    0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] width                     352
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] height                    288
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] framerate                 100
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] minimum_frame_time        0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] despeckle_filter
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] locate_motion_mode        on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] locate_motion_style       redbox
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_right                
> %Y-%m-%d\n%T-%q
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_left
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_changes              on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_event                
> %Y%m%d%H%M%S
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_scale                1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] flip_axis                 none
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] emulate_motion            off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] threshold                 1500
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] threshold_tune            off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] noise_level               32
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] noise_tune                on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] area_detect
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] mask_file
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] mask_privacy
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] smart_mask_speed          0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] lightswitch_percent       0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] lightswitch_frames        5
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] minimum_motion_frames     1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] event_gap                 60
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] pre_capture               0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] post_capture              0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_event_start
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_event_end
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_picture_save
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_motion_detected
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_area_detected
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_movie_start
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_movie_end
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_camera_lost
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] on_camera_found
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] quiet                     on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] target_dir
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] output_pictures           off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] output_debug_pictures     off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] quality                   75
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] picture_type              jpeg
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] snapshot_interval         3
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] snapshot_filename         lastsnap
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] picture_filename          
> %v-%Y%m%d%H%M%S-%q
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] exif_text
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_output_movies      on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_output_debug_movies off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] max_movie_time            0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_bps                400000
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_variable_bitrate   0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_video_codec        mp4
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_duplicate_frames   off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] movie_filename            
> %Y/%m/%d/%H%M%S
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] timelapse_interval        0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] timelapse_mode            daily
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] timelapse_codec           mpeg4
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] timelapse_fps             30
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] timelapse_filename        
> %Y%m%d-timelapse
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_passthrough        off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] video_pipe
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] motion_video_pipe
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] use_extpipe               on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] extpipe                   ffmpeg -y 
> -f rawvideo -pix_fmt yuv420p -video_size %wx%h -framerate %fps -i
> pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ipv6_enabled              off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_port               0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] substream_port            0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_quality            50
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_motion             off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_maxrate            1
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_localhost          off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_limit              0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_auth_method        0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_cors_header
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_authentication
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_preview_scale      25
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_preview_newline    off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_grey               off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] webcontrol_port           0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] webcontrol_localhost      on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] webcontrol_interface      0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] webcontrol_authentication
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] webcontrol_parms          0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_log_picture           on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_log_snapshot          on
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_log_movie             off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_log_timelapse         off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_query_start
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_query_stop
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] sql_query
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_type
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_dbname
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_host             localhost
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_user
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_password
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_port             0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] database_busy_timeout     0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_type                0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_auto                off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_port
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_motorx              0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_motorx_reverse      off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_motory              0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_motory_reverse      off
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_maxx                0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_minx                0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_maxy                0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_miny                0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_homex               128
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_homey               128
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_iomojo_id           0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_step_angle_x        10
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_step_angle_y        10
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_move_wait           10
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_speed               255
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_stepsize            40
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] track_generic_move
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] camera
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] camera_dir
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] Thread 1 - Config file: 
> /usr/local/etc/motion/camera2.conf
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] log_level                 5
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] videodevice               /dev/video2
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] input                     0
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] width                     720
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] height                    480
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] framerate                 30
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] despeckle_filter          EedD
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] text_left                 CAMERA 2
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] lightswitch_percent       50
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] minimum_motion_frames     2
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] post_capture              60
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] target_dir                
> /sdb1/video/Cam2
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] ffmpeg_bps                10000000
> [0:motion] [INF] [ALL] [Jun 11 08:33:32] stream_port               8082
> [0:motion] [NTC] [ENC] [Jun 11 08:33:32] ffmpeg_global_init: ffmpeg 
> libavcodec version 58.18.100 libavformat version 58.12.100
> [0:motion] [NTC] [ALL] [Jun 11 08:33:32] translate_init: Language: English
> [0:motion] [NTC] [ALL] [Jun 11 08:33:32] motion_start_thread: Camera ID: 1 is 
> from /usr/local/etc/motion/camera2.conf
> [0:motion] [NTC] [ALL] [Jun 11 08:33:32] motion_start_thread: Camera ID: 1 
> Camera Name: (null) Device: /dev/video2
> [0:motion] [NTC] [ALL] [Jun 11 08:33:32] main: Waiting for threads to finish, 
> pid: 8498
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:32] motion_init: Camera 1 started: motion 
> detection Enabled
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] vid_start: Opening V4L2 device
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_open: Using videodevice 
> /dev/video2 and input 0
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_capability: - VIDEO_CAPTURE
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_capability: - VIDEO_OVERLAY
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_capability: - VBI_CAPTURE
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_capability: - READWRITE
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_device_capability: - STREAMING
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_input_select: Name = "Composite0"- 
> CAMERA
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_norm_select: - video standard NTSC
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_norm_select: - video standard 
> NTSC-M
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_norm_select: - video standard 
> NTSC-M-JP
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_norm_select: - video standard 
> NTSC-M-KR
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_norm_select: Video standard set to 
> NTSC
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_pixfmt_set: Testing palette YU12 
> (720x480)
> [1:ml1] [NTC] [VID] [Jun 11 08:33:32] v4l2_pixfmt_set: Using palette YU12 
> (720x480)
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: 
> ---------Controls---------
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list:   V4L2 ID   Name and 
> Range
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963776 Brightness, 
> 0 to 65280
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963777 Contrast, 0 
> to 65408
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963778 Saturation, 
> 0 to 65408
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963779 Hue, 0 to 
> 65280
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963785 Mute, 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963805 Chroma AGC, 
> 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09963806 Color 
> Killer, 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967888 Comb 
> Filter, 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967889 Auto Mute, 
> 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967890 Luma 
> Decimation Filter, 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967891 AGC Crush, 
> 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967892 VCR Hack, 0 
> to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967893 Whitecrush 
> Lower, 0 to 255
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967894 Whitecrush 
> Upper, 0 to 255
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967895 UV Ratio, 0 
> to 100
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967896 Full Luma 
> Range, 0 to 1
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: ID09967897 Coring, 0 
> to 3
> [1:ml1] [INF] [VID] [Jun 11 08:33:32] v4l2_ctrls_list: 
> --------------------------
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:32] image_ring_resize: Resizing pre_capture 
> buffer to 1 items
> [1:ml1] [NTC] [STR] [Jun 11 08:33:32] http_bindsock: listening on any IPv4 
> address port 8082
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:32] motion_init: Started motion-stream 
> server on port 8082 (auth Disabled)
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:32] image_ring_resize: Resizing pre_capture 
> buffer to 2 items
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:33] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:36] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:39] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:42] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [INF] [EVT] [Jun 11 08:33:43] event_new_video: Source FPS 30
> [1:ml1] [INF] [ENC] [Jun 11 08:33:43] ffmpeg_set_quality: libx264 codec 
> vbr/crf/bit_rate: 28
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:43] event_newfile: File of type 8 saved to: 
> /sdb1/video/Cam2/2019/06/11/083343.mp4
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:43] create_path: creating directory 
> /sdb1/video/Cam2/2019/06/11
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:43] event_create_extpipe: pipe: ffmpeg -y 
> -f rawvideo -pix_fmt yuv420p -video_size 720x480 -framerate 30 -i p
> ipe:0 -vcodec libx264 -preset ultrafast -f mp4 
> /sdb1/video/Cam2/2019/06/11/083343.mp4
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:43] event_create_extpipe: cnt->moviefps: 30
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:43] event_newfile: File of type 8 saved to: 
> /sdb1/video/Cam2/2019/06/11/083343
> [1:ml1] [NTC] [ALL] [Jun 11 08:33:43] motion_detected: Motion detected - 
> starting event 1
> [1:ml1] [INF] [ENC] [Jun 11 08:33:43] ffmpeg_avcodec_log: specified frame 
> type (3) at 0 is not compatible with keyframe interval
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:45] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:48] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:51] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:54] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:33:57] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:00] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:03] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:06] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:09] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:12] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:15] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:18] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:21] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:24] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:27] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:30] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:33] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:36] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:39] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:42] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:45] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:47] event_extpipe_end: CLOSING: extpipe 
> file desc 8, error state 0
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:47] event_extpipe_end: pclose return: -1
> [1:ml1] [NTC] [ALL] [Jun 11 08:34:47] mlp_actions: End of event 1
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:48] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:51] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:54] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:34:57] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:35:00] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [EVT] [Jun 11 08:35:03] event_newfile: File of type 1 saved to: 
> /sdb1/video/Cam2/lastsnap.jpg
> [1:ml1] [NTC] [ALL] [Jun 11 08:35:04] mlp_actions: End of event 2
> [1:ml1] [NTC] [ALL] [Jun 11 08:35:04] motion_loop: Thread exiting
> [1:ml1] [NTC] [STR] [Jun 11 08:35:04] stream_stop: Closing motion-stream 
> listen socket & active motion-stream sockets
> [1:ml1] [NTC] [STR] [Jun 11 08:35:04] stream_stop: Closed motion-stream 
> listen socket & active motion-stream sockets
> [1:ml1] [INF] [ALL] [Jun 11 08:35:04] motion_cleanup: Calling vid_close() 
> from motion_cleanup
> [1:ml1] [NTC] [VID] [Jun 11 08:35:04] vid_close: Cleaning up V4L2 device
> [1:ml1] [NTC] [VID] [Jun 11 08:35:04] v4l2_cleanup: Closing video device 
> /dev/video2
> [0:motion] [NTC] [ALL] [Jun 11 08:35:05] main: Threads finished
> [0:motion] [NTC] [ALL] [Jun 11 08:35:05] main: Motion terminating
> [0:motion] [NTC] [ALL] [Jun 11 08:35:05] motion_remove_pid: Closing logfile 
> (/var/log/motion.log).
>
> On Tue, Jun 11, 2019 at 7:12 AM tosiara <tosi...@gmail.com> wrote:
>>
>> motion -c motion.conf -n -d 7
>>
>> On Tue, Jun 11, 2019 at 1:53 PM Harlan Daneker <hdane...@gmail.com> wrote:
>> >
>> > What is -d 7?
>> >
>> > On Tue, Jun 11, 2019 at 4:42 AM tosiara <tosi...@gmail.com> wrote:
>> >>
>> >> So it is now clear that the command works fine.
>> >>
>> >> Now put back this line into your config:
>> >>
>> >> extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h
>> >> -framerate %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4
>> >> %f.mp4
>> >>
>> >> Reproduce the issue and send full log with -d 7
>> >>
>> >> On Tue, Jun 11, 2019 at 3:53 AM Harlan Daneker <hdane...@gmail.com> wrote:
>> >> >
>> >> >
>> >> > Thank you for replying, here is the output.
>> >> >
>> >> >
>> >> > ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 320x240 -framerate 5 
>> >> > -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 test.mp4
>> >> > ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
>> >> >   built with gcc 9 (GCC)
>> >> >   configuration: --prefix=/usr --bindir=/usr/bin 
>> >> > --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg 
>> >> > --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 
>> >> > --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall 
>> >> > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
>> >> > -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
>> >> > -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
>> >> > -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
>> >> > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 
>> >> > --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now 
>> >> > -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' 
>> >> > --enable-libopencore-amrnb --enable-libopencore-amrwb 
>> >> > --enable-libvo-amrwbenc --enable-version3 --enable-bzlib 
>> >> > --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt 
>> >> > --enable-gnutls --enable-ladspa --enable-libaom --enable-libass 
>> >> > --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack 
>> >> > --enable-libfreetype --enable-libfribidi --enable-libgsm 
>> >> > --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl 
>> >> > --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse 
>> >> > --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libssh 
>> >> > --enable-libtheora --enable-libvorbis --enable-libv4l2 
>> >> > --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 
>> >> > --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter 
>> >> > --enable-avresample --enable-postproc --enable-pthreads 
>> >> > --disable-static --enable-shared --enable-gpl --disable-debug 
>> >> > --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx 
>> >> > --enable-runtime-cpudetect
>> >> >   libavutil      56. 22.100 / 56. 22.100
>> >> >   libavcodec     58. 35.100 / 58. 35.100
>> >> >   libavformat    58. 20.100 / 58. 20.100
>> >> >   libavdevice    58.  5.100 / 58.  5.100
>> >> >   libavfilter     7. 40.101 /  7. 40.101
>> >> >   libavresample   4.  0.  0 /  4.  0.  0
>> >> >   libswscale      5.  3.100 /  5.  3.100
>> >> >   libswresample   3.  3.100 /  3.  3.100
>> >> >   libpostproc    55.  3.100 / 55.  3.100
>> >> >
>> >> > On Mon, Jun 10, 2019 at 10:42 AM tosiara <tosi...@gmail.com> wrote:
>> >> >>
>> >> >> "Does not work" does not contain enough information, do you agree?
>> >> >>
>> >> >> Try to run the command in your console:
>> >> >>
>> >> >> ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 320x240 -framerate
>> >> >> 5 -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 test.mp4
>> >> >>
>> >> >> This should hang waiting for video on stdin. Copy the output and kill
>> >> >> with CTRL+C. Send the output
>> >> >>
>> >> >> On Mon, Jun 10, 2019 at 5:15 PM Harlan Daneker <hdane...@gmail.com> 
>> >> >> wrote:
>> >> >> >
>> >> >> > motion 4.1.1+git20180626-43b9c2b
>> >> >> >
>> >> >> >
>> >> >> > This does not work:
>> >> >> > extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h 
>> >> >> > -framerate %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 
>> >> >> > %f.mp4
>> >> >> >
>> >> >> > I have tried as many of the video formats as I was able to find and 
>> >> >> > none of them work.
>> >> >> >
>> >> >> > So I just omitted "rawvideo -pix_fmt" and it works.
>> >> >> > extpipe ffmpeg -y -video_size %wx%h -framerate %fps -i pipe:0 
>> >> >> > -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
>> >> >> >
>> >> >> > But I constantly get these errors in motion.log:
>> >> >> > Motion.log
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:56] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:57] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:58] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:59] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 12 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:03] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 26 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:04] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
>> >> >> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:05] event_extpipe_put: Error 
>> >> >> > writing in pipe , state error 1: Broken pipe
>> >> >> > _______________________________________________
>> >> >> > 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
>> >> >>
>> >> >>
>> >> >> _______________________________________________
>> >> >> 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
>> >> >
>> >> > _______________________________________________
>> >> > 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
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> > _______________________________________________
>> > 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
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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 156, Issue 24
********************************************

Reply via email to