BUG: error on timelaps filenames
Once the timelapse time starts over, the new compiled filename incidentially gets a double suffix like "timelaps.mpg.mpg". I have 4 cams, and it occurs only with two or three cams.
Rollover ist at 00:00 each day (midnight).
Part of motion.conf:
# File path for timelapse mpegs relative to target_dir
# Default: %Y%m%d-timelapse
# Default value is near equivalent to legacy oldlayout option
# For Motion 3.0 compatible mode choose: %Y/%m/%d-timelapse
# File extension .mpg is automatically added so do not include this
Listing in directory then looks like this:
-rw-r--r-- 1 vip vip 30437630 Nov 3 14:30 cam3-timelapse.mpg.mpg
-rw-r--r-- 1 vip vip 24378955 Nov 3 14:30 cam1-timelapse.mpg.mpg
-rw-r--r-- 1 vip vip 49222286 Nov 3 14:30 cam2-timelapse.mpg
-rw-r--r-- 1 vip vip 25692235 Nov 3 14:30 cam0-timelapse.mpg.mpg
-rw-r--r-- 1 vip vip 5710660 Nov 1 05:56 cam0-timelapse.mpg
-rw-r--r-- 1 vip vip 47424410 Nov 2 00:00 cam3-timelapse.mpg.mpg
-rw-r--r-- 1 vip vip 75376362 Nov 2 00:00 cam2-timelapse.mpg.mpg
-rw-r--r-- 1 vip vip 41512900 Nov 2 00:00 cam1-timelapse.mpg.mpg
Errors in syslog:
Nov 3 00:00:00 wormhole2 motion:  avcodec_open - could not open codec: File exists
Nov 3 00:00:00 wormhole2 motion:  ffopen_open error creating file [..../Events/2006/11/03/cam0-timelapse.mpg]: File exists
Worth to mention, that actually the file does not exist, since the filenam mask always creates new directories per day, see above.
motion.conf for each thread is quite the same, except cam # (I didn't get the time to put in to the central file with the new placholder).
Paste in your error messages, config settings, terminal window output etc in this text field.
| Motion version:
| ffmpeg version:
| Shared libraries:
| Server OS:
|| SuSE 9.2, 2.6.8-24.10
- 03 Nov 2006
Are you sure that your motion version is 3.2.7 ?
ffmpeg_open errors give a detailed information about what type of file is creating :
ffopen_open error creating (new) file
ffopen_open error creating (motion) file
ffopen_open error creating (timelapse) file
So seems that you are running a older version, please check it.
- 04 Nov 2006
You're right, actually it is version 3.2.6
Are there any fixes according filenames?
I'll check as well ...
- 07 Nov 2006
I can't reproduce that error in current version ( 3.2.7 ) , open a new bug if problem remains.
- 18 Nov 2006