Log in

View Full Version : 720x486 to 720x480 script?


TruthOverFacts
28th October 2022, 04:33
I have a file that's 720x486 and the final resize needs to be 720x480. How do I correctly resize it? I tried a couple of ways and it always stretches the picture slightly when I compare it to original file. What am I doing wrong?

kedautinh12
28th October 2022, 04:48
Try deep_resize(720,480, edge="SSIM2")
https://github.com/Dogway/Avisynth-Scripts/blob/master/ResizersPack.avsi

TruthOverFacts
28th October 2022, 07:08
Here's the clip I'm working with:

https://www.mediafire.com/file/zusowz64pkonro9/clip.avi/file

I also discovered that it won't load in VirtualDub I assume because of it being 720x486 as opposed to 720x480 which is what I usually deal with.

https://thumbs2.imgbox.com/47/93/RNFmD91q_t.jpg (https://imgbox.com/RNFmD91q)

kedautinh12
28th October 2022, 08:12
Here's the clip I'm working with:

https://www.mediafire.com/file/zusowz64pkonro9/clip.avi/file

I also discovered that it won't load in VirtualDub I assume because of it being 720x486 as opposed to 720x480 which is what I usually deal with.

https://thumbs2.imgbox.com/47/93/RNFmD91q_t.jpg (https://imgbox.com/RNFmD91q)

Are you using VirtualDub2 or VirtualDub??
https://sourceforge.net/projects/vdfiltermod/

VoodooFX
28th October 2022, 09:12
I have a file that's 720x486 and the final resize needs to be 720x480. How do I correctly resize it? I tried a couple of ways and it always stretches the picture slightly when I compare it to original file. What am I doing wrong?

To keep proportion you need to proportionally downsize width too:

Spline36Resize(712,480)
AddBorders(4,0,4,0)




I also discovered that it won't load in VirtualDub I assume because of it being 720x486 as opposed to 720x480 which is what I usually deal with.

https://thumbs2.imgbox.com/47/93/RNFmD91q_t.jpg (https://imgbox.com/RNFmD91q)
In the script you didn't added correct path to your avi file.

SeeMoreDigital
28th October 2022, 09:30
The source has an 4:3 aspect ratio, so in square pixels this would equate to 640x480 pixels.

Also, the source contains 'hard encoded' interlaced pull-down artifacts :(

wonkey_monkey
28th October 2022, 10:41
I would just crop 2 pixels off the top and 4 off the bottom. Resizing will just add a slight blur and screw up the interlacing (unless you sort that out beforehand).