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


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

Message: 1
Date: Mon, 1 Apr 2019 15:07:31 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Multiple Threads
Message-ID:
        <cachtdwse-se3z5juz3-ptbr7fzih+n_7rfain99g6-va3n9...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Some examples are available in the documentation:
https://motion-project.github.io/motion_config.html#movie_extpipe

On Mon, Apr 1, 2019 at 2:47 PM Harlan Daneker <hdane...@gmail.com> wrote:
>
> Right now I'm using:
> ffmpeg_video_codec mp4
> Could you give me an example of what to put after extpipe to use the same 
> codec?
>
>
> On Mon, Apr 1, 2019 at 4:41 AM tosiara <tosi...@gmail.com> wrote:
>>
>> When I last tested, motion performed encoding on a single thread.
>> Don't know if anything has changed
>> What is the problem with extpipe?
>>
>> On Fri, Mar 29, 2019 at 9:57 PM Harlan Daneker <hdane...@gmail.com> wrote:
>> >
>> > I have a mix of analog and rtsp cameras, 7 total. I'm using motion 4.1.1 
>> > compiled on Fedora 29. Will the newer versions of motion use multiple 
>> > threads by default? I've tried to set up external pipe in the past, but 
>> > I've never been able to get it to work. I'm not sure how to tell if it is 
>> > using multiple threads.
>> >
>> > Thanks,
>> > Harlan
>> > _______________________________________________
>> > 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



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

Message: 2
Date: Mon, 1 Apr 2019 21:00:23 +0100
From: Dougie Nisbet <dou...@katsura.uk>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Motion no longer working with Axis 2100 network
        camera
Message-ID: <c9f7270a-6605-7eab-9014-4357d370a...@katsura.uk>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

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



-------------- 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 4
*******************************************

Reply via email to