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: Motion no longer working with Axis 2100 network camera
      (tosiara)
   2. Re: Motion no longer working with Axis 2100 network camera
      (Dougie Nisbet)


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

Message: 1
Date: Tue, 2 Apr 2019 17:54:58 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Motion no longer working with Axis 2100
        network camera
Message-ID:
        <CACHTdwT9u4xNbWLWco1W7sHca80c8Da_GxnYMHKGZz=fmp7...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

First, are you sure /axis-cgi/jpg/image.cgi is providing MJPEG?
Try "ffprobe http://192.168.1.6/axis-cgi/jpg/image.cgi"; and provide the output
Next, try to set this "netcam_url
mjpeg://192.168.1.6:80/axis-cgi/jpg/image.cgi" and provide fresh log
file

On Mon, Apr 1, 2019 at 11:01 PM Dougie Nisbet <dou...@katsura.uk> wrote:
>
> I'm not sure if this is an old camera that's end of life or a change in 
> motion.
>
> Camera: Axis 2100
>
> OS: Debian Stretch
>
> motion Version 4.2.2
>
> This used to work but now it doesn't, and I'm not sure when it stopped 
> working.
>
> From the logs:
>
> [1:ml1:garage1] [WRN] [NET] Above message repeats 1995 times
> [1:ml1:garage1] [WRN] [NET] netcam_next: called with no data in buffer
> [1:nc6:garage1] [ERR] [NET] netcam_read_first_header: Error sending 'connect' 
> request: Broken pipe
> [1:nc6:garage1] [ERR] [NET] Above message repeats 5000 times
>
> And from my config file:
>
> # URL to use if you are using a network camera, size will be autodetected 
> (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or file:///)
> # Must be a URL that returns single jpeg pictures or a raw mjpeg stream. A 
> trailing slash may be required for some cameras.
> # Default: Not defined
> #netcam_url http://192.168.1.7/video.mjpg
> netcam_url http://192.168.1.6/axis-cgi/jpg/image.cgi
>
> My first thought was that the camera had stopped working, but I can connect 
> to it and see the image using the URL above. I've had a bit of a search and 
> tried different options, such as using mjpeg instead of http and checking 
> that the authorisation works.
>
> I've also just tried the default motion.conf file and changed just the 
> netcam_url and added netcam_userpass as a rudimentary check in case I've 
> accidentally added anything odd and it's much the same except for:
>
> [1:nc6] [NTC] [NET] netcam_read_html_jpeg: disconnecting netcam since 
> keep-alive not set.
> [1:nc6] [NTC] [NET] netcam_read_first_header: Non-streaming camera 
> (keep-alive not set)
>
> I've tried adding netcam_keepalive with the options off, force, and on. With 
> 'force' or 'on' I get:
>
> [1:ml1] [WRN] [NET] Above message repeats 4381 times
> [1:ml1] [WRN] [NET] netcam_next: called with no data in buffer
> [1:nc6] [ERR] [NET] netcam_read_first_header: Error sending 'connect' 
> request: Broken pipe
>
> My hunch is that the camera is end of life. Anything else I can try?
>
> Thanks
>
> Dougie
>
>
>
> _______________________________________________
> 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



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

Message: 2
Date: Wed, 3 Apr 2019 12:12:28 +0100
From: Dougie Nisbet <dou...@katsura.uk>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Motion no longer working with Axis 2100
        network camera
Message-ID: <9a27c511-7b48-8cf1-efa0-cc5f67074...@katsura.uk>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 02/04/2019 15:54, tosiara wrote:
> First, are you sure /axis-cgi/jpg/image.cgi is providing MJPEG?
> Try "ffprobehttp://192.168.1.6/axis-cgi/jpg/image.cgi"; and provide the output
> Next, try to set this "netcam_url
> mjpeg://192.168.1.6:80/axis-cgi/jpg/image.cgi" and provide fresh log
> file

Ok I did a fresh install on a different machine. Things were a bit 
confused as I brought the camera in for testing and was unknowingly 
using an unreliable network cable that was not working 100% of the time. 
The following is more definitive.

Camera is tbird6 (192.168.1.6)

dougie@office:~$ ping tbird6
PING tbird6_192_168_1_6 (192.168.1.6) 56(84) bytes of data.
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=1 ttl=64 
time=0.321 ms
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=2 ttl=64 
time=0.352 ms
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=3 ttl=64 
time=0.401 ms
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=4 ttl=64 
time=0.398 ms
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=5 ttl=64 
time=0.384 ms
64 bytes from tbird6_192_168_1_6 (192.168.1.6): icmp_seq=6 ttl=64 
time=0.398 ms

--- tbird6_192_168_1_6 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5065ms
rtt min/avg/max/mdev = 0.321/0.375/0.401/0.037 ms
dougie@office:~$

    dougie@office:~/bin$ ffprobe http://192.168.1.6/axis-cgi/jpg/image.cgi
    ffprobe version 3.2.12-1~deb9u1 Copyright (c) 2007-2018 the FFmpeg
    developers
     ? built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     ? configuration: --prefix=/usr --extra-version='1~deb9u1'
    --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
    --incdir=/usr/include/x86_64-linux-gnu --enable-gpl
    --disable-stripping --enable-avresample --enable-avisynth
    --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
    --enable-libbs2b --enable-libcaca --enable-libcdio
    --enable-libebur128 --enable-libflite --enable-libfontconfig
    --enable-libfreetype --enable-libfribidi --enable-libgme
    --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
    --enable-libopenmpt --enable-libopus --enable-libpulse
    --enable-librubberband --enable-libshine --enable-libsnappy
    --enable-libsoxr --enable-libspeex --enable-libssh
    --enable-libtheora --enable-libtwolame --enable-libvorbis
    --enable-libvpx --enable-libwavpack --enable-libwebp
    --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi
    --enable-omx --enable-openal --enable-opengl --enable-sdl2
    --enable-libdc1394 --enable-libiec61883 --enable-chromaprint
    --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     ? libavutil????? 55. 34.101 / 55. 34.101
     ? libavcodec???? 57. 64.101 / 57. 64.101
     ? libavformat??? 57. 56.101 / 57. 56.101
     ? libavdevice??? 57.? 1.100 / 57.? 1.100
     ? libavfilter???? 6. 65.100 /? 6. 65.100
     ? libavresample?? 3.? 1.? 0 /? 3.? 1.? 0
     ? libswscale????? 4.? 2.100 /? 4.? 2.100
     ? libswresample?? 2.? 3.100 /? 2.? 3.100
     ? libpostproc??? 54.? 1.100 / 54.? 1.100
    [http @ 0x560beaf18ec0] Stream ends prematurely at 22006, should be
    18446744073709551615
     ??? Last message repeated 5 times
    Input #0, jpeg_pipe, from 'http://192.168.1.6/axis-cgi/jpg/image.cgi':
     ? Duration: N/A, bitrate: N/A
     ??? Stream #0:0: Video: mjpeg, yuvj422p(pc,
    bt470bg/unknown/unknown), 640x480, 25 tbr, 25 tbn, 25 tbc
    dougie@office:~/bin$


