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
 User Name Remember Me? Password
 Register FAQ Calendar Search Today's Posts Mark Forums Read

 Thread Tools Search this Thread Display Modes
 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

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements and Chat     General Discussion     News     Forum / Site Suggestions & Help General     Decrypting     Newbies     DVD2AVI / DGIndex     Audio encoding     Subtitles     Linux, Mac OS X, & Co Capturing and Editing Video     Avisynth Usage     Avisynth Development     VapourSynth     Capturing Video     DV     HDTV / DVB / TiVo     NLE - Non Linear Editing     VirtualDub, VDubMod & AviDemux     New and alternative a/v containers Video Encoding     (Auto) Gordian Knot     MPEG-4 ASP     MPEG-4 Encoder GUIs     MPEG-4 AVC / H.264     High Efficiency Video Coding (HEVC)     New and alternative video codecs     MPEG-2 Encoding     VP9 and AV1 (HD) DVD, Blu-ray & (S)VCD     One click suites for DVD backup and DVD creation     DVD & BD Rebuilder     (HD) DVD & Blu-ray authoring     Advanced authoring     IFO/VOB Editors     DVD burning Hardware & Software     Software players     Hardware players     PC Hard & Software Programming and Hacking     Development     Translations

All times are GMT +1. The time now is 09:32.

 Doom9.org - Archive - Top