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: keep alive missing (tosiara)
   2. Re: Wrong Video Duration since upgrade to motion 4.5 (MrDave)


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

Message: 1
Date: Wed, 14 Dec 2022 16:14:43 +0200
From: tosiara <tosi...@gmail.com>
To: rich...@g8jvm.com,  Motion discussion list
        <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] keep alive missing
Message-ID:
        <cachtdwrdcvso9_8vlkgskq1hmw9kuokteutdc6wufbg6seg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

> Connection to tcp://192.168.1.71:81 failed: Connection timed out

that indicates some issues with the camera - ffmpeg is not able to connect
to it. Maybe replacing the camera is good idea

On Wed, Dec 14, 2022 at 4:12 PM Richard Bown <rich...@g8jvm.com> wrote:

> On Wed, 2022-12-14 at 06:49 -0700, MrDave wrote:
>
>
> Thanks for the info, I've ordered a TP-link tapo cam to use in its place ,
> which will be happier I hope
>
> FFmpeg is now used as the default for processing network cameras since it
> is more flexible and has greater support for all of the possible cameras
> and protocols in the world.  Users can specify any FFmpeg parameters via
> the netcam_params
>
> Some relevant ffmpeg options for this situation could be:
>
> reconnect_on_network_error = 1
> reconnect_at_eof=1
> reconnect=1
> multiple_requests=1
> reconnect_streamed=1
>
> Specify them like
>
> netcam_params
> reconnect_on_network_error=1,reconnect_at_eof=1,reconnect=1,multiple_requests=1,reconnect_streamed=1
>
> I'd note that these options became the default for http cameras in version
> 4.5.0.  So if any of them are not desired in that version the user must
> turn them off by specifying 0 instead of 1.  Version 4.5.0 also suppresses
> some of the excess messages that may be produced from reconnecting using
> the options.
>
> These and other camera options are included in the FFmpeg protocols
> documentation page.
>
>  To avoid using FFmpeg and instead use the legacy tcp methods, specify the
> camera url prefix as mjpeg instead of http.
>
> On 12/14/2022 3:39 AM, tosiara wrote:
>
> How does your netcam_url look like?
> Try different protocols, like http://, mjpeg://, mjpg:// - does any of
> them work?
>
> On Wed, Dec 14, 2022 at 12:30 PM Richard Bown <rich...@g8jvm.com> wrote:
>
> Hi, I have a Tenvis 391W ip cam , had it for ages, and with earlier
> versions it was working,  however, with 4.4 motion disables the cam as
> its says in the logs no keep alive signal from the cam.
> Is there a config setting that will cause motion to ignore this please,
> I can send a section of the log if need be. I know the camera is
> functional as I can monitor it on its direct ip-address, but after
> about 20 mins motion just greys it out.
> Thanks
> --
> --
>  Best wishes /73
>  Richard Bown
>
>  Email : rich...@g8jvm.com
>
>  HTTP  :  https://www.g8jvm.com
>
>  ######################################################################
>
> ########
>
>  Ham Call: G8JVM . QRV: HF + 50-432 MHz + Microwave
>  Maidenhead QRA: IO82SP38, LAT. 52.6620 N LONG. 2.4696 W
>  VHF: 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
>  Microwave: 1296MHz 110W, 2320MHz 100W, 3400MHz 15W, 5760MHz 10W &
> 10368MHz 5W
>  OS: Linux Mint 20.3, on a Dell Inspiron 3580 laptop
>  ######################################################################
>
> ########
>
>
> _______________________________________________
> 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...

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

Message: 2
Date: Wed, 14 Dec 2022 19:27:21 -0700
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Wrong Video Duration since upgrade to
        motion 4.5
Message-ID: <4bcf5bcf-f9e5-040f-9557-3f86af6fb...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Just a FYI that I am unable to reproduce this issue.? All durations are 
reported correctly.

