Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st June 2015, 02:41   #1  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Plugins for Upscaling a DVD9/DVD5 to 1080p or 720p!!!

Hi mates,

I need help in upscaling DVDs. What sort of plugins/filters may help me to maintain the smoothness and same quality as of DVDs.

Now I only use more than this one,

Tweak
Levels
Sharpen
fft3dfilter

Someone please help me on this matter!!!

Thanks.
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 04:59   #2  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,173
I generally do Denoise, NNEDI3 double, Sharpen. I also found that for some videos with considerable noise, using InterFrame to increase the frame rate to 60fps neutralizes a lot of the noise and makes the encoding more effective.

Last edited by MysteryX; 24th June 2015 at 06:57.
MysteryX is offline   Reply With Quote
Old 21st June 2015, 05:04   #3  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Will it affects the audio and subtitles if I increase the fps to 60??
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 06:44   #4  |  Link
creaothceann
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 360
No (assuming subtitles are using seconds etc. and not frame indices).
creaothceann is offline   Reply With Quote
Old 21st June 2015, 07:12   #5  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
then audio??
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 09:48   #6  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 615
To maintain the smoothness and same quality, you just need a decent resizer, nothing more. Spline36Resize is OK, although some may prefer a NNEDI3-based solution.
__________________
dither 1.27.2 for AviSynth | avstp 1.0.3 for AviSynth development | fmtconv r22 for Vapoursynth | trimx264opt segmented encoding
cretindesalpes is offline   Reply With Quote
Old 21st June 2015, 12:02   #7  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Here is a Sample of OLD DVD5.
http://www.mediafire.com/download/00...n/VTS_02_1.MPG

I have lots of DVDs like this. I need to enhance the quality while upscaling. Please take a look on this.
Post your 720 encode and avisynth filters/script used for that!
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 13:42   #8  |  Link
8-BaLL
Registered User
 
Join Date: Jun 2012
Posts: 74
Quote:
Originally Posted by Music Rockz View Post
Here is a Sample of OLD DVD5.
http://www.mediafire.com/download/00...n/VTS_02_1.MPG

I have lots of DVDs like this. I need to enhance the quality while upscaling. Please take a look on this.
Post your 720 encode and avisynth filters/script used for that!
Looks to me like the source for the DVD mastering was videotaped with a NTSC camera from a cinema screen or something like that, because of the black pulses every second or so.

So because of that, you should encode at 29.97fps and this is the best you will get out of this source I think:

Code:
DGDecode_mpeg2source("C:\VTS_02_1.d2v", info=3)
qtgmc(preset="very slow")
selecteven()
crop(2, 80, -4, -80)
spline64resize(1280, 480) #resize for correct 2.66:1 aspect ratio
Yes it looks like the source is a 2.66:1 aspect ratio. It is VERY unusual, but after looking closer into it, I am 95% sure it is a 2.66:1 native aspect ratio image.

This is the best you will be able to get out of this source. No need to have a higher resolution, as the source is really bad.

EDIT: I've now checked if it could be a 2.76:1 resolution and by the looks of it - it's very likely that its a native 2.76:1 resolution, which would mean you would need to resize it to 1280x464. Yeah when you look at frame 1277 after deinterlacing, it seems to me that the correct aspect ratio is 2.76:1.

So you will need to use spline64resize(1280, 464).

Its really even more unusual for the aspect ratio in movies to be 2.76:1, but it seems to be the case here, Im quite sure.

SO this is the script youd need:

Code:
DGDecode_mpeg2source("C:\VTS_02_1.d2v", info=3)
qtgmc(preset="very slow")
selecteven()
crop(2, 80, -4, -80)
spline64resize(1280, 464) #resize for correct 2.76:1 aspect ratio
Yes my friend, the correct aspect ratio is sometimes a little tricky to figure out, but is very important imo

Last edited by 8-BaLL; 21st June 2015 at 14:29.
8-BaLL is offline   Reply With Quote
Old 21st June 2015, 18:00   #9  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Quote:
Originally Posted by 8-BaLL View Post
Code:
DGDecode_mpeg2source("C:\VTS_02_1.d2v", info=3)
qtgmc(preset="very slow")
selecteven()
crop(2, 80, -4, -80)
spline64resize(1280, 480) #resize for correct 2.66:1 aspect ratio
QTGMC did a great job! The output is abnormally awesome!



Quote:
Originally Posted by 8-BaLL View Post
Yes my friend, the correct aspect ratio is sometimes a little tricky to figure out, but is very important imo
Does the Aspect Ratio affect the Quality?
Because I always prefer 16:9 and without border 2.35:1

Last edited by Music Rockz; 21st June 2015 at 18:09.
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 18:12   #10  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
What about using QTGMC for progressive sources?
What effect will it bring?
Music Rockz is offline   Reply With Quote
Old 21st June 2015, 19:07   #11  |  Link
creaothceann
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 360
Quote:
Originally Posted by Music Rockz View Post
Does the Aspect Ratio affect the Quality?
No.

