Siku
16th November 2002, 13:46
At first I'm sorry it there is a thread of this topic but at least I couldn't find. :D
So, I've a AVI which is in 23.976 FPS and I've converted the FPS of my AVI to 25.000, because I'm doing a NTSC to PAL conversion. Everything is fine with converting the audio and video, but when I'm going to add a permanent subtitles in my SVCD, then the I've got problems with FPS of my subtitles.
So I've a AVI with 23.976 FPS and I've also the perfect matching subtitles to my AVI, but when I change the FPS of my AVI to 25.000, do I have to change the FPS of my subtitles too? I mean that do I have to change the FPS of subtitles manually with some adjusting program e.g. SubAdjust or is there some way to change it later automatically e.g. with Avisynth script or frameservering with VirtualDub.
I tried to add the subtitles first with Frameservering of VirtualDub, but it's just too slow. So then I decided to do it with Avisynt script and I've done it never before! :D
Anyway, it looks like this:
LoadPlugin("C:\Program Files\GordianKnot\SimpleResize.dll")
LoadPlugin("C:\Program Files\GordianKnot\MPEG2DEC.dll")
AviSource("J:\DivX to SVCD\Video Processing\The Godfather CD 1.avi")
LoadPlugin("C:\Program Files\GordianKnot\VirtualDub\plugins\textsub.vdf")
ConvertToYUY2()
TextSub("J:\DivX to SVCD\Video Processing\The Godfather CD 1_new.srt")
AssumeFPS(25,1,True)
I think that there is something extra what I don't need, but this is my first Avisynth script. :D
Ok, here is a summary of my questions:
1) How can I get my subtitles syncing with my SVCD?
2) What kind of ways there is to do it?
3) Is there someting wrong or is there something useless in my Avisynt script?
Regards,
Siku
So, I've a AVI which is in 23.976 FPS and I've converted the FPS of my AVI to 25.000, because I'm doing a NTSC to PAL conversion. Everything is fine with converting the audio and video, but when I'm going to add a permanent subtitles in my SVCD, then the I've got problems with FPS of my subtitles.
So I've a AVI with 23.976 FPS and I've also the perfect matching subtitles to my AVI, but when I change the FPS of my AVI to 25.000, do I have to change the FPS of my subtitles too? I mean that do I have to change the FPS of subtitles manually with some adjusting program e.g. SubAdjust or is there some way to change it later automatically e.g. with Avisynth script or frameservering with VirtualDub.
I tried to add the subtitles first with Frameservering of VirtualDub, but it's just too slow. So then I decided to do it with Avisynt script and I've done it never before! :D
Anyway, it looks like this:
LoadPlugin("C:\Program Files\GordianKnot\SimpleResize.dll")
LoadPlugin("C:\Program Files\GordianKnot\MPEG2DEC.dll")
AviSource("J:\DivX to SVCD\Video Processing\The Godfather CD 1.avi")
LoadPlugin("C:\Program Files\GordianKnot\VirtualDub\plugins\textsub.vdf")
ConvertToYUY2()
TextSub("J:\DivX to SVCD\Video Processing\The Godfather CD 1_new.srt")
AssumeFPS(25,1,True)
I think that there is something extra what I don't need, but this is my first Avisynth script. :D
Ok, here is a summary of my questions:
1) How can I get my subtitles syncing with my SVCD?
2) What kind of ways there is to do it?
3) Is there someting wrong or is there something useless in my Avisynt script?
Regards,
Siku