With the following config (netcam_url using http):

    # URL to use if you are using a network camera, size will be
    autodetected (incl http:// ftp:// mjpg:// rtsp:// mjpeg:// or file:///)
    # Must be a URL that returns single jpeg pictures or a raw mjpeg
    stream. A trailing slash may be required for some cameras.
    # Default: Not defined
    netcam_url http://192.168.1.6:80/axis-cgi/jpg/image.cgi

    # Username and password for network camera (only if required).
    Default: not defined
    # Syntax is user:password
    netcam_userpass <removed>:<removed>

    # The setting for keep-alive of network socket, should improve
    performance on compatible net cameras.
    # off:?? The historical implementation using HTTP/1.0, closing the
    socket after each http request.
    # force: Use HTTP/1.0 requests with keep alive header to reuse the
    same connection.
    # on:??? Use HTTP/1.1 requests that support keep alive as default.
    # Default: off
    netcam_keepalive on

    # URL to use for a netcam proxy server, if required, e.g.
    "http://myproxy";.
    # If a port number other than 80 is needed, use "http://myproxy:1234";.
    # Default: not defined
    ; netcam_proxy value

    # Set less strict jpeg checks for network cameras with a poor/buggy
    firmware.
    # Default: off
    netcam_tolerant_check on


logfile shows:

    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] motion_startup: Motion
    4.2.2 Started
    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] motion_startup: Using log
    type (ALL) log level (NTC)
    [0:motion] [NTC] [STR] [Apr 03 11:37:07] webu_start_strm: Starting
    all camera streams on port 8633
    [0:motion] [NTC] [STR] [Apr 03 11:37:07] webu_strm_ntc: Started
    camera 0 stream on port 8633
    [0:motion] [NTC] [STR] [Apr 03 11:37:07] webu_start_ctrl: Starting
    webcontrol on port 8080
    [0:motion] [NTC] [STR] [Apr 03 11:37:07] webu_start_ctrl: Started
    webcontrol on port 8080
    [0:motion] [NTC] [ENC] [Apr 03 11:37:07] ffmpeg_global_init: ffmpeg
    libavcodec version 57.64.101 libavformat version 57.56.101
    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] translate_init: Language:
    English
    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] motion_start_thread: Camera
    ID: 0 is from /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] motion_start_thread: Camera
    ID: 0 Camera Name: tbird6 Service: http:
    [0:motion] [NTC] [ALL] [Apr 03 11:37:07] main: Waiting for threads
    to finish, pid: 3568
    [1:ml1:tbird6] [NTC] [ALL] [Apr 03 11:37:07] motion_init: Camera 0
    started: motion detection Enabled
    [1:ml1:tbird6] [NTC] [VID] [Apr 03 11:37:07] vid_start: Opening Netcam
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:37:07] netcam_start: Network
    Camera starting for camera (tbird6)
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:37:07]
    netcam_read_first_header: Non-streaming camera (keep-alive set)
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:37:07] netcam_setup_html:
    connected, going on to read image.
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:37:07] netcam_read_html_jpeg:
    leaving netcam connected.
    [1:ml1:tbird6] [NTC] [ALL] [Apr 03 11:37:07] image_ring_resize:
    Resizing pre_capture buffer to 1 items
    [1:nc2:tbird6] [NTC] [NET] [Apr 03 11:37:07] netcam_handler_loop:
    Camera handler thread [2] started
    [1:nc2:tbird6] [WRN] [NET] [Apr 03 11:37:07]
    netcam_read_first_header: Error reading first header ()
    [1:ml1:tbird6] [WRN] [NET] Above message repeats 27 times
    [1:ml1:tbird6] [WRN] [NET] [Apr 03 11:37:07] netcam_next: called
    with no data in buffer
    [1:nc2:tbird6] [WRN] [NET] [Apr 03 11:37:07]
    netcam_read_first_header: Error reading first header ()
    [1:nc2:tbird6] [ERR] [NET] Above message repeats 60 times
    [1:nc2:tbird6] [ERR] [NET] [Apr 03 11:37:07]
    netcam_read_first_header: Error sending 'connect' request: Broken pipe
    [1:nc2:tbird6] [ERR] [NET] Above message repeats 5000 times
    [1:nc2:tbird6] [ERR] [NET] [Apr 03 11:37:07]
    netcam_read_first_header: Error sending 'connect' request: Broken pipe
    [1:nc2:tbird6] [ERR] [NET] Above message repeats 5000 times

