Post Reply 
[release] Widescreen resolution generator
Author Message
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #5
RE: [release] Widescreen resolution generator
Xitherun Wrote:lol. too bad I don't know what half of that is.

SAR = sample aspect ratio. Pixel aspect ratio to transform your video's AR into the display AR you want. Just set DAR in your av container (eg. MKV, MP4) instead, it's easier to calculate.
DAR = display aspect ratio. Just 16:9, 4:3 whatever.
mod16 = divisible by 16. All modern encoders use 16x16 macroblocks, so if your video is not mod16, the encoder needs to pad it and stuff, gayness (inefficiency) ensues. That's why you see 848x480, not 852x480, even though 852x480 is closer to 16:9 AR.

You don't really need any of that stuff though,s o no point adding it into your program.

|-Anubis-| Wrote:That would be very interesting to see.

At school right now. Can upload later when I get home if you really want. But yeah, the maths is pretty simple, so it's nothing special really.
(This post was last modified: 02/09/2009 07:30 PM by Assassinator.)
02/09/2009 07:15 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [release] Widescreen resolution generator - Assassinator - 02/09/2009 07:15 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: