[FFmpeg-user] Memory usage growing when using ffmpeg. Is this expected?

Cley Faye cleyfaye at gmail.com
Sat Apr 29 12:25:10 EEST 2017

2017-04-28 16:52 GMT+02:00 Guilherme de Oliveira Costa <
guilherme.oliveira at autotrac.com.br>:

> I am using ffmpeg record a video from a webcam, but the memory usage is
> very high, and keeps increasing with video length.
> For example, I use an embedded device with 64 MB of RAM, and when I
> recorded a 30 minute video, I was left with 2MB of RAM in the last minutes
> of the recording.

‚ÄčI'm wondering, how do you check how much "free" memory you have while
ffmpeg is running? Since it didn't OOM or die, it might just have been
cache from the OS, which will gracefully yield if another program request

More information about the ffmpeg-user mailing list