|
From: Sébastien D. <se...@de...> - 2018-01-24 16:44:36
|
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 |