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.

 Doom9's Forum math\aspect ratio quest, sorta
 Register FAQ Calendar Search Today's Posts Mark Forums Read

 1st April 2010, 19:37 #1  |  Link yair Registered User   Join Date: Oct 2004 Posts: 36 math\aspect ratio quest, sorta hi all, i have a video sized 2944x1200 i want to downsize it so the width will be around 1800 and the height will keep the ratio AND will be dividable by 16 whats a good method to find it? willing to crop, realy would like to get the formula so i don't ask this again anytime soon... Last edited by Guest; 1st April 2010 at 19:53. Reason: rule 12
 1st April 2010, 19:55 #2  |  Link Guest Guest   Join Date: Jan 2002 Posts: 21,907 Simple arithmetic: 1766 x 720
 1st April 2010, 20:25 #3  |  Link smok3 brontosaurusrex     Join Date: Oct 2001 Posts: 2,392 http://smok3.bplaced.net/resize/?ssm...css=&doit=true Code: ```# resizeCalc Avisynth # pixels = 1278720, DAR error = 0.041 # Crop(Left, top, -right, -Bottom) Crop(0,2,-0,-4) # 2944x1194(-6px) LanczosResize(1776,720) # (modw16,modh16)```
 1st April 2010, 20:41 #4  |  Link yair Registered User   Join Date: Oct 2004 Posts: 36 thanks for the math, and the link! i know the avisynth community will deliver Last edited by yair; 1st April 2010 at 20:44.
 1st April 2010, 21:27 #5  |  Link SeeMoreDigital Life's clearer in 4K UHD     Join Date: Jun 2003 Location: Notts, UK Posts: 12,050 2944 divided by 1200 = 2.45333 Personally, I'd recommend you adopt the high-def frame size width of 1920 pixels... Meaning, 1920 pixels divided by 2.45333 = 782.608 pixels high. The nearest mod-16 value to 782 pixels is 784 pixels. So the finished frame size (resolution) would be 1920 x 784 pixels. __________________ | I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
 2nd April 2010, 00:12 #6  |  Link yair Registered User   Join Date: Oct 2004 Posts: 36 i want it a less then that as i dont play it full screen and i like to have space on the sides. a bit about the footage- its a screen capture of my dual screen pc setup. a 1920x1280 and a smaller 17" running at 1024x768. i currently use a demo of a timesnapper - it also saves statistics of usage linked to activity timeline timesnapper screencaptures to jpg every 3 seconds from there it passes to avisynth Code: ```CoronaSequence("D:\timeSnapper\2010-03-14\*.jpg",textmode=1,size=28,y=1145) #2944x1200 http://smok3.bplaced.net/resize/index.php Crop(0,2,-0,-4) # 2944x1194(-6px) LanczosResize(1808,736) # (modw16,modh16) ConvertToYV12()``` my usual setup is virtualVCR using VH Screen Capture Driver into the MSU screen codec. i am currently in between encoders, looking for one that accepts avisynth (handbrake doesn't, staxrip doent play nice, super! is a messy beast). i usually go with avs2avi but am looking into FFmpeg, any tips there would be great. i
 6th April 2010, 01:27 #7  |  Link Blue_MiSfit Derek Prestegard IRL     Join Date: Nov 2003 Location: Los Angeles Posts: 5,920 Read my signature Seriously though, x264 will probably be your best bet. What are you trying to target with your encode? ~MiSfit __________________ These are all my personal statements, not those of my employer :)
 6th April 2010, 08:50 #8  |  Link yair Registered User   Join Date: Oct 2004 Posts: 36 im trying to keeping small fonts readable, conserve space and not mess the colors. as im willing to do the video conversion non-real-time, cpu usage is less important. but would like the format to be easily editable in sony vegas. for now i use the msu codec Code: `avs2avi.exe %IN% %OUT% -c MSUD`

 Tags aspect, math