BUG: Recording timelapse video no longer working

I last build motion Sat Aug 18 22:11:02 2012 and it's been working fine ever since. Now a change in the version of ffmpeg libraries required a rebuilt after which timelapse videos can no longer be recorded. The error (EINPROGRESS) actually seems to be generated by ffmpeg, but other than this I have no idea how to start debugging this.

The last build was against ffmpeg 0.10.3. The issue is manifest with both ffmpeg 1.0.7 (current stable in Gentoo) as well as 0.10.7 (oldest available). Note that recording video on motion events (MPEG 4) works as it did in the past, but I am no longer able to record timelapse movies (MPEG 1).

A patch to resolve this has been created and should be incorporated into an upcoming version. The bug report is correct in that the issue is caused by a change in FFMpeg. Note that I did did not see any temporary workaround on the gentoo post and if the code from the SVN trunk is used, the patches should not be necessary.

Note that as of October 2015, this bug happens on Ubuntu 14.04.3 LTS with their binary packages.

Any version less than 3.4 will have this issue. Test packages of 3.4 are in