clairvo
22nd January 2003, 16:26
I use TMPGEnc to convert from AVI to VCD. This time I need to put in subtitles to burn in and I use an avisynth script to put the subtitles in the black bars. I have done this process before quite a few times and it worked fine. The script would look like this:
LoadPlugin("C:\Archivos de programa\Gabest\VobSub\textsub.vdf")
LoadPlugin("C:\Archivos de programa\GordianKnot\MPEG2DEC.dll")
AVISource("C:\video.avi")
ConvertToYUY2()
BilinearResize(352,196)
AddBorders(0,46,0,46)
TextSub("C:\video.ssa")
But I am having problems with a movie now. When I load the avs file in any player like microdvd player it plays just fine. But when I load it into TMPGEnc the colors are "spread out", something like converting a true-color jpg to a 16 color gif, I hope you get the idea.
I tried to go back to basics to see where was the problem and it turned out to be this line:
AVISource("C:\video.avi")
If I reduce the script to this line it still gives the same problems. I tried OpenDMLSource("C:\video.avi") and AVIFileSource("C:\video.avi") and it doesn't help either.
I installed the latest version of TMPGEnc. Let me stress that loading the avs into any player renders good results but not in TMPGEnc (or the converted mpg file, logically). VirtualDub says that the AVI file was encoded with DivX 5.0.2. I use the divx 5 drivers that came with the Gknot package and update from doom9.org.
If I load the AVI directly into TMPGEnc it loads fine !! but not if I load it through the avs script.
Any help appreciated thanks.
Clairvo
LoadPlugin("C:\Archivos de programa\Gabest\VobSub\textsub.vdf")
LoadPlugin("C:\Archivos de programa\GordianKnot\MPEG2DEC.dll")
AVISource("C:\video.avi")
ConvertToYUY2()
BilinearResize(352,196)
AddBorders(0,46,0,46)
TextSub("C:\video.ssa")
But I am having problems with a movie now. When I load the avs file in any player like microdvd player it plays just fine. But when I load it into TMPGEnc the colors are "spread out", something like converting a true-color jpg to a 16 color gif, I hope you get the idea.
I tried to go back to basics to see where was the problem and it turned out to be this line:
AVISource("C:\video.avi")
If I reduce the script to this line it still gives the same problems. I tried OpenDMLSource("C:\video.avi") and AVIFileSource("C:\video.avi") and it doesn't help either.
I installed the latest version of TMPGEnc. Let me stress that loading the avs into any player renders good results but not in TMPGEnc (or the converted mpg file, logically). VirtualDub says that the AVI file was encoded with DivX 5.0.2. I use the divx 5 drivers that came with the Gknot package and update from doom9.org.
If I load the AVI directly into TMPGEnc it loads fine !! but not if I load it through the avs script.
Any help appreciated thanks.
Clairvo