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. |
28th March 2011, 17:33 | #523 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
"written offer" 2b) clause ?
-Vit-, do you really want to send CD with source codes? Why not upload the (separate) full source code package? http://www.gnu.org/licenses/old-lice...ngedJustBinary and please do not forget GPL inself (with binaries too). http://www.gnu.org/licenses/old-lice...hyMustIInclude
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
28th March 2011, 18:55 | #524 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Is using "noiseprocess=0", "tr2=0" and "smode=0" the way to minimize both the denoising and sharpening effect of QTGMC? I'm looking to output high quality smart bobbed video and then do the denoising and sharpening using different tools on the result.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
28th March 2011, 19:47 | #525 | Link |
Registered User
Join Date: Jul 2010
Posts: 448
|
Fizick: The final paragraph of clause 3 clearly sets out that there only needs to be equivalency of distribution channel between binary and source. So whilst a product distributed physically would require a physical source distribution, in this case I only need an offer of equivalent access, i.e. internet distribution. [The v3 FAQ alludes to this distinction for v2 - note the reference to distribution on physical media]. Furthermore, as long as the OP has a link to the source code that is valid and synchronized then I am offering access to the dll and source from the same place, which essentially meets the stipulations of clause 3 anyway. The text in the zip is just for good measure. I have added the GPL text to the zip.
Boulder: I do this all the time. You want SourceMatch and EZKeepGrain for that. Something like this is near transparent. It will be slow: Code:
QTGMC( "Slow", SourceMatch=2, Lossless=2, EZKeepGrain=0.4, Sharpness=0.1 ) Last edited by -Vit-; 28th March 2011 at 22:26. |
28th March 2011, 23:39 | #527 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Using MT 2.5.7 and x264.exe crashes randomly with this script (a tad disconcerting 6 hours into an encode)...
Code:
SetMTmode(mode=5,threads=4) # start with mode=5 forAVIsource http://forum.doom9.org/showthread.ph...16#post1067216 SetMemoryMax(384) LoadPlugin("C:\SOFTWARE\DGindex\DGDecodeNV.dll") LoadPlugin("C:\SOFTWARE\DGindex\DGDecode.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Yadifmod.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\DePan.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\AGC.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Cnr2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\dctfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\fft3dfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\degrainmedian.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Convolution3d.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\despot.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\WarpSharp.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\aWarpSharp.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\mt_masktools-25-broke-backward-compatibility.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\mvtools2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Unfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\AddgrainC.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\hqdn3d.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Colormatrix.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\NNEDI2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\NNEDI3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\EEDI2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\EEDI3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\VerticalCleanerSSE3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\dfttest.dll") # ------------------------------------------------------------------------------------- LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\VariableBlur.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\FFTQuiver.dll") # ------------------------------------------------------------------------------------- #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveGrain.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveGrainSSE2.dll") #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Repair.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RepairSSE2.dll") #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveDirt.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveDirtSSE2.dll") Import("C:\Program Files (x86)\AviSynth 2.5\LimitedSharpenFaster.avs") Import("C:\Program Files (x86)\AviSynth 2.5\Deblock_QED_MT2.avs") Import("C:\Program Files (x86)\AviSynth 2.5\QTGMC-3.31.avsi") MPEG2Source("G:\HDTV\the-file.d2v",info=0,ipp=true,cpu=4) AssumeTFF() Assumefps(25) changefps(last,last,true) # http://forum.doom9.org/showthread.ph...45#post1473445 SetMTmode(mode=2,threads=4) QTGMC(Preset="Fast",EdiThreads=2,Sharpness=1.2,SLMode=1) # result is double framerate progressive, so re-interlace it later Lanczos4resize(720,576) # Re-Interlace and halve framerate AssumeTFF() #choose the SAME field order like before deinterlacing SeparateFields().SelectEvery(4,0,3).Weave() #reinterlace. # ColorMatrix(interlaced=true,mode="Rec.709->Rec.601") AssumeTFF() #choose the SAME field order like before deinterlacing AssumeFPS(25) SetPlanarLegacyAlignment(True) Distributor() Suggestions appreciated. |
29th March 2011, 03:32 | #530 | Link | ||||
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
OK ... now I'm off to locate and research "SEt's builds, 2.58MT or 2.6MT" (for known bugs, limitations) ... I recall looking at them some months ago and thought they appeared too fragile then; hope things have improved.
edit: Seems to me like "choose your poison" as all versions crash ... Not so good for 2.5.8 MT - Quote:
Quote:
Quote:
Quote:
Last edited by hydra3333; 29th March 2011 at 03:55. |
||||
29th March 2011, 08:28 | #531 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
@hydra3333
Just out of curiosity, have you tried the 2.5.8MT you can find here ? I'm interested on what could the results be. These versions are updated regularly, so, maybe they could have fixes and could be more stable. |
29th March 2011, 08:50 | #532 | Link |
Registered User
Join Date: Jul 2010
Posts: 448
|
That all versions of Avisynth crash is a given, the Avisynth multithreading code is buggy and could do with a rewrite. However, SEt did fix some bugs in his version, which makes them slightly less prone. However, each system is different in which version suits best. You cannot search for the answer to this dilemma, you must practically try each version and see which works best for you.
There are no code fixes in xhmikosr's builds, in fact I see no code changes over SEt's 2.58MT. The fact that it's a clean VS2010 build might help a little, so worth a try. |
29th March 2011, 09:42 | #533 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
It looks like Avisynth 2.6 with MT support is not going to be here anytime soon.. IanB has said that he's not going to go the SetMTMode way so that means that MT code will basically have to be written from scratch. And as Avisynth 2.6.0 hasn't seen an official alpha release in over a year and a half, things are probably not going to process too fast Too bad since MT-capable CPUs have become very common items.
-Vit-, did you ever notice any improvements regarding stability by using customized plugins you mentioned earlier in this thread (the correct header files)?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
29th March 2011, 10:44 | #534 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
On another tack, I am attempting to do a "high quality" size reduction from PAL 1440x1088i "HDTV" to 720x576i to burn a DVD.
The capture is a fast-movement sports action clip. Here is a 3Mb sample from the HDTV capture. http://www.mediafire.com/?awxorf6fo8q3520 I must be doing something wrong. I'd thought QTGMC would give me a very high quality "smooth movement" double-framerate deinterlaced result without shimmers etc which I could re-interlace to preserve "fluidity" of fast movement. However, the result with this script ... well, look at the "50m arc" white line it jaggies and shimmers. Maybe nothing can be done, it just "is" ? Suggestions appreciated. Code:
SetMemoryMax(384) LoadPlugin("C:\SOFTWARE\DGindex\DGDecode.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Yadifmod.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\DePan.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\AGC.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Cnr2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\dctfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\fft3dfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\degrainmedian.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Convolution3d.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\despot.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\WarpSharp.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\aWarpSharp.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\mt_masktools-25-broke-backward-compatibility.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\mvtools2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Unfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\AddgrainC.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\hqdn3d.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\Colormatrix.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\NNEDI2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\NNEDI3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\EEDI2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\EEDI3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\VerticalCleanerSSE3.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\dfttest.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\VariableBlur.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\FFTQuiver.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveGrainSSE2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RepairSSE2.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins-zzz\RemoveDirtSSE2.dll") Import("C:\Program Files (x86)\AviSynth 2.5\LimitedSharpenFaster.avs") Import("C:\Program Files (x86)\AviSynth 2.5\Deblock_QED_MT2.avs") Import("C:\Program Files (x86)\AviSynth 2.5\QTGMC-3.31.avsi") MPEG2Source("G:\HDTV\AFL\MP4\2\test.d2v",info=0,ipp=true,cpu=4) # QTGMC(Preset="Slow",EdiThreads=2,Sharpness=1.2,SLMode=1) # result is double framerate progressive, so re-interlate it later Lanczos4resize(720,576) AssumeTFF() #choose the SAME field order like before deinterlacing SeparateFields().SelectEvery(4,0,3).Weave() #reinterlace. ColorMatrix(interlaced=true,mode="Rec.709->Rec.601") AssumeTFF() #choose the SAME field order like before deinterlacing AssumeFPS(25) SetPlanarLegacyAlignment(True) Last edited by hydra3333; 29th March 2011 at 10:53. |
29th March 2011, 11:05 | #535 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Try SLmode=2 instead of SLmode=1.
Can't predict if that's the culprit here, but generally, the (spatial) limiting of SLmode=1|3 can cause shimmering on sharp/thin detail.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
29th March 2011, 11:11 | #536 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
SLmode=2 yields almost identical result. I guess it must be a function of (re)interlacing. The larger-scale interlaced source appears to have very minor similar issues. The double-framerate progressive before re-interlacing looks very reasonable.
I do wish the PAL DVD spec included 576p50 Last edited by hydra3333; 29th March 2011 at 11:15. |
29th March 2011, 11:29 | #537 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Ah, so you're talking about playback of the re-interlaced 576i stream.
You're probably missing the vertical lowpass. Are you watching this on a PC, or on a LCD TV set, or on an old-school tube TV? Code:
Lanczos4resize(720,576) AssumeTFF() #choose the SAME field order like before deinterlacing Blur(0,1).SeparateFields().SelectEvery(4,0,3).Weave() #reinterlace.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
29th March 2011, 11:39 | #538 | Link |
Registered User
Join Date: Jul 2010
Posts: 448
|
Boulder: I always use my own mods of all the plugins which include SEt's fixes and a nasty hack of my own. They do help, but I haven't had a chance to thoroughly test in order to release. As they have all been converted to VS2010/Intel builds so there is scope for problems - I already get enough support queries on QTGMC...
hydra3333: Just run the QTGMC line from your script and the result is clean and shimmer free. It's the rest of the script that is the problem - <snip> ah... already other answers coming in... |
29th March 2011, 11:53 | #539 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Yes, seems that hydra3333 is fighting the basic technical shortcomings of interlacing.
Have a B/W photo (mpeg source), color it up with a nifty colorizer (QTGMC), then print it out on a B/W laser printer (reinterlacing). Hey, it's only grey! Why are the final colors bad again?
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
29th March 2011, 12:42 | #540 | Link | |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Quote:
edit: as an aside, the reduced-size 576p50 in a .mp4 from x264 looks very nice indeed from a WDTVlive on a 32"LCD TV... almost better than the original 1440x1080i ! No good for a DVD though Last edited by hydra3333; 29th March 2011 at 12:53. |
|
|
|