Quote:
Originally Posted by Music Rockz View Post
Because I always prefer 16:9 and without border 2.35:1
Just keep it at 1280x480. If a video's actual aspect ratio isn't 16:9 then there's nothing you can do.
creaothceann is offline   Reply With Quote
Old 21st June 2015, 19:10   #12  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: Los Angeles, California
Posts: 2,134
Quote:
Originally Posted by creaothceann View Post
Just keep it at 1280x480. If a video's actual aspect ratio isn't 16:9 then there's nothing you can do.
Stream resize?
__________________
If I got new ideas, will post here: https://github.com/IFeelBloated
feisty2 is offline   Reply With Quote
Old 21st June 2015, 23:57   #13  |  Link
8-BaLL
Registered User
 
Join Date: Jun 2012
Posts: 74
Quote:
Originally Posted by Music Rockz View Post
QTGMC did a great job! The output is abnormally awesome!





Does the Aspect Ratio affect the Quality?
Because I always prefer 16:9 and without border 2.35:1
If the source isnt a native 16:9 source, stretching it to 16:9 looks really bad. All objects have wrong shape, especially noticable on faces and other things, it really looks awful.

This source is a 2.76:1 source, so encoding at 1280x464 is the only correct way here.

And as already stated, the aspect ratio doesnt change quality, but when you encode it at 1280x464 which is the native aspect ratio of this source, instead of 1280x720 (which would be 16:9), the file size will be smaller, because you avoid unneeded pixels. If you prefer it 16:9 still, even though its a 2.76:1 source, you can still scale it in the player later (most media players and software players support zoom option, like zoom to full screen etc.). But its best to encode things at their native aspect ratio, to avoid unnecessary bigger file size.

Quote:
Originally Posted by Music Rockz View Post
What about using QTGMC for progressive sources?
What effect will it bring?
QTGMC is a deinterlacing script in the first place- it gets rid of interlacing and does a little of denoising. But you can use it on progressive sources for things like sharpening or denoising purposes. But there are more powerful dedicated scripts for those things.

Your source is interlaced. It has some frame blending too, but because its a rather bad source and was recorded in a weird way, theres not much you can do to get rid of blended frames.

You could add a little sharpening to the video to see if you like the result. For example by using LSFmod(defaults="slow"), its also possible to add some sharpening with the QTGMC script (it has some parameters for it), since the source has basically VCD resolution, but Im not a big fan of sharpening at least not in movies.

Last edited by 8-BaLL; 22nd June 2015 at 00:23.
8-BaLL is offline   Reply With Quote
Old 22nd June 2015, 03:11   #14  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Will this help me out in enhancing the Progressive sources?

Code:
QTGMC(Preset="fast", Sharpness=1.0)
What plugin may help me to maintain the smoothness of the video while upscaling DVDs?
Music Rockz is offline   Reply With Quote
Old 22nd June 2015, 10:53   #15  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 349
Upscaling is just making frame bigger. Sharpening is just making frame sharper.
Smoothness shouldn't hurt from them. So anything that works for you is fine.

For sharpening videos, there are several sharpeners you can use. For example: lsfmod(), fft3dfilter(bt=-1, sharpen=0.3), nonlinusm(), fqrestore() - my favourite, or use just sharpen().
Here is the list of some sharpeners http://avisynth.nl/index.php/Externa...ers#Sharpeners
bxyhxyh is offline   Reply With Quote
Old 22nd June 2015, 12:17   #16  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Thanks for your Kind replies guys! Found something from you!
Music Rockz is offline   Reply With Quote
Old 22nd June 2015, 12:20   #17  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,266
Quote:
Originally Posted by Music Rockz View Post
I need to enhance the quality while upscaling.
I think you should walk before you run. Learn what you have and how it should be treated before wasting your time upscaling very very poor DVDs.

The first thing you should learn is how to unblend your DVDs, since that's the crap that comes out of your country - very bad DVDs produced by very bad companies. And you should learn how to figure out the aspect ratio for yourself, and it's not 2.76:1. Depending on how you resize, it's about 2:1 using ITU resizing and 1.95:1 with non-ITU resizing. Maybe 8-BaLL didn't notice the source resolution is 352x480.

This one is especially poorly blended so it's impossible to unblend it properly. The base framerate is 23.976fps (I'm pretty sure), but the usual QTGMC/Srestore combination doesn't work very well with this.
manono is offline   Reply With Quote
Old 22nd June 2015, 12:27   #18  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Yes you are quite correct on this. The source DVD is very poor in both audio and Video. Only Time is wasted by the nonsense work on this kind of DVDs.

But I didn't get you on what you mean by blend and unblend. Could you please make me clear on it?
Music Rockz is offline   Reply With Quote
Old 22nd June 2015, 13:38   #19  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,266
Quote:
Originally Posted by Music Rockz View Post
But I didn't get you on what you mean by blend and unblend.
Look at it after QTGMC alone and you should notice the blending easily when going over it frame by frame. It's the blends/ghosts/double images you see during movement.

You won't even be able to make a decent-looking 16:9 DVD from this 352x480 4:3 source, so the last thing you should be trying to do is convert it to hi-def.
manono is offline   Reply With Quote
Old 22nd June 2015, 13:46   #20  |  Link
Music Rockz
Registered User
 
Music Rockz's Avatar
 
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
Thanks manono
Music Rockz is offline   Reply With Quote
Reply

Tags
avisynth, dvd, filters, upscale

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.