Changing the netcam_url line in the config file to:

    netcam_url mjpeg://192.168.1.6:80/axis-cgi/jpg/image.cgi

produces logs:

    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] motion_startup: Motion
    4.2.2 Started
    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] motion_startup: Using log
    type (ALL) log level (NTC)
    [0:motion] [NTC] [STR] [Apr 03 11:39:56] webu_start_strm: Starting
    all camera streams on port 8633
    [0:motion] [NTC] [STR] [Apr 03 11:39:56] webu_strm_ntc: Started
    camera 0 stream on port 8633
    [0:motion] [NTC] [STR] [Apr 03 11:39:56] webu_start_ctrl: Starting
    webcontrol on port 8080
    [0:motion] [NTC] [STR] [Apr 03 11:39:56] webu_start_ctrl: Started
    webcontrol on port 8080
    [0:motion] [NTC] [ENC] [Apr 03 11:39:56] ffmpeg_global_init: ffmpeg
    libavcodec version 57.64.101 libavformat version 57.56.101
    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] translate_init: Language:
    English
    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] motion_start_thread: Camera
    ID: 0 is from /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] motion_start_thread: Camera
    ID: 0 Camera Name: tbird6 Service: mjpeg
    [0:motion] [NTC] [ALL] [Apr 03 11:39:56] main: Waiting for threads
    to finish, pid: 6337
    [1:ml1:tbird6] [NTC] [ALL] [Apr 03 11:39:56] motion_init: Camera 0
    started: motion detection Enabled
    [1:ml1:tbird6] [NTC] [VID] [Apr 03 11:39:56] vid_start: Opening
    Netcam RTSP
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc: The
    image sent is being
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    trancoded to YUV420P.? If possible change netcam
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    picture format to YUV420P to possibly lower CPU usage.
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_ntc:
    [1:ml1:tbird6] [NTC] [NET] [Apr 03 11:39:56] netcam_rtsp_cleanup:
    Normal resolution: Shut down complete.
    [1:ml1:tbird6] [ERR] [VID] [Apr 03 11:39:56] vid_start: Netcam RTSP
    failed to open
    [1:ml1:tbird6] [WRN] [ALL] [Apr 03 11:39:56] motion_init: Could not
    fetch initial image from camera
    [1:ml1:tbird6] [WRN] [ALL] [Apr 03 11:39:56] motion_init: Motion
    continues using width and height from config file(s)
    [1:ml1:tbird6] [NTC] [ALL] [Apr 03 11:39:56] image_ring_resize:
    Resizing pre_capture buffer to 1 items
    [1:ml1:tbird6] [WRN] [ALL] [Apr 03 11:40:00] mlp_retry: Retrying
    until successful connection with camera

