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: Image Corruption on RTSP streams (greg thomas)
   2. Re: Image Corruption on RTSP streams (tosiara)


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

Message: 1
Date: Wed, 9 Jan 2019 16:38:46 +1300
From: greg thomas <geete...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Image Corruption on RTSP streams
Message-ID:
        <cage5y2fqrhwogcfy+xs46tsghjrd72-cljbsairdsdj02rs...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks Dave - another thing I've learnt.

All four cores are showing utilisations of between 25 & 40%.

Regards

Greg

On Tue, 8 Jan 2019 at 23:20, Dave Howorth <d...@howorth.org.uk> wrote:

> On Tue, 8 Jan 2019 20:18:58 +1300
> greg thomas <geete...@gmail.com> wrote:
>
> > Hi Pascal,
> >    35% is overall system utilisation. From a motion perspective top
> > shows it as consuming ~145%, which I interpret as roughly 70% on each
> > of two cores given that I have two cameras, or ~35% of a four core
> > system.
>
> If you press the '1' key whilst in top, it shows individual CPU
> core usage. Press '1' again to revert to normal overall usage.
>
> > Greg
> >
> > On Tue, 8 Jan 2019, 7:35 PM Pascal Martin <pascal.fb.mar...@gmail.com
> > wrote:
> >
> > > I am not sure what 35-40% utilization means in that case. Motion is
> > > single threaded per camera, so each camera will not take more than
> > > 25% of the entire pi CPU resources. Otherwise motion may be
> > > prevented from using the CPU for other reasons.
> > >
> > > I also noted that motion's CPU usage is highly variable, possibly
> > > due to optimization in the case of no movement. This could mess up
> > > average CPU usage.
> > >
> > > The video game performance approach could be more appropriate. What
> > > is the actual frame rate achieved by motion? Or, more practically,
> > > what is the actual time spent by motion to process each frame? If
> > > this is more than 0.1 second, it would be too slow to sustain 10
> > > fps.
> > >
> > > One might want to record the millisecond accuracy time before
> > > processing each frame. The average and variance of the delta could
> > > be telling.
> > >
> > > Disclosure: I flunked stats in College. ?
> > >
> > > Thanks.
> > > Pascal.
> > >
> > > From: greg thomas <geete...@gmail.com>
> > > To: Motion discussion list <motion-user@lists.sourceforge.net>
> > > Cc:
> > > Bcc:
> > > Date: Mon, 7 Jan 2019 22:07:31 +1300
> > > Subject: Re: [Motion-user] Image Corruption on RTSP streams
> > > The Pi it's running around 35-40% utilisation, so I don't think
> > > it's a processor constraint. That said I still do not know what the
> > > cause is.
> > >
> > > I know the corruption affects both cameras in the same way in color
> > > or black and white/IR, and it only seems to impact the bottom
> > > 1/3ish of the image.
> > >
> > > Regards
> > >
> > > _______________________________________________
> > > 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
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Wed, 9 Jan 2019 09:24:47 +0200
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Image Corruption on RTSP streams
Message-ID:
        <cachtdwrggxkdyszbu1d22jdreq+10d7hqmxrfcgisd9r_4h...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Can you try to play the camera stream using latest ffplay? Does it log any
errors or show corrupted picture?

On Wed, Jan 9, 2019 at 5:34 AM greg thomas <geete...@gmail.com> wrote:

