#1  
01-21-2019, 11:50 AM
Nickr54 Nickr54 is offline
Free Member
 
Join Date: Jan 2019
Posts: 2
Thanked 0 Times in 0 Posts
Hi,
I'v got a project to downscale some local football (soccer) HD footage to go onto DVD.
I've been scouring the web for hd2sd but all the links are out of date, for instance:
Quote:
The link for hd2sd that's shown in the tutorial has changed. The new link is: http://3dvp.com/hd2sd_sd2hd.zip
Has anyone got a copy I can use?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-21-2019, 01:56 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Likely HD2SD is difficult to find because it's buggy and no one uses it these days. The preference is for a doom9 script that is used as-is on both progressive and interlaced video. The function does low-pass filter "automatically" during resizing to reduce chroma shift, aliasing, and interline twitter. The biggest problem with HD2SD and other downscaling is interline twitter: .https://en.wikipedia.org/wiki/Interl...erline_twitter

Code:
# ###############################################################################################
# IResize by Gavino and IanB 
# https://forum.doom9.org/showthread.php?t=140233
# ###############################################################################################
#

function IResize(clip Clip, int NewWidth, int NewHeight) {
  Clip
  SeparateFields() 
  Shift=(GetParity() ? -0.25 : 0.25) * (Height()/Float(NewHeight/2)-1.0)
  E  = SelectEven().Spline36resize(NewWidth, NewHeight/2, 0,    Shift)
  O  = SelectOdd( ).Spline36resize(NewWidth, NewHeight/2, 0,   -Shift)
  Ec = SelectEven().Spline36Resize(NewWidth, NewHeight/2, 0,  2*Shift)
  Oc = SelectOdd( ).Spline36Resize(NewWidth, NewHeight/2, 0, -2*shift)
  Interleave(E, O)
  IsYV12() ? MergeChroma(Interleave(Ec, Oc)) : Last
  Weave()
You can copy that function into a script or save it as an .avsi plugijn file.

Example of use:
Code:
source=AviSource(“d:\fs.avi”).
Resize(source,720,480)
ColorMatrix(mode="Rec.709->Rec.601",clamp=0)
Reply With Quote
The following users thank sanlyn for this useful post: Nickr54 (01-22-2019)
  #3  
01-22-2019, 08:37 AM
Nickr54 Nickr54 is offline
Free Member
 
Join Date: Jan 2019
Posts: 2
Thanked 0 Times in 0 Posts
Thanks, I'll give that a go.
Reply With Quote
  #4  
01-22-2019, 05:15 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
And by the way, somehow or other the last, ending character (closing brace "}") in that iResize function script didn't get posted. So I'm posting it again with the missing "}" closing brace at the end:



Code:
# ###############################################################################################
# IResize by Gavino and IanB 
# https://forum.doom9.org/showthread.php?t=140233
# ###############################################################################################
#

function IResize(clip Clip, int NewWidth, int NewHeight) {
  Clip
  SeparateFields() 
  Shift=(GetParity() ? -0.25 : 0.25) * (Height()/Float(NewHeight/2)-1.0)
  E  = SelectEven().Spline36resize(NewWidth, NewHeight/2, 0,    Shift)
  O  = SelectOdd( ).Spline36resize(NewWidth, NewHeight/2, 0,   -Shift)
  Ec = SelectEven().Spline36Resize(NewWidth, NewHeight/2, 0,  2*Shift)
  Oc = SelectOdd( ).Spline36Resize(NewWidth, NewHeight/2, 0, -2*shift)
  Interleave(E, O)
  IsYV12() ? MergeChroma(Interleave(Ec, Oc)) : Last
  Weave() }
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth Download and Install? rocko Encode, Convert for streaming 5 08-01-2017 06:56 AM
jmac698's Avisynth filters [DOWNLOAD] lordsmurf Restore, Filter, Improve Quality 0 07-24-2017 02:43 PM
Stabilization Tools Pack v1.7 for Avisynth [DOWNLOAD] Dogway Restore, Filter, Improve Quality 5 04-27-2015 07:15 PM
Simple MDegrain Mod v3.0d (denoiser) for Avisynth [DOWNLOAD] Dogway Restore, Filter, Improve Quality 1 04-26-2015 11:10 PM
AVISynthesizer: Build complete Avisynth scripts using pre-made templates [DOWNLOAD] lordsmurf Encode, Convert for discs 0 11-09-2010 01:13 AM

Thread Tools



 
All times are GMT -5. The time now is 09:10 PM