Quantcast Avisynth: MA Script for a one-Movie DVD ? - digitalFAQ.com Forums [Archives]
  #1  
02-22-2004, 08:16 PM
Lagoon Lagoon is offline
Free Member
 
Join Date: Feb 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
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 ?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-22-2004, 09:10 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #3  
02-22-2004, 09:43 PM
Lagoon Lagoon is offline
Free Member
 
Join Date: Feb 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah 2.5x script.

I'm currently doing samples on 1000 frames with various settings
Reply With Quote
  #4  
02-22-2004, 09:47 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
post each result my friend,
we all want to know!
Reply With Quote
  #5  
02-22-2004, 09:58 PM
Lagoon Lagoon is offline
Free Member
 
Join Date: Feb 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
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 ?
Reply With Quote
  #6  
02-22-2004, 10:23 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
use unfilter(-5,-5) or (-10,-10)
or reduce asharp to(0.5,2) or remove it!
Reply With Quote
  #7  
02-23-2004, 04:39 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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.
Reply With Quote
  #8  
02-23-2004, 05:31 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #9  
02-23-2004, 06:54 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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.
Reply With Quote
  #10  
02-23-2004, 07:29 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hey friends,
the "problem" that Lagoon post is :
"wouldn't it be more blurred ?" (using the 2.5x ma script)
then....
Reply With Quote
  #11  
02-23-2004, 08:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
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.
Reply With Quote
  #12  
02-23-2004, 10:02 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ 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!

BTW I was not in doubt that your settings come out good, I just asked you about your experiences
Reply With Quote
  #13  
02-23-2004, 01:36 PM
Lagoon Lagoon is offline
Free Member
 
Join Date: Feb 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Thx for all the examples ill give them a try
Reply With Quote
  #14  
02-23-2004, 07:24 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #15  
02-23-2004, 07:53 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Reply With Quote
  #16  
02-23-2004, 07:59 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #17  
02-23-2004, 08:16 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #18  
02-24-2004, 05:51 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #19  
02-24-2004, 06:30 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Justr use DVD2AVI to check the size of the black borders. Do you know how to do that ?
Reply With Quote
  #20  
02-24-2004, 07:21 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ant Movie Cataloge script problems black prince Computers 1 07-20-2004 07:17 PM
Avisynth: Movie was too blue? Bilal Avisynth Scripting 10 08-26-2003 08:55 AM
DVD2SVCD: Script to convert entire movie? TheDJ Video Encoding and Conversion 21 08-07-2003 11:57 AM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM
KVCD: AVS script much worse than the straight movie Bigswaffo Video Encoding and Conversion 47 06-26-2002 10:24 AM

Thread Tools



 
All times are GMT -5. The time now is 11:44 PM  —  vBulletin Jelsoft Enterprises Ltd