Send Motion-user mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Log Errors (Harlan Daneker)
   2. Re: Log Errors (tosiara)
   3. Re: newbie problems (tosiara)
   4. Re: Log Errors (Harlan Daneker)


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

Message: 1
Date: Mon, 10 Jun 2019 10:14:08 -0400
From: Harlan Daneker <[email protected]>
To: Motion discussion list <[email protected]>
Subject: [Motion-user] Log Errors
Message-ID:
        <cac1wkitugn2j-kgjkumaii7smcldzzw_ofqt0c_f8hegpdv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

motion 4.1.1+git20180626-43b9c2b


*This does not work:*
extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h -framerate
%fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4

I have tried as many of the video formats as I was able to find and none of
them work.

*So I just omitted "rawvideo -pix_fmt" and it works.*
extpipe ffmpeg -y -video_size %wx%h -framerate %fps -i pipe:0 -vcodec
libx264 -preset ultrafast -f mp4 %f.mp4

*But I constantly get these errors in motion.log:*
Motion.log
[1:ml1] [ERR] [EVT] [Jun 09 21:32:56] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 29 times
[1:ml1] [ERR] [EVT] [Jun 09 21:32:57] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 29 times
[1:ml1] [ERR] [EVT] [Jun 09 21:32:58] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 29 times
[1:ml1] [ERR] [EVT] [Jun 09 21:32:59] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 12 times
[1:ml1] [ERR] [EVT] [Jun 09 21:33:03] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 26 times
[1:ml1] [ERR] [EVT] [Jun 09 21:33:04] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
[1:ml1] [ERR] [EVT] Above message repeats 29 times
[1:ml1] [ERR] [EVT] [Jun 09 21:33:05] event_extpipe_put: Error writing in
pipe , state error 1: Broken pipe
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Mon, 10 Jun 2019 17:41:27 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Log Errors
Message-ID:
        <cachtdwsrme2acidc2f2m_hxyjz2fxqylxs9_9vkbsxrx_qw...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

"Does not work" does not contain enough information, do you agree?

Try to run the command in your console:

ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 320x240 -framerate
5 -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 test.mp4

This should hang waiting for video on stdin. Copy the output and kill
with CTRL+C. Send the output

On Mon, Jun 10, 2019 at 5:15 PM Harlan Daneker <[email protected]> wrote:
>
> motion 4.1.1+git20180626-43b9c2b
>
>
> This does not work:
> extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h -framerate 
> %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
>
> I have tried as many of the video formats as I was able to find and none of 
> them work.
>
> So I just omitted "rawvideo -pix_fmt" and it works.
> extpipe ffmpeg -y -video_size %wx%h -framerate %fps -i pipe:0 -vcodec libx264 
> -preset ultrafast -f mp4 %f.mp4
>
> But I constantly get these errors in motion.log:
> Motion.log
> [1:ml1] [ERR] [EVT] [Jun 09 21:32:56] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 29 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:32:57] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 29 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:32:58] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 29 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:32:59] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 12 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:33:03] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 26 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:33:04] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> [1:ml1] [ERR] [EVT] Above message repeats 29 times
> [1:ml1] [ERR] [EVT] [Jun 09 21:33:05] event_extpipe_put: Error writing in 
> pipe , state error 1: Broken pipe
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



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

Message: 3
Date: Mon, 10 Jun 2019 17:44:46 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] newbie problems
Message-ID:
        <CACHTdwSwwDjErn_WwEMuhtj2ChqCXg-gN-iwtYJCUCzYxV==h...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

1. You can't see the stream, probably, because you are trying from
another machine?
Try to set "stream_localhost off". Will that work?
I wonder how does it "say no cameras running"? Provide either log or
screenshot of the message

2. What URL is used for camera? Please provide the full log

Do not use VLC for verification. Always test with "ffplay"