> I have captured the log from running Motion from the command line with -d
> 7 parameter set.
>
> The log file below shows a number of errors that occur - I see there have
> been a number of instances of this occuring previously, but aside from one
> which suggested an incorrect resolution setting, I do not see a resolution.
> I have checked the camera resolution, and the motion resolution, and both
> are 1280x720.
> Regards
>
> Greg
>
> [4544024:motion] [NTC] [ALL] [Jan 09 15:11:14] motion_startup: Using
> default log type (ALL)
>
> [4544024:motion] [NTC] [ALL] [Jan 09 15:11:14] motion_startup: Using log
> type (ALL) log level (INF)
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] conf_output_parms: Writing
> configuration parameters from all files (2):
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] Thread 0 - Config file:
> /etc/motioneye/motion.conf
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] daemon
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] setup_mode
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] logfile
>     /tmp/motion-debug.log
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] log_level                 7
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] log_type
> ALL
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] videodevice
> /dev/video0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] v4l2_palette              17
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] input                     -1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] norm                      0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] frequency                 0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] flip_axis
> none
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] rotate                    0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] width
> 352
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] height
> 288
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] framerate
> 100
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] minimum_frame_time        0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] netcam_keepalive
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] netcam_tolerant_check
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] rtsp_uses_tcp             on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] auto_brightness
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] brightness                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] contrast                  0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] saturation                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] hue                       0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] power_line_frequency      -1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] roundrobin_frames         1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] roundrobin_skip           1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] switchfilter
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] threshold
> 1500
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] threshold_tune
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] noise_level               32
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] noise_tune                on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] smart_mask_speed          0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] lightswitch               0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] minimum_motion_frames     1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] pre_capture               0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] post_capture              0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] event_gap                 60
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] max_movie_time
> 3600
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] emulate_motion
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] output_pictures           on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] output_debug_pictures
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] quality                   75
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] camera_id                 0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] picture_type
> jpeg
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_output_movies
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_output_debug_movies
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_bps
> 400000
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_variable_bitrate   0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_video_codec
> mpeg4
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_passthrough
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_duplicate_frames
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] use_extpipe
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] snapshot_interval         0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] locate_motion_mode
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] locate_motion_style
> box
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_right
> %Y-%m-%d\n%T
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_changes
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_event
> %Y%m%d%H%M%S
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_double
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] snapshot_filename
> %v-%Y%m%d%H%M%S-snapshot
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] picture_filename
> %v-%Y%m%d%H%M%S-%q
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] movie_filename
> %v-%Y%m%d%H%M%S
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] timelapse_interval        0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] timelapse_mode
> daily
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] timelapse_codec
> mpeg4
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] timelapse_fps             30
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] timelapse_filename
> %Y%m%d-timelapse
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ipv6_enabled
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_port               0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] substream_port            0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_quality            50
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_motion
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_maxrate            1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_localhost          on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_limit              0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_auth_method        0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_preview_scale      25
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_preview_newline
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] webcontrol_port
> 7999
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] webcontrol_localhost
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] webcontrol_html_output    on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] webcontrol_parms          2
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_type                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_auto
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_motorx              0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_motorx_reverse
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_motory              0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_motory_reverse
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_maxx                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_minx                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_maxy                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_miny                0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_homex
> 128
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_homey
> 128
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_iomojo_id           0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_step_angle_x        10
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_step_angle_y        10
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_move_wait           10
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_speed
> 255
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] track_stepsize            40
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] quiet                     on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_log_picture           on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_log_snapshot          on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_log_movie
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_log_timelapse
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_query_start
>           sql_query_start insert into security_events(camera,
> event_time_stamp) values('%t', '%Y-%m-%d %T')
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] sql_query
> sql_query insert into security_file(camera, filename, frame, file_type,
> time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T')
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] database_host
> localhost
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] database_port             0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] database_busy_timeout     0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] Thread 1 - Config file:
> thread-1.conf
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] log_level                 15
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] width
>           1280
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] height
> 720
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] framerate                 9
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] netcam_url
> <redacted>
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] netcam_userpass
> <redacted>
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] netcam_tolerant_check     on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] threshold
> 73728
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] noise_level               13
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] noise_tune
> off
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] despeckle_filter
> EedDl
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] smart_mask_speed          1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] lightswitch               17
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] minimum_motion_frames     5
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] pre_capture               2
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] post_capture              10
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] event_gap                 10
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] max_movie_time            0
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] output_pictures
> best
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] quality
> 100
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_output_movies      on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_variable_bitrate
> 100
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] ffmpeg_video_codec
> mp4:h264_omx
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] locate_motion_mode        on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] locate_motion_style
> redbox
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_left
> FrontDoor
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_changes              on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] text_double               on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] target_dir
> /usr/camera/files/Camera1
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] snapshot_filename
> %Y-%m-%d/%H-%M-%S
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] picture_filename
> %Y-%m-%d/%H-%M-%S
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] movie_filename
> %Y-%m-%d/%H-%M-%S
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_port
> 8081
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_quality            85
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_motion             on
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_maxrate            21
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] stream_authentication
> <redacted>
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] on_event_start
> /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh
> "/etc/motioneye/motioneye.conf" start %t; /usr/bin/python
> /usr/local/lib/python2.7/dist-packages/motioneye/meyectl.pyc sendmail -c
> /etc/motioneye/motioneye.conf 'smtp.gmail.com' '587' '
> info.from.our.pl...@gmail.com' 'S0meth!ngH@ppened' 'True'
> 'InfoFromOurPlace' 'geete...@gmail.com' 'motion_start' '%t'
> '%Y-%m-%dT%H:%M:%S' '30'
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] on_event_end
> /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh
> "/etc/motioneye/motioneye.conf" stop %t
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] on_picture_save
> /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh
> "/etc/motioneye/motioneye.conf" picture_save %t %f
>
> [4544024:motion] [INF] [ALL] [Jan 09 15:11:14] on_movie_end
> /usr/local/lib/python2.7/dist-packages/motioneye/scripts/relayevent.sh
> "/etc/motioneye/motioneye.conf" movie_end %t %f
>
> [4544024:motion] [NTC] [ENC] [Jan 09 15:11:14] ffmpeg_global_init: ffmpeg
> libavcodec version 57.64.101 libavformat version 57.56.101
>
> [0:motion] [NTC] [ALL] [Jan 09 15:11:14] main: Camera ID: 1 is from
> thread-1.conf
>
> [0:motion] [NTC] [ALL] [Jan 09 15:11:14] main: Camera ID: 1 Camera Name:
> (null) Service: rtsp:
>
> [0:motion] [NTC] [ALL] [Jan 09 15:11:14] main: Stream port 8081
>
> [0:motion] [NTC] [ALL] [Jan 09 15:11:14] main: Waiting for threads to
> finish, pid: 18645
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:11:14] motion_init: Camera 1 started:
> motion detection Enabled
>
> [0:wc0] [NTC] [STR] [Jan 09 15:11:14] http_bindsock: listening on any IPv4
> address port 7999
>
> [1:ml1] [NTC] [VID] [Jan 09 15:11:14] vid_start: Opening Netcam RTSP
>
> [0:wc0] [NTC] [STR] [Jan 09 15:11:14] httpd_run: Started motion-httpd
> server on port 7999 (auth Disabled)
>
> [1:ml1] [INF] [NET] [Jan 09 15:11:14] netcam_rtsp_set_parms: Setting up
> Normal resolution stream.
>
> [1:ml1] [INF] [NET] [Jan 09 15:11:14] netcam_rtsp_set_path: Setting up
> rtsp via ffmpeg netcam
>
> [1:ml1] [INF] [NET] [Jan 09 15:11:14] netcam_rtsp_set_rtsp: Normal
> resolution: Setting rtsp transport to tcp
>
> [1:ml1] [INF] [NET] [Jan 09 15:11:14] netcam_rtsp_open_context: Normal
> resolution: Opened camera((null))
>
> [1:ml1] [INF] [ENC] [Jan 09 15:11:17] ffmpeg_avcodec_log: deprecated pixel
> format used, make sure you did set range correctly
>
> [1:ml1] [NTC] [NET] [Jan 09 15:11:17] netcam_rtsp_connect: Normal
> resolution: Camera ((null)) connected
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:11:17] image_ring_resize: Resizing
> pre_capture buffer to 1 items
>
> [3:nc3] [NTC] [NET] [Jan 09 15:11:17] netcam_rtsp_handler: Normal
> resolution: Camera handler thread [3] started
>
> [1:ml1] [NTC] [STR] [Jan 09 15:11:17] http_bindsock: listening on
> 127.0.0.1 port 8081
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:11:17] motion_init: Started motion-stream
> server on port 8081 (auth Disabled)
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:11:17] image_ring_resize: Resizing
> pre_capture buffer to 7 items
>
> [3:nc3] [INF] [NET] [Jan 09 15:11:17] netcam_rtsp_open_context: Normal
> resolution: Opened camera((null))
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:20] ffmpeg_avcodec_log: deprecated pixel
> format used, make sure you did set range correctly
>
> [1:ml1] [INF] [ALL] [Jan 09 15:11:20] mlp_detection: Lightswitch detected
>
> [3:nc3] [NTC] [NET] [Jan 09 15:11:20] netcam_rtsp_connect: Normal
> resolution: Camera ((null)) connected
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:31] ffmpeg_avcodec_log: Increasing
> reorder buffer to 1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:38] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 58 20
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:38] ffmpeg_avcodec_log: error while
> decoding MB 58 20, bytestream 14742
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:11:48] ffmpeg_avcodec_log: error while
> decoding MB 0 22, bytestream 9064
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:18] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:18] ffmpeg_avcodec_log: error while
> decoding MB 0 24, bytestream 1016
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:38] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:38] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 37190
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:12:48] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 34072
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:08] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:08] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 84544
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:18] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:18] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 35287
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:28] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:28] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 27849
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:48] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 6457
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:58] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:13:58] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 39834
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:08] ffmpeg_avcodec_log: left block
> unavailable for requested intra mode
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:08] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 47819
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:18] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:18] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 56614
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:28] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:28] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 80281
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:38] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:38] ffmpeg_avcodec_log: error while
> decoding MB 0 13, bytestream 84827
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:48] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 40830
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:58] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:14:58] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 48958
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:08] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:08] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 42196
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:18] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:18] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 46253
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:27] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:27] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 28922
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:38] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:38] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 38746
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:48] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 43337
>
> [3:nc3] [INF] [ENC] [Jan 09 15:15:57] ffmpeg_avcodec_log: error while
> decoding MB 69 13, bytestream -14
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:17] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:17] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 53794
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:27] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:27] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 48206
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:47] ffmpeg_avcodec_log: error while
> decoding MB 27 14, bytestream -18
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:57] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:16:57] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 61869
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:07] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:07] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 144185
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:17] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:17] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 39272
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:27] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:27] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 33385
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:37] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:37] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 26960
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:48] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:48] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 21821
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:57] ffmpeg_avcodec_log: left block
> unavailable for requested intra mode
>
> [3:nc3] [INF] [ENC] [Jan 09 15:17:57] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 81450
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:17] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:17] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 75263
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:27] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:27] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 42702
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:37] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 67 13
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:37] ffmpeg_avcodec_log: error while
> decoding MB 67 13, bytestream 56068
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:47] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:47] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 26880
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:57] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 29 13
>
> [3:nc3] [INF] [ENC] [Jan 09 15:18:57] ffmpeg_avcodec_log: error while
> decoding MB 29 13, bytestream 84539
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:17] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 76 14
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:17] ffmpeg_avcodec_log: error while
> decoding MB 76 14, bytestream 27509
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:37] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:37] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 38099
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:47] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 6 16
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:47] ffmpeg_avcodec_log: error while
> decoding MB 6 16, bytestream 42404
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:57] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:19:57] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 33611
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:07] ffmpeg_avcodec_log: cabac decode of
> qscale diff failed at 24 14
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:07] ffmpeg_avcodec_log: error while
> decoding MB 24 14, bytestream 43285
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:17] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:17] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 36698
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:27] ffmpeg_avcodec_log: left block
> unavailable for requested intra4x4 mode -1
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:27] ffmpeg_avcodec_log: error while
> decoding MB 0 14, bytestream 43897
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:57] ffmpeg_avcodec_log: left block
> unavailable for requested intra mode
>
> [3:nc3] [INF] [ENC] [Jan 09 15:20:57] ffmpeg_avcodec_log: error while
> decoding MB 0 15, bytestream 39595
>
> [0:wc0] [NTC] [STR] [Jan 09 15:21:03] httpd_run: motion-httpd - Finishing
>
> [0:wc0] [NTC] [STR] [Jan 09 15:21:03] httpd_run: motion-httpd Closing
>
> [0:wc0] [NTC] [STR] [Jan 09 15:21:03] motion_web_control: motion-httpd
> thread exit
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:21:03] mlp_actions: End of event 1
>
> [1:ml1] [NTC] [ALL] [Jan 09 15:21:03] motion_loop: Thread exiting
>
> [1:ml1] [NTC] [STR] [Jan 09 15:21:03] stream_stop: Closing motion-stream
> listen socket & active motion-stream sockets
>
> [1:ml1] [NTC] [STR] [Jan 09 15:21:03] stream_stop: Closed motion-stream
> listen socket & active motion-stream sockets
>
> [1:ml1] [INF] [ALL] [Jan 09 15:21:03] motion_cleanup: Calling vid_close()
> from motion_cleanup
>
> [1:ml1] [INF] [VID] [Jan 09 15:21:03] vid_close: calling
> netcam_rtsp_cleanup
>
> [1:ml1] [INF] [NET] [Jan 09 15:21:03] netcam_rtsp_cleanup: Normal
> resolution: Shutting down network camera.
>
> [3:nc3] [INF] [NET] [Jan 09 15:21:03] netcam_rtsp_read_image: Normal
> resolution: av_read_frame: Success ,Interrupt: True
>
> [3:nc3] [INF] [NET] [Jan 09 15:21:03] netcam_rtsp_handler: Normal
> resolution: Handler loop finished.
>
> [3:nc3] [INF] [NET] [Jan 09 15:21:03] netcam_rtsp_handler: netcam camera
> handler: finish set, exiting
>
> [1:ml1] [NTC] [NET] [Jan 09 15:21:04] netcam_rtsp_cleanup: Normal
> resolution: Shut down complete.
>
> [0:motion] [NTC] [ALL] [Jan 09 15:21:05] main: Threads finished
>
> [0:motion] [NTC] [ALL] [Jan 09 15:21:06] main: Motion terminating
>
> [0:motion] [NTC] [ALL] [Jan 09 15:21:06] motion_remove_pid: Closing
> logfile (/tmp/motion-debug.log).
>
>
>
>
>
> *Greg Thomas* | Solution Executive
>
> Unisys | +64 21 983 446 | greg.tho...@unisys.com
>
> Level 12, 155 The Terrace, Wellington, New Zealand
>
> [image: unisys_logo] <http://www.unisys.com/>
>
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all devices.
>
> [image: Grey_LI] <http://www.linkedin.com/company/unisys>  [image:
> Grey_TW] <http://twitter.com/unisyscorp> [image: Grey_GP]
> <https://plus.google.com/+UnisysCorp/posts>[image: Grey_YT]
> <http://www.youtube.com/theunisyschannel>[image: Grey_FB]
> <http://www.facebook.com/unisyscorp>[image: Grey_Vimeo]
> <https://vimeo.com/unisys>[image: Grey_UB] <http://blogs.unisys.com/>
>
>
>
> On Mon, 7 Jan 2019 at 22:22, tosiara <tosi...@gmail.com> wrote:
>
>> I have a camera that always produces corrupted image when on UDP.
>> There should be no packet loss as it is connected directly with 2m
>> cable. But when switched to TCP - picture is clear and stable
>>
>> Please run motion with "-d 7" switch and upload the full log
>> somewhere. It is preffered to use only one camera during the test
>>
>> On Mon, Jan 7, 2019 at 11:17 AM greg thomas <geete...@gmail.com> wrote:
>> >
>> > They're configured to use TCP. I don't think it's a lost pack type of
>> scenario because the image appears to be 'intact' below the color smear.
>> >
>> > Regards
>> >
>> > Greg
>> >
>> > On Mon, 7 Jan 2019, 9:37 PM tosiara <tosi...@gmail.com wrote:
>> >>
>> >> Are you using UDP RTSP?
>> >>
>> >> On Mon, Jan 7, 2019 at 4:49 AM greg thomas <geete...@gmail.com> wrote:
>> >> >
>> >> > Hello,
>> >> >    I have a Raspberry Pi 3B running Debian Stretch kernel with
>> Motion 4.1.1 with two network cameras. Everything is connected via wired
>> Ethernet, and the cameras are set to use TCP. The cameras are 1M pxiel
>> cameras, and sending 10fps.
>> >> >
>> >> > On the stream feeds I get image corruption as shown in the
>> attachments.
>> >> > I looks as if the image corruption is actually an overlay as the
>> underlying image is generally still visible, albeit somewhat blurred. It
>> looks like a chromatic issue, rather than a dropped packet issue. I have
>> set the iframe interval to between 2 and 20 to try and force a full frame
>> to be sent, but it makes no difference. I've tried changing the fps, up and
>> down, and it makes no difference. I am running these through Motion-Eye,
>> and have also tried MiotionEyeOS, both make no difference. I can connect to
>> the stream via VLC, and the images are 100% clean. I connect to the cameras
>> via the CMS software, and the images are also clean.
>> >> >
>> >> > Any thoughts on this please?
>> >> >
>> >> > Regards
>> >> >
>> >> > Greg
>> >> > _______________________________________________
>> >> > 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
-------------- next part --------------
An HTML attachment was scrubbed...

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



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

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 151, Issue 15
********************************************

Reply via email to