Avisynth: Trouble with MA-Script in PAL?
The MA-Part won´t work with PAL!!!! NEED HELP!!!
No fuction named 'chr' in line 41... Source is a 16:9 PAL DVD-VOB: Code:
## DLL Section ## Code:
#======================================================# |
In this way i can open it...
Quote:
|
That's wierd! 8O I haven't had any problems with encoding PAL movies. Let's hope someone else can help you.
|
This won´t work...
Quote:
|
The problem is not related to PAL or NTSC, you have a problem in the syntax of the script !
chr is an internal function of avisynth so it's strange it answers you it doesn't know it. I used this script everyday in PAL and it's ok. Do you have avs2.52 ? |
Thats the error message of VD:
http://www.digitalfaq.com/archives/error.gif kwag can U help me, or somebody else? Code:
## DLL Section ## |
What do you think we are trying to do ? :x
Answer to my question : DO YOU HAVE AVS 2.52 :?: By the way (it"s not the cause of your problem but) you modified the script in a bad way. You should have : SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 |
YES I´ve 2.52!!!!! and I didn´t regonize your first post... sorry
http://www.digitalfaq.com/archives/error.gif Code:
## DLL Section ## |
Does TMPGEnc gives the same error if you open the script with it ?
|
Seems to be an old Avisynth Version. Can you please make a text file with the following entry:
Code:
Version() |
Now it works!!! I reinstall AVISYNTH 2.5 and with this it works:
Code:
## DLL Section ## It seems AviSynthSwitcher 0.1 by akabob created all this, because if i switch it will bie AviSynth 2.5.0 |
That should have be my next questrion : how do you switch from 2.08 to 2.52 :-))
Note : i edited my post where I suggest you to change the value of the formula giving SwitchThreshold because I did error in it the first time. Check again. You shouldhave : SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 |
excuse me all...
Avalon and all, :) download the new 17 july avisynth 252 here: http://www.kvcd.net/forum/viewtopic.php?t=5009 :!: |
The program is called Avisynthswitcher 0.01 by akabob and u can find it at www.avisynth.org.
But it seems it creates AviSynth 2.0.7 (of 2.08 ) and 2.5.0.0 (of 2.5.2.0) Maybe in the next version is this fixed |
My last Script for today:
Code:
###### |
Much, much, much filters. TOO much !
atc + msmooth + temporalsoften = 3 temporal filters convolution3d + deen("a3d") = 2 convolution filters blockbuster(noise) + grain = 2 noizers ... Note: and you still have an error in the formula of SwitchTreshold ! Look at the optimal script or look at my two other posts in the present thread. |
Quote:
Avisynthswitcher! this was posted here a long time ago in the avisynth forum :!: use the "search"! :lol: :lol: :lol: |
Jorel, my friend : I knew the answer :-)
I just wanted to know if Avalon uses this crappy tool or switch by hand (after all, all that the tool does is to copy avisynth.dll to c:\windows\system !) The problem is, as Avalon just discovered here : the tool provides it's own versions of avisynth.dll so it has to be updated each time a new version of avs is produced :!: |
I`ll try again the optimal script...
|
Quote:
The basic rule is this: Use the minimum amount of filtering necessary to do the job. No more, no less. I believe the current script already does that. A minimum of static filters to clean the source on every frame, followed by a dynamic temporal linear filter (TemporalSmoother) for slow action scenes and a dynamic blurring linear filter (unfilter) for fast action scenes. That's it :!: Anything else will start to spoil the picture quality. However, that doesn't mean that the current filters are the filters required. The idea is to use the script as a basic framework, and plug in different filters. So if a new temporal filter comes out, it's a matter of substituting the current temporalsmoother. Same for the blurring. If something else (better) comes out, then we substitute unfilter :) -kwag |
Code:
###### |
I used the MA Script. I only add an Deinterlacer.
This was the Output. Original 352x288 http://www.digitalfaq.com/archives/error.gif What can I do, to get the blocky picture smoother?[/IMG] |
yes,
just like i post here many times ago and today,and i see more.. the skin color is too green(means less red) and see the white in her eyes are yellow/green too! see my last post trying to explain it... Posted: Thu Jul 17, 2003 8:45 pm here: http://www.kvcd.net/forum/viewtopic.php?t=4983&start=16 :!: |
Quote:
|
i'm back to answers Phil!
if with 480x480 in 83 minutes movie i got blocky and "everybody" with more resolution(544x or 702x)with more than 83 minutes :arrow: don't got blocks... :? the script is the same used for all... if i "Raise the CQ" the final file size will encrease,of course and i say bye,bye to one cdr 700mb. :lol: what i do? :? :? |
If I use this script:
Code:
#======================================================# http://www.digitalfaq.com/archives/error.gif Why? Can I get of of the blocks or not? Min.Bit 300; Max.Bit. 1800; CQ 60. I´ll try it again with CQ 90... AviSynthSwitcher: I fixed the problem. I looked into the folder of the program. I found older versions of AVISynth and updated it to 2.0.8 and 2.5.2. Now i can switch without problems!!!!! |
@Avalon,
Blockbuster(noise) is not effective with CQ. Use CQ_VBR for resolutions of 352x240(288). -kwag |
Now i tested all.
d2v directly loaded in TMPGEnc: http://www.digitalfaq.com/archives/error.gif sometimes blocky. d2v across AVS 2.0.8 (KVCD Script): http://www.digitalfaq.com/archives/error.gif blocky d2v across AVS 2.5.2 (MA Script): http://www.digitalfaq.com/archives/error.gif The hole sample blocky!!! |
Quote:
Result: http://www.digitalfaq.com/archives/error.gif now i try it with 2.5.2... |
Quote:
1/ lower the min video rate to 64Kbs (I encode everything at this rate) 2/ lower the audio rate to 112 3/ lower the res to 352*480 4/ blur the chroma to 1.58 insteed of 1.50 (Maxthreshold in the MA script) 4/ use TemporalCleaner(6+nf,13+nf) insteed of temporalsoften 5/ add DCT(1,1,1,1,1,1,0.5,0) at the end of the script 6/ blur luma a little bit more (0.2) 7/ add Dup(threshold=1,blend=true) just before DCT 8/ use an overscan of 2 Do this step by step until you have correct result. I generaly stop to 5 even with movie monger than 1h40 ! And finaly, if nothing works, change the movie :-) PS: I forgot "0/ use a 90min CD" :-)) |
@ Dialhot: Can u post your script?
Do U use CQ or VBR_CQ? Will it be like this? Code:
###### |
Hi Avalon,
When you have some time, and I mean a very long time :) , take a look at this (LONG) thread: http://www.kvcd.net/forum/viewtopic.php?t=2073 There you'll find all the tests we made, comparing CQ vs. CQ_VBR. -kwag |
Thanks!
I´ll look to Your samples: Quote:
|
Quote:
frame 86 in vdubmod: the cord(cable) between the leg of the guy walking and the head of other guy..in cqvbr show strange artefacts,cq is clean, and more details in this scene,easy too see. frame 140 in the water,cq is champion comparing with cqvbr. frame 208 in the fire,cq is champion comparing with cqvbr that is blocky. frame 290 with H.Ford,cq is champion again comparing with cqvbr. and in general details cq is better! ps: 8O the strange: H.Ford seems to me , but i'm really much more beautiful! :lol: :lol: :lol: :mrgreen: hey,....but he have more hair. :bawl: |
This is quite good... Im on page 39 of 43 :wink: :wink: :wink: :wink:
Quote:
Quote:
|
My last test will go with Motion Estimation and the MA-Script in 528x576...
I´m very tired!!!! Now in Germany it is 3:57 AM and I´ve today a long day... Good night everyone (or goodmorning...) BTW... can I edit the Video.en1-file to VBR-CQ or Motion Estimation ? An nother question... is there a good Deinterlacer out... where and if posible a sample ASV-Script... |
@ Avalon
good night my friend! :) i'm using fielddeinterlace(decomb) but maybe someone can show us another better choice. @ Phil ok friend,i will try all of your recomendations posted.... seems a "brain surgery" in the script! :lol: thank you very much! :wink: |
I changed the testing source... The Princess Blade sample wasn´t the good choice!!!!
I´ll try it now with the full Tomb Raider 2 Trailer out of a DVD... Looks better... Post U then my results... |
Quote:
Quote:
Now the script : MaxTreshold = 1.50 nf = 0 # Current frame. Mpeg2Source("tragt hier den Pfad zu Eurer d2v-Datei ein.") undot() Limiter() asharp(1, 4) GripCrop(352, 288) <-- you can try (352,576) GripSize(resizer="BicubicResize") STMedianFilter(8, 32, 0, 0 ) MergeChroma(blur(1.58)) MergeLuma(blur(0.2)) FieldDeinterlace() TemporalCleaner(6+nf,13+nf) <-- REMOVE SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= 2 ? \ 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) ") <-- REPLACE by the "TemporalCleaner" line shown above GripBorders() MovieStacker! Limiter() function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } Dup(threshold=1,blend=true) <-- move before function DctFilter(1,1,1,1,1,1,0.5,0) <-- move before function # ########[/code][/quote] |
Two mistakes:
1) You smooth before deinterlacing. Deinterlace first and then do the rest. 2) You sharp first and then smooth again. Better do it the other way around. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.