I've been trying to get the Motion's timelapse feature to work on a Raspberry Pi. Basically everything else is working except the timelapse, which is something I'd really want to use. Motion saves snapshots, motion videos, and everything else, but no timelapse. Here's an error message I receive.
1] Error opening file /serve/http/cam1/timelapse/2012/11/19-timelapse.mpg: Invalid argument
[1] ffopen_open error creating (timelapse) file [/serve/http/cam1/timelapse/2012/11/19-timelapse.mpg]: Invalid argument
To reproduce, do the following:
1) Install motion with necessary dependencies (ffmpeg-compat at least)
2) Setup your camera and test it, Motion will display the image at localhost:8081 with default settings.
3) Switch on the timelapse feature from the conf
4) Make sure that Motion has write access to a desired location on the disk
5) Observe the errors
I haven't been able to use the timelapse feature even though everything else works swimmingly and the camera performs fine. At the moment my main suspect is an incompatible ffmpeg version. This is because unlike other types of tasks, the timelapse requires encoding videos in mpeg1 format. This is because mpeg1 files can be "appended" as Motion grabs frames. Any other guesses?