From: tosiara <to...@gm...> - 2019-06-10 14:41:49
|
"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 <hda...@gm...> 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 > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |