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: Android GUI (Jens Schreck)
   2. Re: help (prismb...@gmail.com)


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

Message: 1
Date: Tue, 24 Jul 2018 17:15:12 +0300
From: Jens Schreck <schrec...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Android GUI
Message-ID:
        <camd9a6vq-kv4wzdmh3pqw1fqkzkotgffohsbywoqoxmow46...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sorry, Germany was excluded. Please try tomorrow again ...

Roman via Motion-user <motion-user@lists.sourceforge.net> schrieb am Di.,
24. Juli 2018, 13:12:

> Cool, aber "in meinem Land nicht verf?gbar"?
>
> Am 23. Juli 2018 14:41:00 MESZ schrieb Jens Schreck <schrec...@gmail.com>:
>>
>> Hello!
>>
>>
>> Im developing a simple android app for Motion. The features are still
>> limited to my own purposes.
>>
>>
>> https://play.google.com/store/apps/details?id=de.avtivcam
>>
>>
>> Source code is hosted on Github. Feel free to use or improve the code.
>>
>>
>>
>> https://github.com/anoncard-eu/ActivCam
>>
>>
>> Best regards,
>>
>> Jens Schreck
>>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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: Tue, 24 Jul 2018 07:30:45 -0700
From: prismb...@gmail.com
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] help
Message-ID:
        <cagd+p+yop1oyv3comdsmehpnp5cs-xploqwtrfflapk37gk...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Just to provide an example of what I have used in my thread#.conf files:

on_event_start avconv -i 'rtsp://
USER:PASS@192.168.1.253/nphMpeg4/g726-320x240' -c:a libmp3lame
/home/user1/motion-images/c253/%tcam253%Y-%m-%d_%H-%M-%S.mp3

on_event_end pkill -SIGTERM -f "%tcam253"



On Tue, Jul 24, 2018 at 5:37 AM, tosiara <tosi...@gmail.com> wrote:

> For the test run motion like this:
>
> sudo motion -c /path/to/your/motion.conf -d 7 -n
>
> On Tue, Jul 24, 2018 at 3:20 PM, Maksim Noskov <mx.nos...@gmail.com>
> wrote:
>
>> Now I wrote in motion.conf:
>>
>> on_event_start /etc/motion/test.sh
>> on_event_end /etc/motion/test.sh
>> on_motion_detected echo "TEST" >> /var/lib/motion/test.txt
>> on_movie_start echo "test" >> /var/lib/motion/test.txt
>>
>> I run   root@cams:~# sudo -s motion
>> And try   root@cams:~# sudo motion
>> And   root@cams:~# sudo -n motion
>> And still nothing happened...
>>
>>
>> Below the text from the log file:
>>
>>
>> [2146535312:motion] [NTC] [ALL] [Jul 24 11:53:44] motion_startup: Using
>> log type (ALL) log level (NTC)
>> [2146535312:motion] [NTC] [ENC] [Jul 24 11:53:44] ffmpeg_init: ffmpeg
>> libavcodec version 57.48.101 libavformat version 57.41.100
>> [0:motion] [NTC] [ALL] [Jul 24 11:53:44] main: Camera 0 is from
>> /home/cam/motion.conf
>> [0:motion] [NTC] [ALL] [Jul 24 11:53:44] main: Camera 0 is device: rtsp://
>> 192.168.1.252/mpeg4/media.amp input -1
>> [0:motion] [NTC] [ALL] [Jul 24 11:53:44] main: Stream port 0
>> [0:motion] [NTC] [ALL] [Jul 24 11:53:44] main: Waiting for threads to
>> finish, pid: 11470
>> [1:ml1] [NTC] [ALL] [Jul 24 11:53:44] motion_init: Camera 0 started:
>> motion detection Enabled
>> [1:ml1] [ALR] [NET] [Jul 24 11:53:44] netcam_start: Network Camera thread
>> starting... for url (rtsp://192.168.1.252/mpeg4/media.amp)
>> [1:ml1] [NTC] [NET] [Jul 24 11:53:44] netcam_rtsp_open_context: Using tcp
>> transport
>> [1:ml1] [NTC] [NET] [Jul 24 11:53:45] netcam_connect_rtsp: Camera
>> connected
>> [1:ml1] [NTC] [ALL] [Jul 24 11:53:45] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [1:nc1] [ALR] [NET] [Jul 24 11:53:45] netcam_handler_loop: Camera handler
>> thread [2] started
>> [1:ml1] [NTC] [EVT] [Jul 24 11:53:47] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 11:53:47] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 11:53:47] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 11:53:47] event_newfile: File of type 8 saved
>> to: /var/lib/motion/01-20180724115347.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 11:53:47] motion_detected: Motion detected -
>> starting event 1
>> [1:ml1] [NTC] [ALL] [Jul 24 11:53:54] motion_loop: End of event 1
>> [1:ml1] [NTC] [EVT] [Jul 24 11:55:20] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 11:55:20] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 11:55:20] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 11:55:20] event_newfile: File of type 8 saved
>> to: /var/lib/motion/02-20180724115520.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 11:55:20] motion_detected: Motion detected -
>> starting event 2
>> [1:ml1] [NTC] [ALL] [Jul 24 11:55:20] motion_loop: End of event 2
>> [1:ml1] [NTC] [EVT] [Jul 24 12:03:37] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:03:37] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:03:37] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 12:03:37] event_newfile: File of type 8 saved
>> to: /var/lib/motion/03-20180724120337.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 12:03:37] motion_detected: Motion detected -
>> starting event 3
>> [1:ml1] [NTC] [ALL] [Jul 24 12:03:38] motion_loop: End of event 3
>> [1:ml1] [NTC] [EVT] [Jul 24 12:03:46] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:03:46] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:03:46] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 12:03:46] event_newfile: File of type 8 saved
>> to: /var/lib/motion/04-20180724120346.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 12:03:46] motion_detected: Motion detected -
>> starting event 4
>> [1:nc1] [ERR] [ENC] [Jul 24 12:05:13] ffmpeg_avcodec_log: ac-tex damaged
>> at 11 0
>> [1:nc1] [ERR] [ENC] [Jul 24 12:05:13] ffmpeg_avcodec_log: Error at MB: 11
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:48] motion_loop: End of event 4
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:48] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:48] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:48] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:48] event_newfile: File of type 8 saved
>> to: /var/lib/motion/05-20180724120548.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:48] motion_detected: Motion detected -
>> starting event 5
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:48] motion_loop: End of event 5
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:53] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:53] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:53] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:53] event_newfile: File of type 8 saved
>> to: /var/lib/motion/06-20180724120553.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:53] motion_detected: Motion detected -
>> starting event 6
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:53] motion_loop: End of event 6
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:57] event_new_video Source FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:57] ffmpeg_open Selected Output FPS 10
>> [1:ml1] [NTC] [ENC] [Jul 24 12:05:57] ffmpeg_avcodec_log: Using
>> AVStream.codec to pass codec parameters to muxers is deprecated, use
>> AVStream.codecpar instead.
>> [1:ml1] [NTC] [EVT] [Jul 24 12:05:57] event_newfile: File of type 8 saved
>> to: /var/lib/motion/07-20180724120557.avi
>> [1:ml1] [NTC] [ALL] [Jul 24 12:05:57] motion_detected: Motion detected -
>> starting event 7
>> [1:ml1] [NTC] [ALL] [Jul 24 12:06:00] motion_loop: End of event 7
>>
>>
>> 2018-07-24 14:24 GMT+03:00 tosiara <tosi...@gmail.com>:
>>
>>> Please provide full log so we can see what worked and what didn't
>>>
>>> On Tue, Jul 24, 2018 at 1:51 PM, Maksim Noskov <mx.nos...@gmail.com>
>>> wrote:
>>>
>>>> Thank you, but on_event_start doesn't work.
>>>> I wrote:
>>>>
>>>> on_event_start echo "test" >> /tmp/test.txt
>>>>
>>>> and nothing happened
>>>>
>>>> And I try:
>>>>
>>>> on_event_start /tmp/test.sh
>>>>
>>>> test.sh:
>>>>
>>>> #!/bin/bash
>>>> echo TEST >> /tmp/test.txt
>>>>
>>>> And nothing...
>>>>
>>>> I tryed on_motion_detected and on_movie_start, but nothing helped
>>>>
>>>> Please tell me, where is mistake?
>>>>
>>>>
>>>> Thanks!
>>>>
>>>> 2018-07-22 20:33 GMT+03:00 <prismb...@gmail.com>:
>>>>
>>>>> It is possible. I have done it several ways.
>>>>> See http://www.lavrsen.dk/foswiki/bin/view/Motion/SoundAudioRecording
>>>>>
>>>>> Besides arecord, I have used avconv and cvlc to record audio using
>>>>> motion.
>>>>>
>>>>>
>>>>> On Sun, Jul 22, 2018 at 1:42 AM, Maksim Noskov <mx.nos...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> Hello!
>>>>>>
>>>>>> Please tell me, how I can get a sound from each camera? Is it
>>>>>> possible??
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Best regards,*
>>>>>>
>>>>>> *Maksim Noskov *
>>>>>>
>>>>>> ------------------------------------------------------------
>>>>>> ------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>> _______________________________________________
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Best regards,*
>>>>
>>>> *Maksim Noskov *
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>>
>>
>> *Best regards,*
>>
>> *Maksim Noskov *
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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...

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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

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 145, Issue 28
********************************************

Reply via email to