digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: MA script for a one-movie DVD ? (http://www.digitalfaq.com/archives/avisynth/8294-avisynth-ma-script.html)

Lagoon 02-22-2004 08:16 PM

MA script for a one-movie DVD ?
 
I was wondering if for one-movie DVD the MA script isnt giving worse quality than without any filters at all ? wouldn't it be more blurred ?

Talking about 4000-5000 average bitrate.

What would be the good lines to keep for this kind of bitrate ? remove all blurring filters ?

jorel 02-22-2004 09:10 PM

hy Lagoon!

i was thinking the same this days!
AviSynth 2.5x script,don't?
maybe turn asharp like this:
asharp(2, 4)
and remove
mergechoma and mergeluma (blur)

but wait more opinions and do a test with a little vob,ok?
:)

Lagoon 02-22-2004 09:43 PM

Yeah 2.5x script.

I'm currently doing samples on 1000 frames with various settings :wink:

jorel 02-22-2004 09:47 PM

post each result my friend,
we all want to know!
:wink:

Lagoon 02-22-2004 09:58 PM

asharp seems to amplify a lot the "white line" on edges, I actually like the pictubre better without it, is there any filter to reduce those ? :?

jorel 02-22-2004 10:23 PM

use unfilter(-5,-5) or (-10,-10)
or reduce asharp to(0.5,2) or remove it!
:wink:

incredible 02-23-2004 04:39 AM

Friends, as the new MA now blurs linear and continously you shouldn't use it in a case of ONE Movie DVD-R where you enjoy enough space and high avg bitrates cause MA does manipulate the image. And we do not really to manipulate streams that much if we gain from enough media space.

Just treat the movie using a light filtering (if you got a good mastered DVD as source). A minimal Temporalsoften i.e.

Asharp is very tricky as it very fast (as you did figure out) in case of heavier sharpening results in "glowing" edges.

Just use in this case Unfilter(60,0) so only the horizontal lines will be sharpened what is the most importand cause TVs are Line based.

Something like this:

mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Your resizing here()
Deen("a2d",1,3,5) # Only if spatial filtering is really needed
Temporalsoften(2,3,5,20,2)
Unfilter(60,0)
Addborders(xxxx)

Too much sharpen will look some kind of in-natural on Tv .. that have been also the issue in cases of 352x288(240) encodings where some guys used Labczos AND asharp afterwards = glowing edges.
Next issue is, if you got a std. TVset using i.e. 50hz you will get a horzontal line-flickering effect.

IF I would tweak out the best of a good DVD d2v source, I just would apply some light filtering and maybe some luma tweaking using levels... only if really needed as some DVDs are clipping in their Luma range.

Dialhot 02-23-2004 05:31 AM

Quote:

Originally Posted by incredible
mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Your resizing here()
Deen("a2d",1,3,5) # Only if spatial filtering is really needed
Temporalsoften(2,3,5,20,2)
Unfilter(60,0)
Addborders(xxxx)

That is quite the script I use.
As I do al my targets in anamorphic, and all my source are anaporphic, I don't have even to do any resising. I just crop the black borders and put them back at the end of the process.

The borders (top, bottom) are always the same (you can check that in DVD2AVI:

(0,0) when the movie is fullscreen
(16,16) when it is 1.85
(72,72) when it is 2.35.

And the script is :
Code:

mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Crop(8,0,704,576) # for full screen
#Crop(8,16,704,544) # for 1.85
#Crop(8,72,704,432) # for 2.35

Fluxsmooth()
TemporalCleaner(5,10)
Undot()
DCTFilter(1,1,1,1,1,1,0.5,0)

AddBorders(0,0,0,0) # for fullscreen
# AddBorders(0,16,0,16) # for 1.85
# AddBorders(0,72,0,72) # for 2.35

Letterbox(16,16,16,16) # overscan=2

That's all.

Note: I only did clean sources for the moment; Badly noisy ones can be processed with a spacial like deen, as inc suggested.

incredible 02-23-2004 06:54 AM

Wow, Fluxsmooth at default AND Temporalcleaner(5,10) is IMHO a heavy temporal denoising.

Do you got nice experiences when using fluxsmooth??
I heared that the new version also got some speed improvements.

OT: Very interesting would be for me to find a well and fast YUY2 spatial cleaner (TV Caps) like spatialsoften() which IMHO is too slow but better than Deen(a2d), maybe Convolution3d_YUY2 at spatial settings. Well I check it out.

jorel 02-23-2004 07:29 AM

hey friends,
the "problem" that Lagoon post is :
"wouldn't it be more blurred ?" (using the 2.5x ma script)
then....
:lol:

Dialhot 02-23-2004 08:09 AM

Quote:

Originally Posted by incredible
Do you got nice experiences when using fluxsmooth??

I did all my KDVD with this, I used to do all my KVCD with this before I switch to something closer to my avi->divx V4 script.

And let me tell you that the KDVD samples I distributed saturday were done with this script. And see the comment of kwag :
Quote:

DAMN, Looks good Phil 8O :lol:
So, you see... the results are good, aren't they ? ;-)

Note: I actually use fluxsmooth(7,7) but I thinkthis are the default values. Perhaps I'm wrong. So use (7,7) to be sure.

incredible 02-23-2004 10:02 AM

@ Jorel
His Question was already answered I think :)

