![]() |
Avisynth: Optimal Script?
I've been playing "search" and I keep seeing talk about an Optimal Script... well, I can't find it anywhere? Anyone know where it can be found?
|
You can find it here :arrow: http://www.kvcd.net/forum/viewtopic.php?t=3483
|
Thanks!
|
Optimal Script give me a lot of flicker.
I tried it on 3 different movies, and I get a lot of flicker in the solid colored areas in the background. Is this normal?
|
Hi Shibblet,
No, that's not normal. Maybe it's a color space issue :?: Are you using the latest version of AviSynth :?: -kwag |
1/ What is your source type ?
2/ Check that you are using K-Notch Matrix. 2bis/ What is your encoder ? |
Using TMPEG Ver. 2.524.63.181
AviSynth 2.5.5 Source is DVD - Forced Film / Progressive - No interlaced frames My CQ Was up around 82... Any Ideas? |
You're not using directshow filters to read your script are you?
That is, you did install ReadAVS.dll on your system so Tmpg can read *.avs scripts, right? Otherwise it's a jungle out there when it comes to directshow filters... Cheers |
8O Holy underwear stains Batman! 8O I've never used ReadAVS.dll in my life. I am going to have to go and get that one.
Any of the DirectDraw / DirectSound / DirectShow drivers seem to be quite a problem in just about any app. Thanks, I'll give that one a try. |
Then go ahead and download it from http://www.avisynth.org/warpenterprises/.
Unzip it. Read the readme.txt. Just copy the ReadAVS.dll and ReadAVS.reg to your Tmpgenc's directory. Open the ReadAVS.reg with notepad. Change it's last line to the Drive letter and full path (using double backslashes) of Tmpgenc's directory. Save and close the *.reg file. Double click on the *.reg file and answer yes when prompted to merge that information into your registry file. Close and restart Tmpgenc, if running. Open Tmpgenc's "Option>Environmental settings..." menu. Open the "VFAPI plug-in" tab. Check that the item "ReadAVS.dll" does not read something like "the file cannot be loaded.". When configured properly it should read "Avisynth/VirtualDub script reader v0.1". And last you can untick all options in that window besides "ReadAVS.dll" and "TMPGEnc.vfp" since most probably you won't need them. Close and restart Tmpgenc, again so it saves the options. Load your Avisynth script with TMPGEnc and happy encodings ;-) Am I missing something here, guys :?: Cheers |
Well, the flickering seems to be block noise. So it might be the compression, however, 70+ CQ is normally not an issue...
The ReadAVS.dll didn't seem to make that big of difference. And I am sure that I am using ReadAVS.dll instead of DirectShow. Any other ideas? |
Quote:
Did you "Uncheck" " :arrow: Directshow Multimedia Reader" in TMPEG :?: -kwag |
Positive about that one. The only things checked are
ReadAVS DVD2AVI Project File Reader TMPEG Project File Reader Now, when I use the optimal script, and downsample to 352x240, I have noticed that every frame just before a scene change is incredibly blurry. Just one frame, that's weird. But it's just before every scene change. Maybe that will help with my problem. |
Quote:
Nevertheless, I do not use ever the MA script because of that blurry "thing". |
The script that I am using is the one from RDS's link. It's the one from the top of the forum. Is this the script that everyone is using? And if so, does anyone know what causes the flicker and blurred frames before scene changes?
Now that I've had plenty of testing, seems to me that this version of TMPEG almost twice as fast as it used to be. |
Hey Shibblet :),
Don't use the 1st one. That one is for old Avisynth 2.0.x. Since I bet you're using Avisynth 2.5.5, use the 2nd one from that list. And if you're not using Avisynth 2.5.5 yet, please upgrade ASAP :D. Though, I'm not sure the blurrying has anything to do with the Avisynth release you're using and the script you're using. Cheers |
Right, I am using the one for AviSynth 2.5x and I still get that problem. I did make some minor alterations. I took out the Grip-sizing. Here, I'll post it.
Code:
LoadPlugin("D:\Video\MovieStacker\Filters\MPEG2Dec3.dll") Any suggestions? |
Of course the problem is in the MA part : that is the way the filtering is done (blurring a lot when the pictures change a lot, so at a scene change, that is a mess). That's what I told you already. And there is no solution except to stop using it, as I do (and as I once mentioned).
|
Time for me to fix that :!:
I'll get on it after I finish some CQMatic stuff ;) -kwag |
Dialhot:
Can you post a link to the thread that discusses YOUR latest optimal script? |
Quote:
I edited your post rui because Icarus asked for my script for one movie DVD, not for AVI->KVCD Phil |
Quote:
The logic for detecting a REAL SC was to calculate the average between ydifferencetonext() and ydifferencefromprevious() .... that works. Ill send you the script this week. :) |
Ok thanks Andrej :)
-kwag |
So, DialHot, I checked out the link to your script.
The script you have is pretty much just RemoveGrain, Temporal Soften, and Deen. Do you prefer to not use the Linear Adaptive Motion Filtering? |
Yes it is. That is exactly what I told you twice yet :-)
At least I can't stand the fuzzy effect introduced by the current script. Trust me or not but I can distinguish it after half a second of camera movement. That is a lot too boring to be watched. |
Quote:
The way it's set now, it does start to take effect on medium action. So it's just a matter of changing it to kick in at a higher activity point. -kwag |
Quote:
|
I can see the fuzzy effect too, however, I am constantly having issues with RemoveGrainS.
This is the only one that I can actually use. I am running an Athlon XP, so the SSE version, and the RemoveGrain version will not actually function. The problems with RemoveGrainS add to the linear motion issue badly, and seem to cause one toned skin and background areas (kind of like an old lady wearing too much makeup, ie. Cher) I have been adjusting the values, but I thought you told me once before that UnDot will do the same thing. |
Quote:
|
RemoveGrainS is the version which includes one dll that is required to use the filter. The function is exactly the same as DRemoveGrain/RemoveGrain. DRemoveGrain uses SSE2 instructions and RemoveGrain iSSE which means it's usable with Athlon XP.
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.