teacafe
24th October 2002, 05:32
I tried to use DVD2SVCD v1.09 Build 3 in Windows XP to convert an AVI file into SVCD format with permanent subtitle. I checked on the 'Edit as part of Video encoding' option in the 'Edit the Avisynth Script File' of Frameserver Tab screen. So that, I could added a few lines to invoke the vobsub to display subtitle as followings :-
#
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("k:\gf\gf.avi")
#ConvertToYUY2()
Loadplugin("C:\windows\system32\vobsub.dll")
vobsub("k:\gf\gf")
BilinearResize(480,480)
ResampleAudio(44100)
#
DVD2SVCD will make use the 'AviSynth_Script_file.avs' to store the avisynth scripts for CCE to process. When I used the WMP v6.4.xx.xxx to open the AviSynth_Script_file.avs, subtitle never shown on the screen as I expected.
After scratched off all my hairs, I finally found out that the 'vobsub' has to use identical filename on all of these AVS, avi and srt files. That means, if I want AviSynth_Script_file.avs to handle 'vobsub', I need to rename both of the avi/srt files to AviSynth_Script_file.avi and AviSynth_Script_file.srt respectively.
So, the correct scripts should be as follwings:-
#
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("k:\gf\AviSynth_Script_file.avi")
#ConvertToYUY2()
Loadplugin("C:\windows\system32\vobsub.dll")
vobsub("k:\gf\AviSynth_Script_file")
BilinearResize(480,480)
ResampleAudio(44100)
#
Hope this will solve the problem for those guys hit the same question on the vobsub.
Sorry for my worse English.
#
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("k:\gf\gf.avi")
#ConvertToYUY2()
Loadplugin("C:\windows\system32\vobsub.dll")
vobsub("k:\gf\gf")
BilinearResize(480,480)
ResampleAudio(44100)
#
DVD2SVCD will make use the 'AviSynth_Script_file.avs' to store the avisynth scripts for CCE to process. When I used the WMP v6.4.xx.xxx to open the AviSynth_Script_file.avs, subtitle never shown on the screen as I expected.
After scratched off all my hairs, I finally found out that the 'vobsub' has to use identical filename on all of these AVS, avi and srt files. That means, if I want AviSynth_Script_file.avs to handle 'vobsub', I need to rename both of the avi/srt files to AviSynth_Script_file.avi and AviSynth_Script_file.srt respectively.
So, the correct scripts should be as follwings:-
#
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("k:\gf\AviSynth_Script_file.avi")
#ConvertToYUY2()
Loadplugin("C:\windows\system32\vobsub.dll")
vobsub("k:\gf\AviSynth_Script_file")
BilinearResize(480,480)
ResampleAudio(44100)
#
Hope this will solve the problem for those guys hit the same question on the vobsub.
Sorry for my worse English.