logo Sign In

Post #129603

Author
Citizen
Parent topic
.: Citizen's NTSC DVD / PAL DVD / XviD project :. (Released)
Link to post in topic
https://originaltrilogy.com/post/id/129603/action/topic#129603
Date created
10-Aug-2005, 11:26 PM
Reply sent.



Any AviSynth gurus out there? I've run into a problem trying to overlay subtitles onto my video with AviSynth.

I can't use the built-in Subtitle() function because it outputs text in 1:1 ratio and I'm working with anamorphic footage so the resulting text would be badly squashed when the video is played back, so far I've been able to overlay an image containing the text onto the footage which is ideal because I can make sure the text looks just how I want:

video=avisource("source.avi")
logo=imagesource("subtitle.bmp")
overlay(video,logo,0,511)

but that overlays the subtitle image over the entire length of the footage, I need to be able to specify the range of frames it overlays the subtitle image onto and I can't figure out how to, help anyone?