Hi *,
I'm trying to use motion to create timelapse video on RPi 2. With the default config everything works fine. Once I enable (only) timelapse I start getting this error.
$this->bbcode_second_pass_code('', '[1] Error opening file ./motion-output/20150410-timelapse.mpg: Invalid argument
[1] ffopen_open error creating (timelapse) file [./motion-output/20150410-timelapse.mpg]: Invalid argument')
With more logging:
$this->bbcode_second_pass_code('', '[1] ffmpeg_open FPS 24
[1] ffmpeg_avcodec_log: err{or,}_recognition separate: 1; 1
- flag 48
[1] ffmpeg_avcodec_log: err{or,}_recognition combined: 1; 10001
- flag 48
[1] ffmpeg_avcodec_log: intra_quant_bias = 96 inter_quant_bias = 0
- flag 48
[1] ffmpeg_avcodec_log: Unsupported bit depth: 0
- flag 48
[1] Error opening file ./motion-output/20150410-timelapse.mpg: Invalid argument
[1] ffopen_open error creating (timelapse) file [./motion-output/20150410-timelapse.mpg]: Invalid argument')
Looks like there's some mismatch between motion and ffmpeg it is using. Any ideas how to fix it?