HW encode: vaapi memory leak

3cells3cells New Member Posts: 12

I am trying to encode video using ffmpeg and H264-vaapi. On both the UP Board and UP2 I have, there appears to be a memory leak. Video encodes for between 12 to 15 minutes before the system (4GByte boards) runs out of RAM and locks up. Using conky to monitor memory usage I start off with ~600MBytes out of 3.7 GBytes used which gets eaten up over time.
Using libx264 to encode the video doesn't have the memory leakage problem and video encodes happily. Problem with libx264 is it hammers CPU usage (and battery) so a GPU based option is preferable.
Is there a patch or fix for the memory leakage?

Tagged:

Comments

Sign In or Register to comment.