PDA

View Full Version : pal blank clip with a title, and about AR


smok3
5th January 2006, 20:12
lets say i make a lil script like:

BlankClip(length=175, width=720, height=576, fps=25, color=$000000)
Subtitle("my fancy movie, smok3 (c) 2005", x=150, y=500, font="arial", size=20, text_color=$ffffff)
ConvertToYV12()

how would i make it so that the font will be the correct AR for pal video?

tia

Mug Funky
6th January 2006, 03:50
BlankClip(length=175, width=768, height=576, fps=25, color=$000000)
Subtitle("my fancy movie, smok3 (c) 2005", x=150, y=500, font="arial", size=20, text_color=$ffffff)
lanczosresize(720,576)
ConvertToYV12()

make it 1024 wide for 16:9

[edit]

incidentally, it's easier to figure out AR if you calculate everything based off the vertical size:

4:3 pal = 576 * 4/3 = 768
16:9 pal = 576 * 16/9 = 1024

of course it's harder for NTSC because the numbers don't work out to mod 16 ints...

smok3
6th January 2006, 15:05
yes, that will do just fine, ill just use that, ty.

but actually i was wondering if there is vector way - you know like telling the engine on how to render the fonts itself in proper AR?