Aconv timelapse [RESOLVED]
Posted: Thu Jun 16, 2016 3:43 pm
Hello, I make 250 fotos from foto_0000.jpg to foto_0250.jpg. Then i try:
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.
Code: Select all
sudo avconv -r 24 -i "foto_%4d.jpg" -r 24 -vcodec libx264 -crf 20 -g 15 test_timelapse.mp4
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