digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   getting a mod16 error with the 608x260 resolution? (http://www.digitalfaq.com/archives/encode/6538-mod16-error-608x260.html)

enximex 11-05-2003 06:45 AM

getting a mod16 error with the 608x260 resolution?
 
Example : source is 636 * 477, you need to change it to 640 * 480 (640/16 = 40; 480/16 = 30). So just add this after the line Avisource :
Code:
AddBorders(4,3,0,0)


i have a source file which has the resolution of 608x260....how do i change it to 640x480..do i do it with moviestacker..i seem to be getting a mod16 error with the 608x260 resolution with v4 script....can ne1 help

Dialhot 11-05-2003 06:55 AM

Man, that's elemantary maths ! :banghead:

You don't have to change your res to 640*480 each time ! That's AN EXAMPLE !

You have to reach the nearest value divisible by 16.

608/16=38 nothing to do.
260/16=16.25 -> 17*16= 272 -> you must add 12 pixels on the sides.

Can't you use a calc by yourself ?

I let you see in avisynth manual how you can add 6 pixels on the left and right side (hint : see AddBorders command).

enximex 11-05-2003 07:08 AM

sorry dude....i figured it out now....


All times are GMT -5. The time now is 04:36 PM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2021 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2021 Jelsoft Enterprises Ltd.