On 12/14/2022 12:11 AM, Arvid Ihnen via Motion-user wrote:
> HI,
> ? thanks for your replies.
>
> @Tony: Not sure what the viewing of the video has to do with the 
> generation?
>
> @MrDave: Here is the (hopefully) relevant part of the configuration:
> minimum_frame_time 0
> movie_max_time 0
> movie_output on
> movie_bps 400000
> movie_quality 60
> movie_codec mp4
> timelapse_codec mpg
> movie_duplicate_frames off
> movie_extpipe_use off
> framerate 25
> width 1920
> height ?1080
>
> As far as understood, it is encoded.
>
> Best Regards
> ? ? Stefan
>
>> Am 14.12.2022 um 00:55 schrieb MrDave <motionmrd...@gmail.com>:
>>
>> Is this? via the passthrough option or encoded?
>>
>>
>> On 12/13/2022 4:46 PM, Tony wrote:
>>> My suggestion is to observe the output of "top"? for excessive cpu 
>>> usage while viewing the mp4
>>>
>>> On Dec 13, 2022 14:58, Arvid Ihnen via Motion-user 
>>> <motion-user@lists.sourceforge.net> wrote:
>>>
>>>     Hi,
>>>     ? I just upgraded my docker based motion system from 4.3.1 to
>>>     4.5.0. Since then some of the videos shows a wrong duration.
>>>     Attached is an example of the mediainfo output of a captured
>>>     video, which is in reality about 50 seconds long:
>>>
>>>     General
>>>     Complete name ? ? ? ? ? ? ? : 20221213150454.mp4
>>>     Format ? ? ? ? ? ? ? : MPEG-4
>>>     Format profile ? ? ? ? ? ? ? : Base Media
>>>     Codec ID ? ? ? ? ? ? ? : isom (isom/iso2/avc1/mp41)
>>>     File size ? ? ? ? ? ? ? : 9.02 MiB
>>>     Duration ? ? ? ? ? ? ? : 42 min 16 s
>>>     Overall bit rate ? ? ? ? ? ? ? : 29.8 kb/s
>>>     Writing application ? ? ? ? ? ? ? : Lavf57.83.100
>>>
>>>     Video
>>>     ID ? ? ? ? ? ? ? : 1
>>>     Format ? ? ? ? ? ? ? : AVC
>>>     Format/Info ? ? ? ? ? ? ? : Advanced Video Codec
>>>     Format profile ? ? ? ? ? ? ? : Baseline@L4
>>>     Format settings ? ? ? ? ? ? ? : 1 Ref Frames
>>>     Format settings, CABAC ? ? ? ? ? ? ? : No
>>>     Format settings, Reference frames? ? ? ? : 1 frame
>>>     Format settings, GOP ? ? ? ? ? ? ? : M=1, N=12
>>>     Codec ID ? ? ? ? ? ? ? : avc1
>>>     Codec ID/Info ? ? ? ? ? ? ? : Advanced Video Coding
>>>     Duration ? ? ? ? ? ? ? : 42 min 16 s
>>>     Bit rate ? ? ? ? ? ? ? : 11.9 Mb/s
>>>     Width ? ? ? ? ? ? ? : 1 920 pixels
>>>     Height ? ? ? ? ? ? ? : 1 080 pixels
>>>     Display aspect ratio ? ? ? ? ? ? ? : 16:9
>>>     Frame rate ? ? ? ? ? ? ? : 25.000 FPS
>>>     Color space ? ? ? ? ? ? ? : YUV
>>>     Chroma subsampling ? ? ? ? ? ? ? : 4:2:0
>>>     Bit depth ? ? ? ? ? ? ? : 8 bits
>>>     Scan type ? ? ? ? ? ? ? : Progressive
>>>     Bits/(Pixel*Frame) ? ? ? ? ? ? ? : 0.230
>>>     Stream size ? ? ? ? ? ? ? : 9.02 MiB (100%)
>>>     Writing library ? ? ? ? ? ? ? : x264 core 152 r2854 e9a5903
>>>     Encoding settings ? ? ? ? ? ? ? : cabac=0 / ref=1 /
>>>     deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 /
>>>     psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 /
>>>     trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 /
>>>     chroma_qp_offset=0 / threads=4 / lookahead_threads=4 /
>>>     sliced_threads=1 / slices=4 / nr=0 / decimate=1 / interlaced=0 /
>>>     bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 /
>>>     keyint=12 / keyint_min=1 / scenecut=0 / intra_refresh=0 / rc=crf
>>>     / mbtree=0 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 /
>>>     qpstep=4 / ip_ratio=1.40 / aq=0
>>>     Codec configuration box ? ? ? ? ? ? ? : avcC
>>>
>>>     I did not change any configuration parameter from 4.3.1 to
>>>     4.5.0. When playing the video (almost) the last frame is
>>>     displayed for the remaining time. Any idea?
>>>
>>>     Many thanks for your help!
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 196, Issue 15
********************************************

Reply via email to