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 > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 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
yair is offline   Reply With Quote
Old 1st April 2010, 19:55   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Simple arithmetic:

1766 x 720
Guest is offline   Reply With Quote
Old 1st April 2010, 20:25   #3  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
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)
smok3 is offline   Reply With Quote
Old 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.
yair is offline   Reply With Quote
Old 1st April 2010, 21:27   #5  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
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 |
SeeMoreDigital is online now   Reply With Quote
Old 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
yair is offline   Reply With Quote
Old 6th April 2010, 01:27   #7  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
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 :)
Blue_MiSfit is offline   Reply With Quote
Old 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
yair is offline   Reply With Quote
Reply

Tags
aspect, math

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 15:22.


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