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 20th September 2011, 04:00   #1  |  Link
thrakk
Registered User
 
Join Date: Sep 2011
Posts: 12
If you have downsized 1080 to 720, what scaler and filters did you use?

For those of you that have downsized 1080 to 720, what scaler and filters did you use to clean your finished video?

Can you share some of your code with me?

I'm converting a Blu-ray to a DVD. File size isn't much of an issue. I'm going for clarity here.
(and I'm not using animated video footage)
thrakk is offline   Reply With Quote
Old 20th September 2011, 04:53   #2  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 478
I would like to know as well. I have some 1080i footage that don't look so good at that resolution, so I'm thinking of converting to 720p. I'm wondering if a simple Spline36Resize(1280,720) after deinterlacing would suffice.
aegisofrime is offline   Reply With Quote
Old 20th September 2011, 07:56   #3  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
spline36 is more than enough.

I often use bicubic for speed reasons.

Derek
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 20th September 2011, 08:55   #4  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
I'm generally a "no filter" kind of guy. There'd have to be a fairly specific reason for me to try to "improve" on the source rather than just duplicate it.
Either Lanczros or Spline36 resizing (although to be honest I can't really see much of a difference) and some very minor noise removal (undot.dll) would be about it for me.
If file size isn't much of an issue just use CRF encoding with a CRF value of somewhere around 18 to 20. Or if you're wanting to burn the encode to a DVD... use all of it.
hello_hello is offline   Reply With Quote
Old 20th September 2011, 10:42   #5  |  Link
madhatter300871
Registered User
 
Join Date: Nov 2005
Posts: 255
I use Spline36, although I cant really see a difference between it and Lanczos4 either. Time is not a premium for me, I just set it going and leave it. For me a 2 hour film takes about 3 hours to re-encode (approx).

I don't use any filters to clean up a blu ray source.

If size isn't an issue, you would not want to re-encode. So presuming you want to fit your final encode onto a single sided DVD, use 2 pass encoding. I use 2 pass and can fit a 2 hour movie onto a single sided DVD in full HD, quality is very very good. I do, however, only use the core DTS track or 5.1 AC3 and never the DTS master audio.

A 1280x720 re-encode will fit onto a single sided DVD no problem at all, and I would more than likely do a CRF encode with a value of 18, perhaps 20 or 22 for a particularly long movie.

Anything more than 2 hours-ish and I use double sided DVD's.
madhatter300871 is offline   Reply With Quote
Old 20th September 2011, 12:23   #6  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
An almost perfect solution I can recommend and use (especially when it comes to interlaced resizing):

hd2sd() for down, sd2hd() for up.

The placebo interlaced downsizer solution:
(Q)TGMC()
#then use the resizer you prefer, reinterlace.
separatefields.selectevery(4,0,3).weave# This is for interlaced output, for bobbed output comment this line out.

My favourite placebo upsizer (I only use this one now, just beautiful):
<your sourcefilter here>("X:\.avi")
ConvertToYV12(interlaced=true)
TempGaussMC_beta1mod(EDIMode="NNEDI2") #or nnedi3 (I modded my TGMCs to accept nnedi3)
nnedi(field=0,dh=true).TurnRight().nnedi(field=0,dh=true).TurnLeft()#This doubles horizontal/vertical size, or use _rpow2
#BlindDeHalo3(rx=3.2,ry=1.5)
#sharpen(0.3)
spline36resize(1440,1080)# or what one may need (1920,1080) (1280,720) etc.
separatefields.selectevery(4,0,3).weave# This is for interlaced output, for bobbed output comment this line out.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 20th September 2011, 21:39   #7  |  Link
Yellow_
Registered User
 
Join Date: Sep 2009
Posts: 378
Quote:
Originally Posted by hello_hello View Post
I'm generally a "no filter" kind of guy. There'd have to be a fairly specific reason for me to try to "improve" on the source rather than just duplicate it.
This is something I've been meaning to ask. So to take the opportunity, I've seen applications that do point resize or fast gaussian to go from YCC to RGB / composite and color correct in RGB and then encode out to YCC.

Would that be a reason to use something more than just duplicate going to RGB or would any edge refinement be done in RGB before going back to YCC?

@Emulgator are those hd2sd() & sd2hd(), the work of Dan Issacs over at the Adobe forums?
Yellow_ is offline   Reply With Quote
Old 20th September 2011, 22:24   #8  |  Link
nibus
Telewhining
 
Join Date: Mar 2010
Posts: 272
Most filters will just make a bluray source look worse... Plus your encode will take much much longer with extra filters.

But undot() is great to increase compressibility without any noticeable degradation or speed decrease.
nibus is offline   Reply With Quote
Old 21st September 2011, 00:09   #9  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Quote:
Originally Posted by Emulgator View Post
The placebo interlaced downsizer solution:
(Q)TGMC()
If you're downsizing interlaced HD to interlaced SD, the choice of deinterlacer is completley irrelevent - bob() vs qtgmc() - the difference is invisible after re-sizing and re-interlacing.

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 21st September 2011, 03:00   #10  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Quote:
@Emulgator are those hd2sd() & sd2hd(), the work of Dan Issacs over at the Adobe forums?
Yes, it is Dan Isaacs.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 22nd September 2011, 21:13   #11  |  Link
thrakk
Registered User
 
Join Date: Sep 2011
Posts: 12
well I was wrong about 1080...
I'm going from 720p to 480p and both input and output are YUV 4.2.0

I think undot()/removegrain(mode=1) might be helpful. I don't know if it would be too much smoothing.

Should I use a filter to avoid chroma artifacts?

Is there any additional things I can do about hue-equalization?(besides the ColorMatrix switch and any manual tweaking of brightness, contrast and saturation levels)
thrakk is offline   Reply With Quote
Old 22nd September 2011, 22:30   #12  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
When I tested SeeSaw a while back I was fairly impressed. How much effect it has seems to depend on the source quality, although I only ran a few encodes with it so I may have no idea what I'm talking about. One of my test 720p to 480p encodes using a fairly average quality source, turned out surprisingly well. In some areas the 480p encode looked better than the source.

I don't actually use SeeSaw. It's nice, but it slows the encoding process down quite a lot.

Last edited by hello_hello; 22nd September 2011 at 22:33.
hello_hello is offline   Reply With Quote
Old 23rd September 2011, 19:12   #13  |  Link
thrakk
Registered User
 
Join Date: Sep 2011
Posts: 12
Thanks for the replies everyone. I'm sure that your answers will help others wanting to perfect their downscaling filter chain
thrakk is offline   Reply With Quote
Old 24th September 2011, 02:44   #14  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
I use blackman taps 6
and in case fft3dgpu with slight settings or bsharp
Motenai Yoda is offline   Reply With Quote
Old 27th September 2011, 17:10   #15  |  Link
SilaSurfer
Registered User
 
SilaSurfer's Avatar
 
Join Date: Oct 2009
Posts: 212
Quote:
Originally Posted by rean View Post
HighPassSharp(r=0.15) # My Hi-pass sharpen implementation with a Blur=0.15
@Rean

Could you post this function here? Thanks
SilaSurfer is offline   Reply With Quote
Old 28th September 2011, 04:06   #16  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Is it interlaced-to-interlaced, interlaced-to-progressive or progressive-to-progressive resize?
henryho_hk is offline   Reply With Quote
Old 29th September 2011, 16:16   #17  |  Link
SilaSurfer
Registered User
 
SilaSurfer's Avatar
 
Join Date: Oct 2009
Posts: 212
Thanks Rean. I'm going to try it out. Do you chain those three versions one after another, I'm asking because HighPassSharp has one radius setting the other one has two etc?

Last edited by SilaSurfer; 29th September 2011 at 16:40.
SilaSurfer is offline   Reply With Quote
Old 5th October 2011, 02:45   #18  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
I use:

Code:
Blackmanresize
I dont know if this is a recommended thing to continously use but from what I know, it's the best I've used so far.
Undead Sega is offline   Reply With Quote
Old 5th October 2011, 07:00   #19  |  Link
*.mp4 guy
Registered User
 
*.mp4 guy's Avatar
 
Join Date: Feb 2004
Posts: 1,348
I switched to using blackmanresize(taps=4) for downsizing most content a while ago. Spline36 is more bulletproof for avoiding aliasing, but blackman taps=4 can look really nice if aliasing isn't an issue.
*.mp4 guy is offline   Reply With Quote
Reply

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 12:21.


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