Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Aconv timelapse [RESOLVED]

Thu Jun 16, 2016 3:43 pm

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
Last edited by Ivan219 on Thu Jun 16, 2016 8:56 pm, edited 1 time in total.

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Aconv timelapse

Thu Jun 16, 2016 6:03 pm

May be i could to use another programto make timelapse?

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Aconv timelapse

Thu Jun 16, 2016 8:55 pm

Error was in memory, after 64 mgbyte to gpu all is ok

Return to “Troubleshooting”