@ Phil, yep, 7,7 are Fluxsmooth's defaults

Ahh! You mean your samples you provided by doing the KDVD-Test-compatibility Streams! :wink:

BTW I was not in doubt that your settings come out good, I just asked you about your experiences :wink:

Lagoon 02-23-2004 01:36 PM

Thx for all the examples ill give them a try :wink:

bigggt 02-23-2004 07:24 PM

Hi Phil i want to try this out for KVCD

Code:

mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Crop(8,0,704,576) # for full screen
#Crop(8,16,704,544) # for 1.85
#Crop(8,72,704,432) # for 2.35

Fluxsmooth()
TemporalCleaner(5,10)
Undot()
DCTFilters(1,1,1,1,1,1,0.5,0)

AddBorders(0,0,0,0) # for fullscreen
# AddBorders(0,16,0,16) # for 1.85
# AddBorders(0,72,0,72) # for 2.35

Letterbox(16,16,16,16) # overscan=2

But i obviously have no clue what i'm doing because i get an error abiut the crop line but anyway if i want to use thjose filtyers where would i put my resize line

Thanx

Dialhot 02-23-2004 07:53 PM

Quote:

Originally Posted by bigggt
But i obviously have no clue what i'm doing because i get an error abiut the crop line but anyway if i want to use thjose filtyers where would i put my resize line

Replace the crop line by your resize one (and don't forget to modify the addborders line).

bigggt 02-23-2004 07:59 PM

Thanx Phil

and for stupid people like myself that just copy and paste you might want to change this line

Code:

DCTFilters(1,1,1,1,1,1,0.5,0)
The s was giving me an error

Thanx again Buddy

Dialhot 02-23-2004 08:16 PM

Quote:

Originally Posted by bigggt
and for stupid people like myself that just copy and paste you might want to change this line
Code:

DCTFilters(1,1,1,1,1,1,0.5,0)

Okay :-)

nicksteel 02-24-2004 05:51 AM

Phil........
 
Quote:

I do al my targets in anamorphic, and all my source are anaporphic, I don't have even to do any resising. I just crop the black borders and put them back at the end of the process.

The borders (top, bottom) are always the same (you can check that in DVD2AVI:

(0,0) when the movie is fullscreen
(16,16) when it is 1.85
(72,72) when it is 2.35.

And the script is :
[code]mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Crop(8,0,704,576) # for full screen
#Crop(8,16,704,544) # for 1.85
#Crop(8,72,704,432) # for 2.35

Fluxsmooth()
TemporalCleaner(5,10)
Undot()
DCTFilter(1,1,1,1,1,1,0.5,0)

AddBorders(0,0,0,0) # for fullscreen
# AddBorders(0,16,0,16) # for 1.85
# AddBorders(0,72,0,72) # for 2.35

Letterbox(16,16,16,16) # overscan=2
That's all.
Phil, what values should be used for 1.66:1 widescreen, anamorphic in, anamorphic out?

Dialhot 02-24-2004 06:30 AM

Justr use DVD2AVI to check the size of the black borders. Do you know how to do that ?

nicksteel 02-24-2004 07:21 AM

Quote:

Originally Posted by Dialhot
Justr use DVD2AVI to check the size of the black borders. Do you know how to do that ?

Phil,

No, haven't ever used DVD2AVI for this. How?

Thanks,

NickSteel


All times are GMT -5. The time now is 10:04 PM  —  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.