Output on the command line when starting motion:

    dougie@office:~/.motion$ motion
    [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file
    /home/dougie/.motion/motion.conf
    [0:motion] [ALR] [ALL] conf_cmdparse: "process_id_file" replaced
    with "pid_file" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "logfile" replaced with
    "log_file" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "power_line_frequency"
    replaced with "vid_control_params" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "rtsp_uses_tcp" replaced with
    "netcam_use_tcp" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "brightness" replaced with
    "vid_control_params" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "contrast" replaced with
    "vid_control_params" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "saturation" replaced with
    "vid_control_params" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "hue" replaced with
    "vid_control_params" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "switchfilter" replaced with
    "roundrobin_switchfilter" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "lightswitch" replaced with
    "lightswitch_percent" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "max_movie_time" replaced with
    "movie_max_time" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "output_pictures" replaced
    with "picture_output" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "output_debug_pictures"
    replaced with "picture_output_motion" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "quality" replaced with
    "picture_quality" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_movies"
    replaced with "movie_output" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_output_debug_movies"
    replaced with "movie_output_motion" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_bps" replaced with
    "movie_bps" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_variable_bitrate"
    replaced with "movie_quality" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_video_codec" replaced
    with "movie_codec" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ffmpeg_duplicate_frames"
    replaced with "movie_duplicate_frames" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "use_extpipe" replaced with
    "movie_extpipe_use" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "text_double" replaced with
    "text_scale" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "exif_text" replaced with
    "picture_exif" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "ipv6_enabled" replaced with
    "webcontrol_ipv6" after version 4.1.1
    [0:motion] [ALR] [ALL] conf_cmdparse: "webcontrol_html_output"
    replaced with "webcontrol_interface" after version 4.1.1
    [0:motion] [NTC] [ALL] motion_startup: Logging to file
    (/home/dougie/logs/tbird6.log)

Using a vanilla config file from 4.2.2 and ONLY changing the following:

    # File to write logs messages into.? If not defined stderr and
    syslog is used.
    log_file /home/dougie/logs/tbird6.log

    # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF,
    DBG, ALL).
    log_level 9

    # The full URL of the network camera stream.
    netcam_url http://192.168.1.6:80/axis-cgi/jpg/image.cgi

    # Username and password for network camera (only if required).
    Default: not defined
    # Syntax is user:password
    netcam_userpass <deleted>:<deleted>


produces on the command line:

    dougie@office:~$ motion
    [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file
    /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] motion_startup: Logging to file
    (/home/dougie/logs/tbird6.log)

