Hi,
I am using the 64-bit version of FFMpeg 1.2, am trying to understand its memory usage, and put the RAM in that machine accordingly.
- Is there any option in FFMpeg to explicitly specific the memory usage range / limit ?
- If not, can it go up virtually to the amount of RAM you have depending on the video being processed ?
- If I am processing 1GB size video, would it be fair to assume it will take around same amount of memory to process it ?
Thanks,
Rajiv
+ Reply to Thread
Results 1 to 5 of 5
-
-
Why don't you just use Task Manager to monitor how much memory ffmpeg is using? The amount of memory it uses has little to do with the size of the file you're working with. I've never monitored it (I don't use it often) but I think you'll find it uses far less than 1 GB.
I just encoded a standard definition MPEG 2 source to h.264 with ffmpeg. It used about 120 MB of memory. While encoding a 1920x1080 source it went up to 630 MB. The amount it uses will vary depending on the frame size and encoding options selected.
Why do you care how much memory it's using?Last edited by jagabo; 26th Jun 2013 at 07:47.
-
I did it, monitored it in Task Manager, it seems to be varying video to video quite a lot.
Why I care about the memory is because I don't want FFMpeg to take up whatever memory is available in the system, there are other things running too which may get impacted or even go out-of-memory.
So I was just wondering if there's any such option in FFMpeg to explicitly specify the memory limit ... something like -Xms and -Xmx that Java has for example.
Similar Threads
-
ffmpeg CPU usage
By diprotic in forum Video ConversionReplies: 13Last Post: 19th Apr 2015, 14:40 -
need help solving excess memory usage in video capture
By philfr in forum Newbie / General discussionsReplies: 6Last Post: 10th Jan 2011, 18:47 -
memory usage of CUDA encoding
By sharkbite in forum Video ConversionReplies: 0Last Post: 25th May 2010, 22:36 -
Premiere Pro Memory Usage is Extremely high
By jbandy1 in forum EditingReplies: 1Last Post: 31st Jan 2009, 03:07 -
how to limit cpu usage for program
By deejay.2001 in forum ComputerReplies: 8Last Post: 17th Jul 2008, 20:27