Page 1 of 1

Aconv timelapse [RESOLVED]

Posted: Thu Jun 16, 2016 3:43 pm
by Ivan219
Hello, I make 250 fotos from foto_0000.jpg to foto_0250.jpg. Then i try:

Code: Select all

sudo  avconv -r 24 -i "foto_%4d.jpg" -r 24 -vcodec libx264 -crf 20 -g 15 test_timelapse.mp4
And on 20th (sometimes on 23th or 29th) frames raspberry pi freeze up and i can't do anything on raspi (mouse does not move). After 10-15 minutes all is ok, but aconv stopped. How to make timelapse? Because before this script worked (before reinstall os). I use the latest raspabian jessie.
frame= 23 fps= 1 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbit
frame= 24 fps= 1 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbit
frame= 25 fps= 1 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbit
frame= 26 fps= 0 q=22.0 size= 395kB time=10000000000.00 bitrate= 0.0kbi
x264 [error]: malloc of size 26916160 failed
Video encoding failed
[libx264 @ 0x18f200] frame I:1 Avg QP:18.85 size:403964

Re: Aconv timelapse

Posted: Thu Jun 16, 2016 6:03 pm
by Ivan219
May be i could to use another programto make timelapse?

Re: Aconv timelapse

Posted: Thu Jun 16, 2016 8:55 pm
by Ivan219
Error was in memory, after 64 mgbyte to gpu all is ok