Hello,
I wrote a programm which creates batch files, which I start and they compress my videos to h264. My problem is, that if I add MDegrain2 in my Avisynth script, the processor usage is only 20%-30% and ~1fps. If I remove MDegrain then cpu usage is 100% and ~4fps. This values are on my laptop (Windows 7, i5 2410m and 4gb ram). I know it's not the best setting, but I think it should be a little bit faster.
On my other pc (Windows 8, i7 3770K, 8gb ram) I have the same problem, with about 5fps with MDegrain and 20fps without. I work with Set's Avisynth 2.6 MT newest version.
Here my script:
And my batch file:Code:SetMTMode(5,0) DSS2("G:\xxx\xxx.mkv") SetMTMode(2) Crop(0, 138, -0, -138) super = MSuper(pel=2, sharp=1) bv1 = MAnalyse(super, isb = true, delta = 1, overlap=4) fv1 = MAnalyse(super, isb = false, delta = 1, overlap=4) bv2 = MAnalyse(super, isb = true, delta = 2, overlap=4) fv2 = MAnalyse(super, isb = false, delta = 2, overlap=4) MDegrain2(super,bv1,fv1,bv2,fv2,thSAD=400) return last
Can you help me please?Code:SET CLI_MKVEXTRACT="C:\Tools\mkvextract.exe" SET CLI_MKVMERGE="C:\Tools\mkvmerge.exe" SET CLI_MKVINFO="C:\Tools\mkvinfo.exe" SET CLI_AVSPIPE="C:\Tools\avs2pipemod.exe" SET CLI_H264="C:\Tools\x264.exe" SET CLI_NEROAAC="C:\Tools\neroaacenc.exe" SET INPUT="G:\xxx\xxx.mkv" SET INPUTVIDEOSCRIPT="G:\xxx\temp_xxx\video_script.avs" SET OUTPUT="G:\xxx\xxx_compressed.mkv" SET X264_PRESET=slower SET X264_TUNE=film SET X264_CRF=20 SET LOGFILE="G:\xxx\temp_xxx\xxx.log" %CLI_MKVEXTRACT% chapters %INPUT% --redirect-output "G:\xxx\temp_xxx\chapters.xml" %CLI_AVSPIPE% -video %INPUTVIDEOSCRIPT% | %CLI_H264% - --input-res 1920x804 --output "G:\xxx\temp_xxx\video.264" --preset %X264_PRESET% --tune %X264_TUNE% --crf %X264_CRF% %CLI_MKVEXTRACT% tracks %INPUT% 0:"G:\xxx\temp_xxx\audio_0.music" %CLI_MKVMERGE% --title xxx_compressed -o %OUTPUT% --chapters "G:\xxx\temp_xxx\chapters.xml" --display-dimensions 0:1920x1080 "G:\xxx\temp_xxx\video.264" --track-name 0:"English" --language 0:eng "audio_0.music" --default-track 0:1
Thanks
Dominik
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
smplayer slow down
By tao63 in forum Newbie / General discussionsReplies: 1Last Post: 15th Apr 2011, 08:56 -
Avisynth - Stack 4 Videos But Too Slow - Help!
By controlalt in forum EditingReplies: 10Last Post: 14th Mar 2011, 08:36 -
slow PC
By mac71671 in forum ComputerReplies: 4Last Post: 3rd Dec 2009, 21:16 -
slow down video
By natty in forum Newbie / General discussionsReplies: 4Last Post: 19th Feb 2009, 00:37 -
computers very slow
By toolady in forum ComputerReplies: 18Last Post: 24th Jun 2008, 08:44