|
From: tosiara <to...@gm...> - 2018-01-25 05:20:14
|
I don't see any error. Has the file "/var/lib/motion/2018-01-24/2018-01-24T16-37-04_01_23.webm" been created? On Wed, Jan 24, 2018 at 6:41 PM, Sébastien Delafond <se...@de...> wrote: > On 2018-01-24, tosiara <to...@gm...> wrote: >> Great to know that it works now >> If you would like to get webm, you can use this extpipe command: >> >> extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h >> -framerate %fps -i pipe:0 -vcodec libvpx %f.webm > > And this is where I get the error: > > ,---- > | [1:ml1] [NTC] [EVT] [Jan 24 16:37:04] event_new_video Source FPS 30 > | [1:ml1] [NTC] [EVT] [Jan 24 16:37:04] event_create_extpipe: pipe: ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -framerate 30 -i pipe:0 -vcodec libvpx /var/lib/motion/2018-01-24/2018-01-24T16-37-04_01_23.webm > | [1:ml1] [NTC] [EVT] [Jan 24 16:37:04] event_create_extpipe: cnt->moviefps: 30 > | [1:ml1] [NTC] [EVT] [Jan 24 16:37:04] event_newfile: File of type 8 saved to: /var/lib/motion/2018-01-24/2018-01-24T16-37-04_01_23 > | [1:ml1] [NTC] [ALL] [Jan 24 16:37:04] motion_detected: Motion detected - starting event 1 > | [1:ml1] [NTC] [EVT] [Jan 24 16:38:17] event_newfile: File of type 1 saved to: /var/lib/motion/2018-01-24/2018-01-24T16-37-04_01_23.jpg > | [1:ml1] [NTC] [EVT] [Jan 24 16:38:17] event_extpipe_end: CLOSING: extpipe file desc 9, error state 0 > | [1:ml1] [NTC] [EVT] [Jan 24 16:38:17] event_extpipe_end: pclose return: -1 > | [1:ml1] [NTC] [ALL] [Jan 24 16:38:17] motion_loop: End of event 1 > `---- > > I guess at this point, since extpipe+ffmpeg->mp4 works fine, but > extpipe+ffmpeg->webm doesn't, there is something not quite right with my > versions of ffmpeg/libavcodec ? > > Cheers, > > --Seb > > > ------------------------------------------------------------------------------ > 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 > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |