digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: New MA script Version? (http://www.digitalfaq.com/archives/avisynth/6801-avisynth-ma-script.html)

kwag 11-21-2003 09:20 PM

Quote:

Originally Posted by audioslave
Didn't mean to step on your toes... :wink:

Not at all :!:
It means you're very focused on the changes :)

-kwag

digitall.doc 11-22-2003 05:30 AM

Hi kwag:
and thank you. At last, here's the answer to my oooold question: with higher action, and higher nf value, radius=2/nf trend to 0, and that means...
Kwag wrote:
Quote:

If the value of radius results as zero, it means that it's a high action scene, and I don't want TemporalSoften to work
So radius will be zero and so will the strength values. Thus rendering the temporal filter useless on action scenes, which is the exact effect I want, but WITHOUT turning the filter off
With radius 0 the filter has no effect, but iit's still switched "ON".
What about last two parameters?, should we test 1,2, or 15,2, or leave it as it is?.

Abond 11-22-2003 06:07 AM

[ non-sense ]

nicksteel 11-22-2003 07:15 AM

After all this, is the current posted Optimal MA script the right one?

J-Wo 12-07-2003 01:35 AM

Was wondering the same thing as NickSteel here... Not too sure but it doesn't look like the MA script has been updated to reflect any of the discussions in this thread. Kwag, have we come to a consensus on what the latest MA should be?

Also, I was wondering about the use of Limiter(). A lot of people have been dropping it because it makes some fade-to-black scenes look more like fade-to-black-with-dancing-grey-squares (at least that's what I observed). Have you given any thought to getting rid of it?

Thanks!

kwag 12-07-2003 01:51 AM

Quote:

Originally Posted by J-Wo
Was wondering the same thing as NickSteel here... Not too sure but it doesn't look like the MA script has been updated to reflect any of the discussions in this thread. Kwag, have we come to a consensus on what the latest MA should be?

The current MA script, as posted, works just fine ;)
Quote:


Also, I was wondering about the use of Limiter(). A lot of people have been dropping it because it makes some fade-to-black scenes look more like fade-to-black-with-dancing-grey-squares (at least that's what I observed). Have you given any thought to getting rid of it?

Thanks!
I always use limiter in my scripts. Never had a problem :!:

-kwag

Dialhot 12-07-2003 08:16 AM

Quote:

Originally Posted by kwag
I always use limiter in my scripts. Never had a problem :!:

I never use it, and never had problems too :!: ;-)

Why continue to use something that has NO benefits (and some problems...) ?

kwag 12-07-2003 09:49 AM

Quote:

Originally Posted by Dialhot
Why continue to use something that has NO benefits (and some problems...) ?

No benefit :?:
What happens if you get a source that has a Y range of 0 to 255 :?:
If your source is 16 to 235, it doesn't hurt to have Limiter(), because it won't clip anything. But if it does have a range of 0 to 255, limiter will clip it to the boundaries of 16 to 235, which is what we need for TV scale.

-kwag

Dialhot 12-07-2003 11:26 AM

Quote:

Originally Posted by kwag
What happens if you get a source that has a Y range of 0 to 255 :?:

TMPGENC will limit the value itself !
We all have the option "output YUV as basic YCbCr" uncheck (it's the default). And that leads to the same limitation in the output range.

Quote:

But if it does have a range of 0 to 255, limiter will clip it to the boundaries of 16 to 235, which is what we need for TV scale.
You're right, 16-235 it's what we need. But as told just above, usign tmpgenc, the 0-255 doesn't reach the TV.

kwag 12-07-2003 01:31 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by kwag
What happens if you get a source that has a Y range of 0 to 255 :?:

TMPGENC will limit the value itself !

Right, but what about if you are using some other encoder :?:
I didn't make the MA script specifically for TMPEG :!:
It was designed with any encoder in mind :cool:

-kwag

Dialhot 12-07-2003 02:21 PM

That's only "playing on the words" :-).

We give all the time advices that are "TMPGENC only". CQ mode is tmpgenc only. CQ_VBR also. No one will suffer with an other one ;-)

More, CCE for instance can't stand with the optimal script without a "ConvertToYUY2()" at the end. The MA script is not universal :lol:

Boulder 12-07-2003 03:07 PM

Quote:

Originally Posted by Dialhot
More, CCE for instance can't stand with the optimal script without a "ConvertToYUY2()" at the end.

Yes it can, if you've put xvid.dll or divx.dll as the YV12 decoder in the registry :lol: I believe that Helix has a YV12 decoder too.

I still wouldn't let any of those do the decoding, I trust the Avisynth internal functions a lot more.

rds_correia 12-07-2003 06:38 PM

Quote:

Originally Posted by Boulder
Quote:

Originally Posted by Dialhot
More, CCE for instance can't stand with the optimal script without a "ConvertToYUY2()" at the end.

Yes it can, if you've put xvid.dll or divx.dll as the YV12 decoder in the registry :lol: I believe that Helix has a YV12 decoder too.

I still wouldn't let any of those do the decoding, I trust the Avisynth internal functions a lot more.

Strange thing Boulder and Dialhot, because I've ran a lot of tests with CCE 2.66 and 2.67 and our famous MA script.
But I was never able to encode a full movie even if I used KillAudio() or ConvertToYUY2...
I wounder why but CCE always starts encoding fine but it usually displays something about "illegal memory...performed by Avisynth" after a few minutes of encoding.
Please note that I allways aimed for resolutions of 544/704x576 because I noticed it worked fine with 528x576.
Anyway besides being a lot slower than CCE, TMPG is A LOT better than CCE :D

incredible 12-07-2003 07:02 PM

Quote:

Originally Posted by rds_correia
... But I was never able to encode a full movie even if I used KillAudio() or ConvertToYUY2...
I wounder why but CCE always starts encoding fine but it usually displays something about "illegal memory...performed by Avisynth" after a few minutes of encoding.
Please note that I allways aimed for resolutions of 544/704x576 because I noticed it worked fine with 528x576.

Reinstall your Avisynth using the newest one avaiable. Second ... be shure all needed codes are onboard of your machine. I never had problems using .avs's which do serve a YV12, RGB32 or YUY2 Stream to CCE
Quote:

Anyway besides being a lot slower than CCE, TMPG is A LOT better than CCE :D
Depends on the Bitrate and your settings in CCE ;-)
In case of OneCD Encodings I shurely use TmpgEnc but if I do encode movies to a KDVD using a avg bitrate of ca. 2000kbit and above I use CCE mpeg2 with a fast manual prediction.

J-Wo 12-07-2003 07:41 PM

I've also got something a little interesting going on... I use CCE almost exclusively now and NEVER have to add the line ConvertToYUY2() anymore. I'm not too sure how or why, but I think it may have been when I upgraded Avisynth to 2.5.3, or one of the recent betas before that.

rds_correia 12-07-2003 07:54 PM

Quote:

...
Reinstall your Avisynth using the newest one avaiable. Second ... be shure all needed codes are onboard of your machine. I never had problems using .avs's which do serve a YV12, RGB32 or YUY2 Stream to CCE
Hi, I was using AVS 2.52 and now I have AVS 2.53 but still I have problems with CCE 2.66/2.67.
And then I got lost on the 2nd part of your post.
Could you elaborate a bit more on what you meant by needed codes?
Thnx.

J-Wo 12-07-2003 08:54 PM

Quote:

Originally Posted by rds_correia
Hi, I was using AVS 2.52 and now I have AVS 2.53 but still I have problems with CCE 2.66/2.67.
And then I got lost on the 2nd part of your post.
Could you elaborate a bit more on what you meant by needed codes?
Thnx.

I think what incredible meant to say was make sure you have all the needed CODECS, not codes. Meaning, you need to make sure you have divx/xvid video codecs, or mp3/ac3/ogg audio codecs, etc properly installed.

incredible 12-08-2003 04:31 AM

J-Wo is right! :D

rds_correia 12-08-2003 09:55 AM

Hmm,
But I only use VOB sources and I encode the audio separatly to MP2 with HeadAC3...
Even stranger than the above:
Since I moved to AVS 2.53 I had to start using ConvertToYUY2 on my scripts, otherwise TMPG won't accept it.

J-Wo 12-08-2003 11:10 AM

I've often found problems with avs are solved by uninstalling it completely, then reinstalling it. Don't worry, your existing plugins folder will remain intact so you don't have to redownload them over again. Also, make sure you have the latest version of mpeg2dec3.dll, which is v1.1 and availble at http://nic.dnsalias.com/mpeg2dec3.html. Ensure that you don't have any other versions of mpeg2dec lying around in your plugin folder. Also, what version of dvd2avi are you using to handle your VOBs? Could you post a copy of the avs script you're using?

rds_correia 12-18-2003 06:50 AM

I am using both DVD2AVI and MPEG2DEC3 changed by Donald Graft.
In fact I've been using the new MA script and I only add "monitor filter" just so that in CCE I can see in what scene of the encoding I am.
Thanks for the interest in my prob.
C ya

Holomatrix 01-08-2004 02:34 PM

Hey, guys, just wanted to clarify some things for myself with the new script. So we can remove MergeChroma(blur(MaxTreshold)) and MergeLuma(blur(0.1)) now, right? and why is there two Limiter() statements?
Thanks

incredible 01-08-2004 02:44 PM

At the beginning of this thread you'll find this:
Quote:

Originally Posted by kwag
Quote:

Originally Posted by incredible
If Unfilter(xxxx) now is active all the times .... shouldn't we delete at least
MergeLuma(blur(0.1)) ... to avoid double blurring on static scenes

Yes. Go ahead and delete it. I'll update the script later today. It's not needed anymore.

-kwag

So do it as recommended.

Holomatrix 01-08-2004 02:53 PM

Ok, thanks. Keep MergeChroma(blur(MaxTreshold)), right? and what about the Limiter statements?

incredible 01-08-2004 03:36 PM

There's no Blur using the MaxThreshold Variable anymore!
Watch the latest release of MA and use exactly that one.

No matter if its needed or not .. I don't use limiter() anymore cause it only CUTS!!! the luma range at its beginning and the end ... and Im not shure if TmpgEnc does it also.
So you can decide or better "see" what results if just using TmpgEncs internal Luma TV prevention.


All times are GMT -5. The time now is 02:10 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.