[MPlayer-users] Question: Whole movie into ram?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Mar 4 16:13:11 CET 2012


On Sun, Mar 04, 2012 at 02:59:24PM +0100, Reimar Döffinger wrote:
> On Sat, Mar 03, 2012 at 10:02:11PM +0100, Uli Armbruster wrote:
> > Hi there
> > 
> > I'm not sure if I remember this right, but I think I read somewhere that with mplayer it's possible to load a whole movie into ram before it's being played. Right now I use -cache 1048576 (this seems to be the maximum), but I have 4GB of RAM so I could really load almost any movie into it (my usage hardly goes beyond 500MB), but with -cache it doesn't seem to be possible. Or is it possible to increase the cache?
> 
> Just change the max in cfg-common.h, line 318 and recompile.

That would have only worked up to 4 GB.
Changed the code so that a cache of up to 4 TB should be possible
(assuming there's enough memory available for that...)


More information about the MPlayer-users mailing list