Motion is unable to save timelapse video

This forum is for discussion about general software issues.

Motion is unable to save timelapse video

Postby cincuranet » Fri Apr 10, 2015 1:33 pm

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?
Jiri {x2} Cincura
cincuranet
 
Posts: 8
Joined: Thu Jul 17, 2014 9:13 am

Re: Motion is unable to save timelapse video

Postby Socaltom » Fri Apr 10, 2015 5:08 pm

I don't know if this will help, but here is what I do with mine.
viewtopic.php?f=30&t=7839
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests