From: Harlan D. <hda...@gm...> - 2019-06-10 14:14:27
|
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 |