MA Script Questions
I want to try the MA script instead of the "For DVD and clean material (AviSynth 2.0x) for my KDVD full encodes
## DLL Section ## # LoadPlugin("C:\Filters25\MPEG2Dec3.dll") LoadPlugin("C:\Filters25\GripFit_YV12.dll") LoadPlugin("C:\Filters25\STMedianFilter.dll") LoadPlugin("C:\Filters25\asharp.dll") LoadPlugin("C:\Filters25\unfilter.dll") LoadPlugin("C:\Filters25\undot.dll") # #### ## Defined Variables and Constants ## # MaxTreshold = 1.50 nf = 0 # Current frame. # #### ## Main section and static filters ### # Mpeg2Source("Your_D2V_Source_Here") Understand. # undot() Limiter() asharp(1, 4) GripCrop(Your_GripCrop_Parameters_Here) For KDVDfull 720,480 Anything else? GripSize(resizer="BicubicResize") STMedianFilter(8, 32, 0, 0 ) MergeChroma(blur(MaxTreshold)) MergeLuma(blur(0.1)) # # ## Linear Motion Adaptive Filtering ## # # ( Portions from AviSynth's manual ) - This will apply temporalsoften to # very static scenes, and apply variable blur on moving scenes. # We also assign a variable - and this is why a line break is inserted: SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \ unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \ TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") # # # GripBorders() #LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! Exactly what data do I get from MovieStacker? For example, almost all of my encodes are for 16:9 film. Do I change any other data than I've noted in blue? Limiter() # # ## Functions ### Also, do I remove AviSynth 2.0x and install AviSynth 2.5x, or keep both? Also, which version of AviSynth, 2.5.2 or another release? function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } # #### |
Nicksteel,
Good idea! You have to remove AviSynth 2.08 to install 2.52. Even if you don't remove they will overwrite each other, so you better remove to avoid confusion. Also make sure you predict all movies you want to put in the DVD together, that will give you even more quality in your encodes. []'s VMesquita |
Need some specifics.
Quote:
Can you give me a sample line for LETTERBOX() for 16:9 NTSC FILM? This is for 720x480 16:9 DVD output from original 16:9 NTSC FILM DVD using KDVDFULL. Telecine() and Decimate() used in avs file. |
This is what I use:
GripCrop(720,480,overscan=1,Source_anamorphic=true ,dest_anamorphic=false) GripSize(resizer="BicubicResize") GripBorders() You may need converttoyuy2() in the end of the script. []'s Vmesquita |
For KDVD encodes, I wouldn't use Gripfit.
I'd rather open the .d2v in TMPEG to get the "Film Pixels", then feed that in Moviestacker to get the correct resize and overscan blocks. Example: I open my "K-Pax" .d2v with TMPEG. Go to "Clip frame" and cut off the top and bottom black bars. Now I read on the top left the actual film size. It reads: 720x362 So I exit TMPEG, canceling the clip frame (was only used to get the film area), and run MovieStacker and open the same .d2v. Now Moviestacker reads the source as 720x480, so I enter 720x362 in the Film Pixel fields. Now I select my blocks overscan, etc. And because I'm doing a DVD, and my source is 16:9 anamorphic, I select anamorphic on output too :!: This is important, to create the same anamorphic DVD aspect as the original. Now a basic .avs script looks like this: Code:
Mpeg2Source("F:\KPAX\VIDEO_TS\movie-dvd2avi-1.77.3.d2v") Just add your MA script or favorite filters ;) -kwag |
Kwag,
This looks interesting, I'll try in my next KDVD Encode! []'s VMesquita |
Quote:
Also, when I use the MA script, modified as above, do I need to change TMPGEnc min/max for CQMatic. I've been using KDVD's 300/5000 default so far. |
Quote:
Quote:
-kwag |
Kwag, different stripes
Quote:
I am getting smaller than wanted CQMatic output with the narrow striped film. Unchecking Detect Screen Change resulted in even a lower predicted CQ. Also, in TMPGEnc with 16:9, I am setting Video/Video stream setting/Aspect ratio to 4:3 and Advanced/Source aspect ratio to 16:9 and Advanced/Video arrange Method to Full screen (keep aspect ratio). :?: Is this correct (the output looks right)? |
Hello nicksteel:
Just to let you know my short esperience related to 16:9 and Tmpegenc. When the source was 16:9, I was setting both - video and advance-Tmpgenc video settings to 16:9, and the result was a horizontally stretched video, viewed by the dvd players. Then I changed this setting to 4:3 on both video settings - video and advcanced tabs, and the video ratio was correct, as viewed by PowerDvd and my players. I need to experiment a bit more prior to have a definitive conclusion regarding this 16:9 issue....... By the way, I also have the Advanced/Video arrange Method to Full screen (keep aspect ratio), similar to yours. I have not encoded using the Unchecking Detect Screen Change. Will do that either today or tomorrow. Regards Totonho03 |
Kwag,
Quote:
|
Re: Kwag,
Quote:
-kwag |
Confused about MA script requirements.
I want to try MA optimum scripts. Now I use non-MA for DVD and the non-MA video capture script for tv captures. I use KDVD for DVD and KVCD and SKVCD for captures.
I understand that I should uninstall avisynth 2.08 and install 2.52. :?: Do I need to reinstall or modify any other programs after installing avisynth 2.52? :?: Can I use the MA script for captures? Filters exist for both avisynth 2.08 and 2.52. :?: Should I use the 2.52 filters for MA instead of my present filters? :?: Where do I get GripFit_YV12.dll? I presently use MPEG2DEC.dll. :?: Should I use MPEG2Dec3.dll with MA? |
Re: Confused about MA script requirements.
Quote:
Quote:
The plugins are here : http://www.avisynth.org/~warpenterprises/ Quote:
|
Re: Confused about MA script requirements.
Quote:
I've downloaded the new plugins and will replace mine where necessary. :?: Should I modify the optimum script for captures to use with MA? |
Re: Confused about MA script requirements.
Quote:
|
Re: Confused about MA script requirements.
Quote:
:?: Do you know if "For VHS and captures:" script will run with avisynth 2.52? |
You have to modify it a lot :
1/ Legalclip() becomes Limiter() 2/ StMedianFilter has only 4 parameters (use STMedianFilter(8, 32, 0, 0)) 3/ DustV5 does not exist in avs2.5 so I suggest you to change FaeryDust (or PixieDust) by Deen(). |
Quote:
Also, Gripfit for 2.52 |
You will find it in... the avisynth documentation :-)
It's a new internal command of avisynth and it replace old lecalclip plugin ;-) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.