View Single Post
Old 19th September 2009, 17:29   #8080  |  Link
thewebchat
Advanced Blogging
 
Join Date: May 2009
Posts: 480
VSFilter process:

1) Get subtitles
2) Create subpicture that is 64x the resolution of the video frame
3) Scale subtitle sizes using some magic numbers
4) Multiply everything by 8
5) Get outlines and composite (note that there is no ClearType going on here)
6) Downscale to video resolution and paint

Note that the combination of 2 and 4 is the reason that VSFilter supports 8th-pel subpixel positioning and sizes.
thewebchat is offline   Reply With Quote