start with 2 and use a higher thread count if you don't run into problem until you hit your sweet spot
+ Reply to Thread
Results 91 to 106 of 106
-
-
Hi guys how to fix the memory leak on megui when i load the AVS on megui my ram just goes up nearly 500MB and then when i start the encode it goes around 1.2GB just for plain script without even MT
Code:LoadPlugin("C:\Users\Administrator\Downloads\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\ffms\ffms2.dll") FFVideoSource("D:\Stream Dwnloads\YUAM_HD_1280.mp4", threads=1) Crop(2, 90, -2, -90) Spline36Resize(720,304)
http://prntscr.com/35onrw -
Not sure if the additional memory usage is really due to avisynth and not due to the encoder you choose.
Depending on the encoder and the settings it might simply buffer a lot of frames.
In x264 there are settings for different lookaheads, the maximal gop size and other settings which influence the memory consumption a lot.
As a side node as long as the RAM usage for a 32bit program stays below 2GB and your general memory is not depleted, there should be no problem. -
I guys i tired all your stuff out and got good speed with virtualdub but not with megui i used the same script on both and just did the "Run Video Analsyas Pass" on Both but getting totally different speed what mite be the course of that? and my RAM is not using much as well here is my script
Code:SetMemoryMax(1800) SetMTMode(2) LoadPlugin("D:\EDrive\megui\tools\dgindex\DGDecode.dll") DGDecode_mpeg2source("D:\EDrive\Downloads\Inga E\VTS_03_1.d2v", info=3) LoadPlugin("D:\EDrive\megui\tools\avisynth_plugin\ColorMatrix.dll") ColorMatrix(hints=true, threads=0) crop(0, 52, 0, -56) Spline36Resize(640,272) # Spline36 (Neutral) LSFmod(strength=75, smode=4, soothe=true, keep=100, edgemode=0, edgemaskHQ=false)
Screen shot of VIRTUALDUB: http://prntscr.com/360xun
Screen shot of MEGUI: http://prntscr.com/360ybe
Please let me know what i can do and thanks for the support guys -
Code:
SetMemoryMax(1800)
-> Please explain why you would choose that value.
i used the same script on both and just did the "Run Video Analsyas Pass" on Both but getting totally different speed what mite be the course of that?
-> it would be surprising if their processing speed is the same. -
i read on Google search 1 member used it like that and use LARGE_ADDRESS_AWARE to change the ram limit so i did that as well
and AVSmeter and Virtualdub coming close to same speed where megui doesn't consume more CPU or RAM and the speed is slow please tell me the ways i can come over it i like using megui -
You will not get the same speed during MeGuis source analysis and Virtual Dubs analysis of the file, since these two option to totally different things.
Virtual Dub: only runs through the file (same as AVSmeter)
MeGui: does an intensive interlace analysis on the file
-> you will not get the same speeds no matter what,... -
thanks for the reply if add SETMTMOD and number and try to encode it does same speed as without SETMTMOD
i have tired setMTmode(2-5) (0-12) is same speed without -
Sounds like the avisynth script decoding is not the bottleneck, if your system can decoder the script with in example 500fps but encoding using the encoder of you choice is slower, the overall encoding speed will be as slow as the slowest element. (normally even slower, since now both encoding and decoding has to be done)
-
-
it's totally unclear what you are aiming for.
Every other post you change what you are doing, how should people help you if it's unclear what your goal is?
I leave the field now to others, since to me this doesn't seem to find an end since you do not seem to know what you are aiming for, or you simply did not share your intended goal with us here.
-> Wish you the best of luck with whatever you try to archive. -
sorry i am trying to aim fastest speed of fps so i can encode quicker and i am getting low speed even when i use setmtmode so doing something wrong in order to get that slow where my script running faster on avsmeter and virtualdub
-
If you're running out of memory the solution isn't to set AviSynth's memory usage higher. You should set it lower. When you open an AviSynth script within some other program AviSynth becomes part of that program. The memory that AviSynth uses and the memory the program uses come from the same 2 GB pool. The more AviSynth uses the less there is left for the program.
Similar Threads
-
Help needed! Hacking LG BD390 to Multi region
By PANOS in forum Newbie / General discussionsReplies: 0Last Post: 13th Oct 2011, 08:35 -
AviSynth much needed help!
By dbanimal in forum EditingReplies: 18Last Post: 28th Jan 2011, 10:33 -
Query about Multi-threaded vide codecs?
By goldenmean in forum Newbie / General discussionsReplies: 2Last Post: 9th Feb 2010, 15:59 -
Multi-threaded video conversion - how to check it?
By usta in forum Video ConversionReplies: 8Last Post: 12th Nov 2009, 08:16 -
Guide Needed for Authoring Multi Language DVD with multi language menus
By kemimich in forum Authoring (DVD)Replies: 2Last Post: 24th Dec 2008, 16:46