and from the logfile:

    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] motion_startup: Motion
    4.2.2 Started
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] motion_startup: Using
    default log type (ALL)
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] motion_startup: Using log
    type (ALL) log level (ALL)
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] conf_output_parms: Writing
    configuration parameters from all files (1):
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] Thread 0 - Config file:
    /home/dougie/.motion/motion.conf
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] daemon??????????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] setup_mode??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] pid_file
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] log_file?????????????????
    /home/dougie/logs/tbird6.log
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] log_level???????????????? 9
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] log_type????????????????? ALL
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] quiet???????????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] native_language?????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] camera_name
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] camera_id???????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] target_dir???????????????
    /home/dougie
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] videodevice??????????????
    /dev/video0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] vid_control_params
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] v4l2_palette????????????? 17
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] input???????????????????? -1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] norm????????????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] frequency???????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] auto_brightness?????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] tunerdevice
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] roundrobin_frames???????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] roundrobin_skip?????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] roundrobin_switchfilter?? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_url???????????????
    <redacted>
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_highres
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_userpass??????????
    <redacted>
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_keepalive????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_proxy
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_tolerant_check???? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] netcam_use_tcp??????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] mmalcam_name
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] mmalcam_control_params
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] width???????????????????? 640
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] height??????????????????? 480
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] framerate???????????????? 15
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] minimum_frame_time??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] rotate??????????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] flip_axis???????????????? none
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] locate_motion_mode??????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] locate_motion_style?????? box
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] text_left????????????????
    CAMERA1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] text_right???????????????
    %Y-%m-%d\n%T-%q
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] text_changes????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] text_scale??????????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] text_event???????????????
    %Y%m%d%H%M%S
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] emulate_motion??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] threshold???????????????? 1500
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] threshold_maximum???????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] threshold_tune??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] noise_level?????????????? 32
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] noise_tune??????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] despeckle_filter????????? EedDl
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] area_detect
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] mask_file
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] mask_privacy
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] smart_mask_speed????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] lightswitch_percent?????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] lightswitch_frames??????? 5
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] minimum_motion_frames???? 1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] event_gap???????????????? 60
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] pre_capture?????????????? 3
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] post_capture????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_event_start
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_event_end
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_picture_save
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_area_detected
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_motion_detected
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_movie_start
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_movie_end
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_camera_lost
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] on_camera_found
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_output??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_output_motion???? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_type????????????? jpeg
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_quality?????????? 75
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_exif
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] picture_filename?????????
    %Y%m%d%H%M%S-%q
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] snapshot_interval???????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] snapshot_filename????????
    %v-%Y%m%d%H%M%S-snapshot
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_output????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_output_motion?????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_max_time??????????? 60
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_bps????????????????
    400000
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_quality???????????? 45
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_codec?????????????? mkv
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_duplicate_frames??? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_passthrough???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_filename???????????
    %t-%v-%Y%m%d%H%M%S
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_extpipe_use???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] movie_extpipe
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] timelapse_interval??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] timelapse_mode??????????? daily
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] timelapse_fps???????????? 30
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] timelapse_codec?????????? mpg
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] timelapse_filename???????
    %Y%m%d-timelapse
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] video_pipe
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] video_pipe_motion
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_port?????????? 8080
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_ipv6?????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_localhost????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_parms????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_interface????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_auth_method??? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_authentication
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_tls??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_cert
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_key
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] webcontrol_cors_header
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_port?????????????? 8081
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_localhost????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_auth_method??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_authentication
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_tls??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_cors_header
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_preview_scale????? 25
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_preview_newline??? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_preview_method???? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_quality??????????? 50
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_grey?????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_motion???????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_maxrate??????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] stream_limit????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_type
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_dbname
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_host????????????
    localhost
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_port???????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_user
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_password
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] database_busy_timeout???? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_log_picture?????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_log_snapshot????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_log_movie???????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_log_timelapse???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_query_start
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_query_stop
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] sql_query
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_type??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_auto??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_port
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_motorx????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_motorx_reverse????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_motory????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_motory_reverse????? off
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_maxx??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_minx??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_maxy??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_miny??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_homex?????????????? 128
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_homey?????????????? 128
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_iomojo_id?????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_step_angle_x??????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_step_angle_y??????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_move_wait?????????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_speed?????????????? 255
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_stepsize??????????? 40
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] track_generic_move
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] camera
    [0:motion] [INF] [ALL] [Apr 03 12:02:45] camera_dir
    [0:motion] [DBG] [ALL] [Apr 03 12:02:45] motion_ntc: v4l2?? : available
    [0:motion] [DBG] [ALL] [Apr 03 12:02:45] motion_ntc: bktr?? : not
    available
    [0:motion] [DBG] [ALL] [Apr 03 12:02:45] motion_ntc: webp?? : available
    [0:motion] [DBG] [ALL] [Apr 03 12:02:45] motion_ntc: mmal?? : not
    available
    [0:motion] [DBG] [ALL] [Apr 03 12:02:45] motion_ntc: ffmpeg : available
    [0:motion] [DBG] [DBL] [Apr 03 12:02:45] motion_ntc: mysql? : available
    [0:motion] [DBG] [DBL] [Apr 03 12:02:45] motion_ntc: sqlite3: available
    [0:motion] [DBG] [DBL] [Apr 03 12:02:45] motion_ntc: pgsql? : available
    [0:motion] [DBG] [DBL] [Apr 03 12:02:45] motion_ntc: nls??? : available
    [0:motion] [NTC] [STR] [Apr 03 12:02:45] webu_start_strm: Starting
    all camera streams on port 8081
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_basic:
    Basic authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_digest:
    Digest authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_ipv6:
    IPV6: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_tls:
    SSL/TLS: available
    [0:motion] [NTC] [STR] [Apr 03 12:02:45] webu_strm_ntc: Started
    camera 0 stream on port 8081
    [0:motion] [NTC] [STR] [Apr 03 12:02:45] webu_start_ctrl: Starting
    webcontrol on port 8080
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_basic:
    Basic authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_digest:
    Digest authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_ipv6:
    IPV6: available
    [0:motion] [DBG] [STR] [Apr 03 12:02:45] webu_mhd_features_tls:
    SSL/TLS: available
    [0:motion] [NTC] [STR] [Apr 03 12:02:45] webu_start_ctrl: Started
    webcontrol on port 8080
    [0:motion] [DBG] [VID] [Apr 03 12:02:45] bktr_mutex_init: BKTR is
    not enabled.
    [0:motion] [NTC] [ENC] [Apr 03 12:02:45] ffmpeg_global_init: ffmpeg
    libavcodec version 57.64.101 libavformat version 57.56.101
    [0:motion] [DBG] [DBL] [Apr 03 12:02:45] dbse_global_init:
    Initializing database
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] translate_init: Language:
    English
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] motion_start_thread: Camera
    ID: 0 is from /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] motion_start_thread: Camera
    ID: 0 Camera Name: (null) Service: http:
    [0:motion] [NTC] [ALL] [Apr 03 12:02:45] main: Waiting for threads
    to finish, pid: 8141
    [1:ml1] [NTC] [ALL] [Apr 03 12:02:45] motion_init: Camera 0 started:
    motion detection Enabled
    [1:ml1] [NTC] [VID] [Apr 03 12:02:45] vid_start: Opening Netcam
    [1:ml1] [NTC] [NET] [Apr 03 12:02:45] netcam_start: Network Camera
    starting for camera ((null))
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_url_parse: Using port
    number 80
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_start: Netcam_http
    parameter 'off' converts to flags: HTTP/1.0: 1 HTTP/1.1: 0
    Keep-Alive OFF.
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_start: now calling
    netcam_setup_html()
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_http_build_url: Netcam
    has flags: HTTP/1.0: 1 HTTP/1.1: 0 Keep-Alive OFF.
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_http_request: about to
    try to connect, time #0
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_connect: disconnecting
    netcam since keep-alive not set.
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_connect: with no
    keepalive, new socket created fd 6
    [1:ml1] [INF] [NET] [Apr 03 12:02:45] netcam_connect: re-using
    socket 6 since keepalive is set.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_read_first_header:
    Received first header ('HTTP/1.0 200 OK')
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_read_first_header:
    Received first header ('Content-Type: image/jpeg')
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_content_type:
    Content-type image/jpeg
    [1:ml1] [NTC] [NET] [Apr 03 12:02:46] netcam_read_first_header:
    Non-streaming camera (keep-alive not set)
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_read_first_header:
    Received first header ('')
    [1:ml1] [NTC] [NET] [Apr 03 12:02:46] netcam_setup_html: connected,
    going on to read image.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [0/0] to [0/4096] bytes.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [2920/4096] to [2920/8192] bytes.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [7300/8192] to [7300/12288] bytes.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [11680/12288] to [11680/16384] bytes.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [16060/16384] to [16060/20480] bytes.
    [1:ml1] [DBG] [NET] [Apr 03 12:02:46] netcam_check_buffsize:
    expanding buffer from [20440/20480] to [20440/24576] bytes.
    [1:ml1] [NTC] [NET] [Apr 03 12:02:46] netcam_read_html_jpeg:
    disconnecting netcam since keep-alive not set.
    [1:ml1] [INF] [NET] [Apr 03 12:02:46] netcam_get_dimensions:
    JFIF_marker NOT PRESENT ret 0
    [1:ml1] [NTC] [ALL] [Apr 03 12:02:46] image_ring_resize: Resizing
    pre_capture buffer to 1 items

