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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 10th December 2014, 18:39   #1  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,343
Crop and Recalculate Resize Dimensions

I have VCD videos in 352x288 format with a DAR of 4:3 and PAR of 12:11

I currently do something like this which works great

smoothD2c(12, ncpu=4)
eedi3_rpow2 (2)
nnedi3_rpow2 (2)
Spline36Resize(960, 720)

Now, what if I want to crop black borders in the video? I could add this: Crop(2,40,-2,-40)

Problem is that the Resize width won't be 960 anymore. I would need to calculate the proper width based on crop settings.

What would be the best way to
1) facilitate finding which crop settings are valid (it says it must be dividable by 4)
2) calculate the proper width for the resize function

Last edited by MysteryX; 24th June 2015 at 06:29.
MysteryX is offline   Reply With Quote
 

Tags
avisynth, crop, resize

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 05:08.


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