On Mon, Jun 10, 2019 at 11:48 AM vector457 <[email protected]> wrote:
>
> Hi all,
>
> installed motion on Ubuntu18
>
> I can see both of my two network cameras using VLC. they are old cams but 
> working.
>
> I have attached copy of motion.conf
>
> rtsp://user:[email protected]/11 {tenvis 1p391w or similar(no further 
> info)camera}
>
> rtsp://user:[email protected]/onvif1   {sricam SP007 or similar(no further 
> info on it)camera}
>
> I used camera1-dist.conf file for both, modifying name ,id and netcam url
>
> to create camera1.conf and camera2.conf.
>
> Problem 1 no local host view.
>
> I ran,mark@fatcat:~$ motion
>
> [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file 
> /etc/motion/motion.conf
> [0:motion] [NTC] [ALL] config_camera: Processing camera config file 
> /etc/motion/camera1.conf
> [0:motion] [NTC] [ALL] motion_startup: Logging to syslog
> [0:motion] [NTC] [ALL] motion_startup: Motion 4.2.2 Started
> [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
> [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
> [0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 
> 8081
> [0:motion] [NTC] [STR] webu_start_strm: Unable to start stream for camera 0
> [0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
> [0:motion] [NTC] [STR] webu_start_ctrl: Unable to start MHD
> [0:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 
> 57.107.100 libavformat version 57.83.100
> [0:motion] [NTC] [ALL] translate_init: Language: English
> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 is from 
> /etc/motion/camera1.conf
> [0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 101 Camera Name: 
> MyCam1 Service: rtsp:
> [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 21036
> [1:ml1:MyCam1] [NTC] [ALL] motion_init: Camera 101 started: motion detection 
> Enabled
> [1:ml1:MyCam1] [NTC] [VID] vid_start: Opening Netcam RTSP
> [1:ml1:MyCam1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera 
> (MyCam1) connected
> [1:ml1:MyCam1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 
> 1 items
> [2:nc2:MyCam1] [NTC] [NET] netcam_rtsp_handler: Normal resolution: Camera 
> handler thread [2] started
> [2:nc2:MyCam1] [NTC] [NET] netcam_rtsp_connect: Normal resolution: Camera 
> (MyCam1) connected
> [1:ml1:MyCam1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 
> 4 items
> [1:ml1:MyCam1] [NTC] [EVT] event_newfile: File of type 8 saved to: 
> ./CAM01_101-01-20190610181942.mkv
>
> The mkv is indeed in my local dir and is capturing images as expected. But 
> yet when I go to web browser(firefox) localhost:8080 it says no cameras 
> running. I expected to see a live view?
>
> Problem 2
>
> camera 2 the onvif1 errors with
>
> Unable to open camera(MyCam2): Invalid data found when processing input
> not sure why its works from this url in VLC.
>
>
> thoughts?
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



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

Message: 4
Date: Mon, 10 Jun 2019 20:52:47 -0400
From: Harlan Daneker <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Log Errors
Message-ID:
        <CAC1WkiQhYpT7wrnMROmwNX4qYKSdKm-DNnx4LPjfKPiQ=nh...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thank you for replying, here is the output.


ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 320x240 -framerate 5 -i
pipe:0 -vcodec libx264 -preset ultrafast -f mp4 test.mp4
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg
--incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man
--arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
--extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' '
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libvo-amrwbenc --enable-version3 --enable-bzlib
--disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt
--enable-gnutls --enable-ladspa --enable-libaom --enable-libass
--enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack
--enable-libfreetype --enable-libfribidi --enable-libgsm
--enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl
--enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librsvg --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab
--enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample
--enable-postproc --enable-pthreads --disable-static --enable-shared
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100

On Mon, Jun 10, 2019 at 10:42 AM tosiara <[email protected]> wrote:

> "Does not work" does not contain enough information, do you agree?
>
> Try to run the command in your console:
>
> ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 320x240 -framerate
> 5 -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 test.mp4
>
> This should hang waiting for video on stdin. Copy the output and kill
> with CTRL+C. Send the output
>
> On Mon, Jun 10, 2019 at 5:15 PM Harlan Daneker <[email protected]> wrote:
> >
> > motion 4.1.1+git20180626-43b9c2b
> >
> >
> > This does not work:
> > extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h
> -framerate %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
> >
> > I have tried as many of the video formats as I was able to find and none
> of them work.
> >
> > So I just omitted "rawvideo -pix_fmt" and it works.
> > extpipe ffmpeg -y -video_size %wx%h -framerate %fps -i pipe:0 -vcodec
> libx264 -preset ultrafast -f mp4 %f.mp4
> >
> > But I constantly get these errors in motion.log:
> > Motion.log
> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:56] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:57] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:58] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:32:59] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 12 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:03] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 26 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:04] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > [1:ml1] [ERR] [EVT] Above message repeats 29 times
> > [1:ml1] [ERR] [EVT] [Jun 09 21:33:05] event_extpipe_put: Error writing
> in pipe , state error 1: Broken pipe
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 156, Issue 18
********************************************

Reply via email to