Closed af7567 closed 8 years ago
I believe it is an issue with buffer overflow. This has been reported on a mail list and needs a code fix. Try to look for the following line in sources and increase buffer size from 5 to 6:
char codec_mpeg[5] = "mpeg4";
Thanks! I found this on line 707 of event.c and changed the 5 to 6 and now it is working. I should have posted a message here when I first had the problem about a year ago :)
I guess I should leave the issue open though since the fix still needs to be applied to the code on github?
Let's keep the issue open until fix is submitted. Can you update the title with buffer overflow
keyword please?
Merged fix to master
Since starting to use mrdave motion (for rtsp support), I haven't been able to use the timelapse option that I used to have in the old motion-svn.
I get the error:
It seems to be trying to set the codec to "mpeg1video2016/06/14-timelapse"
My ffmpeg_ settings are:
I am using motion mrdave master, and ffmpeg 2.6.3 on a slackware 14.1 system.
edit: $ ffmpeg -codecs