View Full Version : x264 use lots of memory!
Sirber
31st July 2005, 02:13
http://www.detritus.qc.ca/files/x264/memory.jpg
C:\Projets\RealAnime\output\x264.exe --me umh --direct temporal --subme 5 --merange 16 --weightb --8x8dct --ref 8 --filter 3:3 --analyse "i4x4,i8x8,p4x4,p8x8,b8x8" --bframes 3 --b-pyramid --qcomp 0.60 --ipratio 1.40 --pbratio 1.30 --bitrate 436 --pass 3 --progress --threads 1 -o "C:\Projets\RealAnime\output\temp\source-vid1.h264" "C:\Projets\RealAnime\output\temp\0.avs"
:(
Manao
31st July 2005, 06:23
No, it's avisynth
Sirber
31st July 2005, 14:36
ok. Then I have to optimized my use if "LoadPlugin" :D
Manao
31st July 2005, 14:50
It isn't loadplugin either. Avisynth uses a cache which is quite big by default. You can reduce it using SetMemoryCache()
Sirber
31st July 2005, 15:44
Thanks! :D
MeteorRain
1st August 2005, 06:20
It isn't loadplugin either. Avisynth uses a cache which is quite big by default. You can reduce it using SetMemoryCache()
well, any example? or some reference?
Manao
1st August 2005, 06:36
It was SetMemoryMax in fact ( my bad, i had cache in my mind when typing it... ). The size you set will be the maximum memory Avisynth will be allowed to allocate.
For basic scripts ( crop / resize - no temporal filters ), cache isn't necessary. As soon as a temporal filter is used ( temporalsoften, convolution3d, ... ), a cache is needed. Its size should be around the sum of the temporal diameter of the temporal filters, multiplied by the memory taken by a frame. Taking a safety margin is also good ( because if you fill up the cache, avisynth will be really slow )
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.