Changing netcam_url to:

    netcam_url mjpeg://192.168.1.6:80/axis-cgi/jpg/image.cgi

gives the following:

    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] motion_startup: Motion
    4.2.2 Started
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] motion_startup: Using
    default log type (ALL)
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] motion_startup: Using log
    type (ALL) log level (ALL)
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] conf_output_parms: Writing
    configuration parameters from all files (1):
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] Thread 0 - Config file:
    /home/dougie/.motion/motion.conf
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] daemon??????????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] setup_mode??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] pid_file
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] log_file?????????????????
    /home/dougie/logs/tbird6.log
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] log_level???????????????? 9
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] log_type????????????????? ALL
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] quiet???????????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] native_language?????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] camera_name
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] camera_id???????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] target_dir???????????????
    /home/dougie
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] videodevice??????????????
    /dev/video0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] vid_control_params
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] v4l2_palette????????????? 17
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] input???????????????????? -1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] norm????????????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] frequency???????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] auto_brightness?????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] tunerdevice
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] roundrobin_frames???????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] roundrobin_skip?????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] roundrobin_switchfilter?? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_url???????????????
    <redacted>
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_highres
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_userpass??????????
    <redacted>
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_keepalive????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_proxy
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_tolerant_check???? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] netcam_use_tcp??????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] mmalcam_name
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] mmalcam_control_params
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] width???????????????????? 640
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] height??????????????????? 480
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] framerate???????????????? 15
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] minimum_frame_time??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] rotate??????????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] flip_axis???????????????? none
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] locate_motion_mode??????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] locate_motion_style?????? box
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] text_left????????????????
    CAMERA1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] text_right???????????????
    %Y-%m-%d\n%T-%q
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] text_changes????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] text_scale??????????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] text_event???????????????
    %Y%m%d%H%M%S
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] emulate_motion??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] threshold???????????????? 1500
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] threshold_maximum???????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] threshold_tune??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] noise_level?????????????? 32
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] noise_tune??????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] despeckle_filter????????? EedDl
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] area_detect
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] mask_file
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] mask_privacy
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] smart_mask_speed????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] lightswitch_percent?????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] lightswitch_frames??????? 5
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] minimum_motion_frames???? 1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] event_gap???????????????? 60
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] pre_capture?????????????? 3
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] post_capture????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_event_start
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_event_end
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_picture_save
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_area_detected
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_motion_detected
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_movie_start
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_movie_end
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_camera_lost
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] on_camera_found
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_output??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_output_motion???? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_type????????????? jpeg
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_quality?????????? 75
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_exif
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] picture_filename?????????
    %Y%m%d%H%M%S-%q
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] snapshot_interval???????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] snapshot_filename????????
    %v-%Y%m%d%H%M%S-snapshot
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_output????????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_output_motion?????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_max_time??????????? 60
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_bps????????????????
    400000
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_quality???????????? 45
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_codec?????????????? mkv
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_duplicate_frames??? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_passthrough???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_filename???????????
    %t-%v-%Y%m%d%H%M%S
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_extpipe_use???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] movie_extpipe
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] timelapse_interval??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] timelapse_mode??????????? daily
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] timelapse_fps???????????? 30
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] timelapse_codec?????????? mpg
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] timelapse_filename???????
    %Y%m%d-timelapse
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] video_pipe
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] video_pipe_motion
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_port?????????? 8080
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_ipv6?????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_localhost????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_parms????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_interface????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_auth_method??? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_authentication
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_tls??????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_cert
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_key
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] webcontrol_cors_header
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_port?????????????? 8081
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_localhost????????? on
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_auth_method??????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_authentication
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_tls??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_cors_header
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_preview_scale????? 25
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_preview_newline??? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_preview_method???? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_quality??????????? 50
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_grey?????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_motion???????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_maxrate??????????? 1
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] stream_limit????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_type
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_dbname
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_host????????????
    localhost
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_port???????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_user
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_password
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] database_busy_timeout???? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_log_picture?????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_log_snapshot????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_log_movie???????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_log_timelapse???????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_query_start
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_query_stop
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] sql_query
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_type??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_auto??????????????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_port
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_motorx????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_motorx_reverse????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_motory????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_motory_reverse????? off
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_maxx??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_minx??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_maxy??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_miny??????????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_homex?????????????? 128
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_homey?????????????? 128
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_iomojo_id?????????? 0
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_step_angle_x??????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_step_angle_y??????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_move_wait?????????? 10
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_speed?????????????? 255
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_stepsize??????????? 40
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] track_generic_move
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] camera
    [0:motion] [INF] [ALL] [Apr 03 12:07:46] camera_dir
    [0:motion] [DBG] [ALL] [Apr 03 12:07:46] motion_ntc: v4l2?? : available
    [0:motion] [DBG] [ALL] [Apr 03 12:07:46] motion_ntc: bktr?? : not
    available
    [0:motion] [DBG] [ALL] [Apr 03 12:07:46] motion_ntc: webp?? : available
    [0:motion] [DBG] [ALL] [Apr 03 12:07:46] motion_ntc: mmal?? : not
    available
    [0:motion] [DBG] [ALL] [Apr 03 12:07:46] motion_ntc: ffmpeg : available
    [0:motion] [DBG] [DBL] [Apr 03 12:07:46] motion_ntc: mysql? : available
    [0:motion] [DBG] [DBL] [Apr 03 12:07:46] motion_ntc: sqlite3: available
    [0:motion] [DBG] [DBL] [Apr 03 12:07:46] motion_ntc: pgsql? : available
    [0:motion] [DBG] [DBL] [Apr 03 12:07:46] motion_ntc: nls??? : available
    [0:motion] [NTC] [STR] [Apr 03 12:07:46] webu_start_strm: Starting
    all camera streams on port 8081
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_basic:
    Basic authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_digest:
    Digest authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_ipv6:
    IPV6: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_tls:
    SSL/TLS: available
    [0:motion] [NTC] [STR] [Apr 03 12:07:46] webu_strm_ntc: Started
    camera 0 stream on port 8081
    [0:motion] [NTC] [STR] [Apr 03 12:07:46] webu_start_ctrl: Starting
    webcontrol on port 8080
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_basic:
    Basic authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_digest:
    Digest authentication: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_ipv6:
    IPV6: available
    [0:motion] [DBG] [STR] [Apr 03 12:07:46] webu_mhd_features_tls:
    SSL/TLS: available
    [0:motion] [NTC] [STR] [Apr 03 12:07:46] webu_start_ctrl: Started
    webcontrol on port 8080
    [0:motion] [DBG] [VID] [Apr 03 12:07:46] bktr_mutex_init: BKTR is
    not enabled.
    [0:motion] [NTC] [ENC] [Apr 03 12:07:46] ffmpeg_global_init: ffmpeg
    libavcodec version 57.64.101 libavformat version 57.56.101
    [0:motion] [DBG] [DBL] [Apr 03 12:07:46] dbse_global_init:
    Initializing database
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] translate_init: Language:
    English
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] motion_start_thread: Camera
    ID: 0 is from /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] motion_start_thread: Camera
    ID: 0 Camera Name: (null) Service: mjpeg
    [0:motion] [NTC] [ALL] [Apr 03 12:07:46] main: Waiting for threads
    to finish, pid: 13508
    [1:ml1] [NTC] [ALL] [Apr 03 12:07:46] motion_init: Camera 0 started:
    motion detection Enabled
    [1:ml1] [NTC] [VID] [Apr 03 12:07:46] vid_start: Opening Netcam RTSP
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_set_parms: Setting
    up Normal resolution stream.
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_set_path: Setting
    up http via ffmpeg netcam
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_set_http: Normal
    resolution: Setting http input_format mjpeg
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_open_context:
    Normal resolution: Opened camera((null))
    [1:ml1] [INF] [ENC] [Apr 03 12:07:46] ffmpeg_avcodec_log: Stream
    ends prematurely at 22172, should be 18446744073709551615
    [1:ml1] [INF] [ENC] [Apr 03 12:07:46] ffmpeg_avcodec_log: deprecated
    pixel format used, make sure you did set range correctly
    [1:ml1] [DBG] [NET] [Apr 03 12:07:46] netcam_check_buffsize:
    expanding buffer from [0/0] to [0/462848] bytes.
    [1:ml1] [DBG] [NET] Above message repeats 1 times
    [1:ml1] [DBG] [NET] [Apr 03 12:07:46] netcam_check_buffsize:
    expanding buffer from [0/462848] to [0/614400] bytes.
    [1:ml1] [NTC] [NET] Above message repeats 1 times
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc:
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc: The image
    sent is being
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc: trancoded to
    YUV420P.? If possible change netcam
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc: picture
    format to YUV420P to possibly lower CPU usage.
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_ntc:
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_read_image: Normal
    resolution: av_read_frame: Input/output error ,Interrupt: False
    [1:ml1] [INF] [NET] [Apr 03 12:07:46] netcam_rtsp_cleanup: Normal
    resolution: Shutting down network camera.
    [1:ml1] [NTC] [NET] [Apr 03 12:07:46] netcam_rtsp_cleanup: Normal
    resolution: Shut down complete.
    [1:ml1] [ERR] [VID] [Apr 03 12:07:46] vid_start: Netcam RTSP failed
    to open
    [1:ml1] [WRN] [ALL] [Apr 03 12:07:46] motion_init: Could not fetch
    initial image from camera
    [1:ml1] [WRN] [ALL] [Apr 03 12:07:46] motion_init: Motion continues
    using width and height from config file(s)
    [1:ml1] [NTC] [ALL] [Apr 03 12:07:46] image_ring_resize: Resizing
    pre_capture buffer to 1 items
    [1:ml1] [NTC] [ALL] [Apr 03 12:07:46] image_ring_resize: Resizing
    pre_capture buffer to 4 items
    [1:ml1] [WRN] [ALL] [Apr 03 12:07:50] mlp_retry: Retrying until
    successful connection with camera
    [1:ml1] [NTC] [VID] [Apr 03 12:07:50] vid_start: Opening Netcam RTSP
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_set_parms: Setting
    up Normal resolution stream.
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_set_path: Setting
    up http via ffmpeg netcam
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_set_http: Normal
    resolution: Setting http input_format mjpeg
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_open_context:
    Normal resolution: Opened camera((null))
    [1:ml1] [INF] [ENC] [Apr 03 12:07:50] ffmpeg_avcodec_log: Stream
    ends prematurely at 22263, should be 18446744073709551615
    [1:ml1] [INF] [ENC] [Apr 03 12:07:50] ffmpeg_avcodec_log: deprecated
    pixel format used, make sure you did set range correctly
    [1:ml1] [DBG] [NET] [Apr 03 12:07:50] netcam_check_buffsize:
    expanding buffer from [0/0] to [0/462848] bytes.
    [1:ml1] [DBG] [NET] Above message repeats 1 times
    [1:ml1] [DBG] [NET] [Apr 03 12:07:50] netcam_check_buffsize:
    expanding buffer from [0/462848] to [0/614400] bytes.
    [1:ml1] [NTC] [NET] Above message repeats 1 times
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc:
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc: The image
    sent is being
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc: trancoded to
    YUV420P.? If possible change netcam
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc: picture
    format to YUV420P to possibly lower CPU usage.
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc:
    ******************************************************
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_ntc:
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_read_image: Normal
    resolution: av_read_frame: Input/output error ,Interrupt: False
    [1:ml1] [INF] [NET] [Apr 03 12:07:50] netcam_rtsp_cleanup: Normal
    resolution: Shutting down network camera.
    [1:ml1] [NTC] [NET] [Apr 03 12:07:50] netcam_rtsp_cleanup: Normal
    resolution: Shut down complete.
    [1:ml1] [ERR] [VID] [Apr 03 12:07:50] vid_start: Netcam RTSP failed
    to open
    [1:ml1] [NTC] [ALL] [Apr 03 12:07:50] motion_loop: Thread exiting
    [0:motion] [NTC] [ALL] [Apr 03 12:07:50] main: Motion thread 1 restart
    [0:motion] [NTC] [ALL] [Apr 03 12:07:50] motion_start_thread: Camera
    ID: 0 is from /home/dougie/.motion/motion.conf
    [0:motion] [NTC] [ALL] [Apr 03 12:07:50] motion_start_thread: Camera
    ID: 0 Camera Name: (null) Service: mjpeg
    [1:ml1] [NTC] [ALL] [Apr 03 12:07:50] motion_init: Camera 0 started:
    motion detection Enabled





-------------- 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 154, Issue 6
*******************************************

Reply via email to