PDA

View Full Version : Need Help Upscaling with Avisynth Script


warlock911
17th September 2009, 16:12
Hi.. i am newbie in avisynth field..

i need expert's help..

i am converting a dvd9 into a upscale video...i am trying to enhence it... sharpe it... but unfortunatly i not havenot much information about filter's...

i will give you a 7 mb sample... please post your script...here...

http://www.sendspace.com/file/ht1enu

note: i want to make it shaper as much as i can....


currently i am using this script...



DGDecode_mpeg2source("C:\Users\Neeraj\Desktop\Chaahat Proj\Test vob.d2v", cpu=4, info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate(hybrid=3)
crop( 2, 72, -2, -72)
LanczosResize(1232,630) # Lanczos (Sharp)
LimitedSharpen( ss_x=1.35, ss_y=1.35,
\ Smode=3, strength=100,
\ Lmode=1, wide=true, overshoot=1,
\ soft=false, edgemode=0, special=true,
\ exborder=0 )
#denoise








but it's not work perfectly... i don't know why...


one more question... is there any filter to add some shining or glow in video..?


Waiting For Your Priceless Replay....

Arshad07
17th September 2009, 16:27
What do u mean its not working perfectly?

buzzqw
17th September 2009, 16:28
- upscaling isn't a good thing
- try needi approach

BHH

warlock911
17th September 2009, 16:35
What do u mean its not working perfectly?

it's not able to make it much sharp....

neuron2
17th September 2009, 16:35
@warlock911

Please read and follow our forum rules, specifically rules 8 and 9. Thank you.

manono
18th September 2009, 06:44
Your script is faulty because it can't be IVTC'd. It's field-blended. Unfortunately I can't be of more assistance because you provided a sample with almost no movement. Getting it unblended will do much more to improve it than will sharpening or upscaling it. Upscaling such garbage as this is pointless anyway, in my opinion.

If and when you provide a sample with steady movement we might be able to provide better advice. Don't ever provide a sample of two people just talking.

warlock911
18th September 2009, 19:23
another sample here...


http://fs01u.sendspace.com/processupload.html

manono
19th September 2009, 06:49
A much better sample. Here's how I would do it:

Yadif(Order=1,Mode=1)
RePAL()

You can get the RePAL filter here:

http://avisynth.org/warpenterprises/

The resulting video will be 24.975fps. Your source is of such poor quality that, in my opinion, any sharpening or upscaling will only make it worse. Your time would be better spent in learning what kind of a source you have and how to treat it so you don't have to come here and ask, and so you don't incorrectly use TFM/TDecimate when an unblender is called for. And in learning how to remove ugly logos like that Eros one. Just because sharpening/upscaling is all the rage at BWT these days doesn't mean you have to jump on the band wagon. When dealing with lousy Indian DVD sources, in most cases it's just a waste of CPU cycles.

warlock911
19th September 2009, 07:36
A much better sample. Here's how I would do it:

Yadif(Order=1,Mode=1)
RePAL()

You can get the RePAL filter here:

http://avisynth.org/warpenterprises/

The resulting video will be 24.975fps. Your source is of such poor quality that, in my opinion, any sharpening or upscaling will only make it worse. Your time would be better spent in learning what kind of a source you have and how to treat it so you don't have to come here and ask, and so you don't incorrectly use TFM/TDecimate when an unblender is called for. And in learning how to remove ugly logos like that Eros one. Just because sharpening/upscaling is all the rage at BWT these days doesn't mean you have to jump on the band wagon. When dealing with lousy Indian DVD sources, in most cases it's just a waste of CPU cycles.

Yadif(Order=1,Mode=1)
RePAL()

in this script ... can you explain some things more...

like what happened if i change order=1 to order=2...

and what happened if i change Mode=1 to mode=2...

how can i change fps at 23.97 (PAL INDIA) without loosing sound disturbance?

manono
19th September 2009, 08:41
like what happened if i change order=1 to order=2...
The sample was Top Field First (TFF or Order=1). If the whole movie itself is also TFF (as they usually are), by changing to BFF (Order=0) you'll mess up the unblending very badly. You always want to be sure of the field order. There is no Order=2. Read the included doc. There's nothing that says you have to use Yadif as your bobber. You can use many deinterlacers as bobbers. You can even use the best, TempGaussMC_Beta1, if you don't mind waiting until Christmas for the encode to complete.
and what happened if i change Mode=1 to mode=2...

You get original framerate deinterlacing where when using unblenders you want double-rate deinterlacing (bobbing). Again, read the included manual.
how can i change fps at 23.97 (PAL INDIA) without loosing sound disturbance?
PAL India? What's that mean? If you want to make it 23.976fps, then add:

AssumeFPS(23.976)

at the bottom of the script. However, that changes the length of the movie and necessitates slowing the audio also. The 'base' or 'real' framerate of that movie after being unblended is 24.975fps (or 25fps if you prefer and what you'll get by default if using SRestore as your unblender).

warlock911
19th September 2009, 09:14
The sample was Top Field First (TFF or Order=1). If the whole movie itself is also TFF (as they usually are), by changing to BFF (Order=0) you'll mess up the unblending very badly. You always want to be sure of the field order. There is no Order=2. Read the included doc. There's nothing that says you have to use Yadif as your bobber. You can use many deinterlacers as bobbers. You can even use the best, TempGaussMC_Beta1, if you don't mind waiting until Christmas for the encode to complete.

You get original framerate deinterlacing where when using unblenders you want double-rate deinterlacing (bobbing). Again, read the included manual.

PAL India? What's that mean? If you want to make it 23.976fps, then add:

AssumeFPS(23.976)

at the bottom of the script. However, that changes the length of the movie and necessitates slowing the audio also. The 'base' or 'real' framerate of that movie after being unblended is 24.975fps (or 25fps if you prefer and what you'll get by default if using SRestore as your unblender).

You are a Genius... :thanks:

how i can add some glow in video?? any filter there??

manono
19th September 2009, 09:28
I don't know what you mean by 'glow'. I'm telling you that DVD isn't worth the time you're putting into it. It's hopeless. It's a widescreen 4:3 blended piece of garbage not even fit for a conversion to 16:9, much less to 1232x630, or whatever screwy resolution you want to make it. You didn't even crop it properly. Walk before you run. Learn the basics first.

warlock911
19th September 2009, 09:35
I don't know what you mean by 'glow'. I'm telling you that DVD isn't worth the time you're putting into it. It's hopeless. It's a widescreen 4:3 blended piece of garbage not even fit for a conversion to 16:9, much less to 1232x630, or whatever screwy resolution you want to make it. You didn't even crop it properly. Walk before you run. Learn the basics first.

i understand .. want i want to do some experiment on it... i will get some experience... i know how to use megui... but unfortunately my knowledge is 0 about filter.... i have lot's of filter.. but don't know hot to embed them into script...becoz i don't know how script system works....

warlock911
19th September 2009, 09:37
there is no a step by step guide about filter's... which learn us to use coding...

but you really helped me brother... thankyou