Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th October 2012, 16:59 | #581 | Link |
Registered User
Join Date: Jul 2003
Location: Lancashire, U.K.
Posts: 21
|
@SEt. Can I offer a suggestion, please? If read ahead buffering is required to make many of these filters (especially temporal ones) work properly in an MT environment, would it not be a good idea to add such a feature into Avisynth 2.6 MT? That way it would be native to the environment, instead of relying on a third party's software being at a reliable patch level? (In fact I'm not keen on being forced to use ffdshow, so I'm running single threaded instead.) Besides, wouldn't it be better to have all the required functionality self contained as part of your Avisynth MT "package"?
For instance, have a SetMTBuffer(framesback int, framesahead int) function. Or build the buffering functionality into existing Avisynth source filters such as avisource() and directshowsource(). I imagine this might not be a trivial piece of work for you, but I thought I'd put it out there as a suggestion to see what you and others think. Last edited by IJM; 26th October 2012 at 17:04. |
28th October 2012, 16:12 | #583 | Link |
Registered User
Join Date: Jul 2007
Posts: 1
|
Hello SEt,
I will use your Avisynth.dll in a Batchfile. This Batch check if is avisynth install and when not it will download it via WGet.exe. The Problem is, that WGet can not download from your link. Is it ok for you when I upload your dll to my webspace and share the link? |
3rd November 2012, 04:33 | #586 | Link |
Registered User
Join Date: Nov 2005
Location: UK
Posts: 117
|
Not really much of a coder or I would re-compile the MT.dll (v0.7) myself. Could anybody modify it to work with AviSynth v2.6 (from what I can see it is just a version check that stops it working - but there may be more).
Regards, Ben |
12th November 2012, 21:06 | #587 | Link |
Registered User
Join Date: Mar 2008
Posts: 68
|
I suppose there is not much sense in switching to Avisynth 2.6 MT from standard AVS if i don't use on most of my blurays encodes any specific filters, just standard crop\resize?
Would it increase perfomance on interlaced sources? |
17th November 2012, 17:56 | #588 | Link |
Registered User
Join Date: Nov 2005
Location: UK
Posts: 117
|
No not really, and quite the opposite if you use any filter other than the ones you mentioned. v2.5.8 with the ability to use MT("*) will be much faster than v2.6 (can only do SetMTMode(*) at the moment, due to the MT.dll not being compatible). The main advantage (IMO) of v2.6 is support for high-depth colour spaces (YV24 etc...) which doesn't really affect Blu-Ray (the spec won't allow higher than 4:2:0, YV12).
Last edited by bcn_246; 23rd November 2012 at 05:12. |
23rd November 2012, 04:20 | #590 | Link | |
Registered User
Join Date: Nov 2005
Location: UK
Posts: 117
|
Quote:
However, provided the user chooses an appropriate orientation and a reasonable amount of overlap, then checks for any visible artefacts were the split parts are joined and adjusts the parameters accordingly) MT(* still provides huge speed benefits with little/no quality loss for a huge number of filters (deblocking, sharpening, de-noising, anti-aliasing...). Comparing (preview w/VDub, source 1280x720@24 uncompressed YV12 AVI stored on 2xSSDs in RAID-0) Code:
MCTemporalDenoise() Code:
SetMTMode(2,8) MCTemporalDenoise() Code:
MT("MCTemporalDenoise(),threads=8,overlap=16,splitvertical=true) Its one small test, but I've used both enough times now to know that splitting the image is considerably faster in every circumstance I have seen and causes issues (when used properly) in very few circumstances. I haven't had any issues mixing the two with v2.5.8, even when switching multiple times. For example... Code:
SetMTMode(5) AVISource("blah.avi") MT("ConvertToYV12",threads=4,overlap=0) SetMTMode(2,16) QTGMC(FPSDivisor=2) SetMTMode(5) MT("DeBlock_QED(quant1=16,quant2=17)",threads=4,overlap=8) MT("LSFMod(60)",threads=4,overlap=16) SetMTMode(2) GradFun2DBmod(radius=3,str=0) SetMTMode(5) Crop(4,6,-2,-8) Spline36Resize(960,544) MT("AddGrain(1.2)",threads=4,overlap=0) Your right, my bad... I was referring to 4:4:4 support... Last edited by bcn_246; 23rd November 2012 at 06:00. |
|
24th November 2012, 01:38 | #591 | Link |
Registered User
Join Date: Aug 2007
Posts: 374
|
You are obviously doing something wrong. With 1280x720@24 source running on i7-930@4.1, VDub preview:
Code:
DGSource("test.dgi") MCTemporalDenoise() Code:
SetMemoryMax(1024) SetMTMode(3) DGSource("test.dgi") SetMTMode(2) MCTemporalDenoise() |
26th November 2012, 10:40 | #592 | Link |
Registered User
Join Date: Nov 2005
Location: UK
Posts: 117
|
Just tried again with AviSynth 2.6.0 a3 (110525)...
Got about ~11fps with the same file, which is a big improvement over v2.5.8 RC5 (081230) which gave ~6fps. Still, not quite as fast as splitting the picture (got ~13fps with MT("MCTemporal... but I can understand were you guys are coming from. I'll keep playing around, possibly one of the filters it uses is sub-optimal (I have been using Vit-Mod filters were available, and do check for updates pretty often). Regards, Ben P.S. Set, do you have MultiThreading enabled (in your BIOS) for your over-clocked 930 (so it detects 8 cores)?. I have found it crashes (KERNALBASE error in VDub) with it on... Last edited by bcn_246; 26th November 2012 at 13:39. Reason: P.S. |
26th November 2012, 15:23 | #593 | Link |
Registered User
Join Date: Aug 2007
Posts: 374
|
You need to tweak SetMemoryMax to your case to get the optimal speed and memory consumption. Larger values are not always better though.
Yes, it's fully enabled, so 8 threads. You get crashes in VD likely because its exe isn't LargeAddressAware (google it, it can be easily corrected). |
27th December 2012, 06:11 | #594 | Link | |
Registered User
Join Date: Nov 2005
Location: UK
Posts: 117
|
Quote:
I rebuilt the VirtualDub.exe (v1.10.2) PE header to make it LargeAddressAware. Now when running ('preview input'): Code:
SetMemoryMax(1024) SetMTMode(3,8) DGSource("720p24test.dgi") SetMTMode(2) MCTemporalDenoise() Thanks for taking the time to help a noob like me (can't even begin to say thanks for everything else you have done here). For others experiencing similar issues here is a ZIP containing LargeAddressAware patched versions of:
Download Link 2: http://www.sendspace.com/file/borm0d Virus Scan*: http://virusscan.jotti.org/en-gb/sca...1a1b30b8656758 *The files are safe, ClamAV is just complaining about VirtualDubMod being compressed with UPX |
|
7th January 2013, 14:25 | #598 | Link |
Registered User
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
|
Would be nice if there was official x64 support, the dev's of MeGUI are planning on stopping development of the x64 version as there is no x64 Avisynth support
__________________
The Internet: where men are men, women are men, and children are FBI Agents |
10th January 2013, 14:45 | #600 | Link | |
Useless idea generator
Join Date: Apr 2004
Location: Europe, Czech Republic, Brno
Posts: 332
|
Quote:
MT(MCwhatever) speeding up wrt SetMTMode() can be caused by sideeffect of spatial limiting of MC scope, decreasing MC quality.
__________________
Vista64 Premium SP2 / C2D E4700 2.6GHz/ 6GB RAM/ Intel GMA 3100 / DTV Leadtek DONGLE GOLD USB2 / focused to DVB-T MPEG2 PS capture -> ProjectX -> M2V/MP2 -> MeGUI/AVS -> MP4[AVC/AAC] |
|
|
|