This is a moderated forum. Please refrain from personal attacks, troll baiting and
off-color language.
Posts for wanted "warez" or "cracks" will be deleted within 48 hours. Please look elsewhere.
Unsolicited posts advertising "warez" or "crack" sites and information will be deleted.
Keep your comments to a technical gendre. Be gentle .. we were all "newbies" once.
These suggestions reflect the wishes of the majority of this forum's users. FAQ / SEARCH
Can anyone tell me how to add subtitles to avi while encoding with Mainconcept.
I'm a newbie, so I don't know very much about it.
I've tried to make an Avisynth script (as told on www.vcdhelp.com, option 4 and save it as .avs, when I open this .avs-file in Windows Mediaplayer I get the message:
script error: expected a, or )
(D:\Stuart~1.AVS, line 8, column 10).
Re: Re: Mistake: the often happening typo (line 8, column 10)
January 15 2003, 12:51 AM
Well, I found out that I chose a wrong pathfile.
Now Windows Mediaplayer works excellent with Avisynth, but I still can't frameserve with Mainconcept.
I loaded .avs and Mainconcept started encoding, but when I watch previes, I only see a green screen.
Maybe Mainconcept doesn't accept Avisynth so I tried to use VFAPI, just as needed when using CCE, but VFAPI doesn't load .avs files (just .aup, .d2v, .tpr). So I can's use VFAPI.
I already did try to disable DirectShow Import, but it still doesn't work, I just get a green screen watching preview................I've also tried to seperate the audio but is doesn't work.
Make an dvd2avi (v1.76) project file from your movie. Install vobsub and extract your susbtitles. Use FitCD to resize your movie. Check out the www.doom9.org to get closer help.
Re: Re: working avisynth script with mainconcept encoder
January 16 2003, 7:04 AM
I remember I could frameserve avs via tmpgenc and vfapi or vfapiconv somehow to make an pseudo avi. Open the avs in tmpgenc and save in some format vfapi accept. Sorry if I remember this wrong...
I have frameserved to Procoder via avisynth and Link2 (available at videotools.net). Perhaps this method may work also with Mainconcept?
Well I've tried the avs, mentioned above, but when I try to browse the audio and select the wav-file, I get the message: no audio found.
When I fill in nothing (cause in the script is mentioned what audiosource to choose), Mainconcept starts encoding, and after two seconds it's finished !
I've also tried the script from Tomi Sarkkinen, but it's the same as above: no sound and also ready in a few seconds.
My own script instead is ready in about 1 hour and 9 minutes (real time Mainconcept normally used to encode without subtitles) so the encoding does work. The only problem is a green screen.................
This script is working. I have done several movies by this script
January 16 2003, 11:39 AM
Remember to check when creating dvd2avi project file "colorspace to yuv". If your subtitle files (extracted by vobsub) are named ex. "monster.idx and monster.sub", vobsub command must be typed on this way (ex. c:\monster). And rename your wav file created by dvd2avi to the same as .d2v file and also rename subtitles to the same ex. "ac3 delay 0 ms.wav to monster.wav and vts01_1.idx to monster.idx and so on...". This is very important thing to rename .d2v file and wav file to the same (montster.d2v and monster.wav). I don't know if subtitle files have to be under the same name but I have renamed those files allways and it has worked so I haven't even tried otherwise. You can use the trim command to convert one part from movie and remember those numbers are frames (from beginning to the frame number 156359). I'm using dvd2avi v1.76, mainconcept encoder v1.31, avisynth v2.07, vobsub v2.23. Dvd2avi version must be 1.76 otherwise it won't work. Mpeg2dec.dll is customized version downloaded from: http://www.doom9.org/index.html?/mpg/d2a-mpeg2dec.htm
You can get great filters made by SansGrip from: http://www.jungleweb.net/~sansgrip/avisynth/
I'm not fooling anybody but believe or not this script is fully working
Please email if you have problems...
------------------------------------------------------
LoadPlugin("C:\Program Files\AviSynth
\Filters\MPEG2DEC.dll")
LoadPlugin("C:\Program Files\AviSynth2\Filters\fluxsmooth.dll")
LoadPlugin("C:\Program Files\AviSynth2\Filters\legalclip.dll")
LoadPlugin("vobsub.dll")
video=mpeg2source("F:\monster.d2v")
audio=wavsource("f:\monster.wav")
audiodub(video,audio)
Trim(0,156359)
ConvertToYUY2()
LegalClip()
VobSub("F:\monster")
BilinearResize(352,576,8,0,704,576)
#AddBorders(0,0,0,0)
FluxSmooth()
LegalClip()
Well, thanks Tomi, but I've tried again, with no result.
Maybe I have to make something more clear:
I don't work with dvd2avi, cause I already have an avi file (downloaded). So I neither have vobsub-files. My subtitle-files are srt or ssa (also downloaded). Now I just want to put this avi and this srt/ssa together in a simple and quick way (first I worked with VirtualDub and TMPGEnc. it's excellent very slow (about 4 hours for encoding about 700 MB, therefor I choose Mainconcept, which doesn't work with VirtualDub)
I want to encode to VCD (PAL) 352x288 25 fps 44100hz.
So I've tried everything, mentioned above, and it still doesn't work !!! BTW, when I browse the avs in Mainconcept, there's no audio input !!!
I show you my latest script (as in the example), it's again ready in TWO seconds !!!
This line means that crop 8 pixels from left and select 704x576 pixels of the source and then resize to 352x576. But you wrote that you want VCD resolution so the target height should be 288. Then this one should be better (if your source is 720x576 resolution):
BilinearResize(352,288,8,0,704,576)
Have you tried using FitCD to make correct rezising?
Just my two cents.
I think I've had the same problem some time ago.
Once upon a time I decided to install the DVD player from Sonic and also all the stuff from Sonic that came for mp3 and Media Player.
Oh well, Sonic DLLs pervaded my system.
All my test rips made with Cce, or Mainconcept, or whatever else began stop working. Black screen in Media Player, errors in PowerDVD, and Mainconcept went green.
The solution was deinstalling all my Mpeg2 players and encoders and reinstall only the ones I worked well with before Sonic "plagued" my system.
I want to point that also DVDit - from Sonic - was no more able to recognize Mpeg2 streams until I deinstalled all the mpeg2 filters from my system and started from scratch. (Just for info, I use now Power DVD 4 XP player so i think my system uses his filters).
So MAYBE it's your case: a case of wrong DLL registering. I'm not so skilled so i decided not to use the "regserv32" way in a cmd window for making my housekeeping; but this way worked for me.
My only disappointment now is (apart from the money spent) that Sonic Player,when working, has the best quality I've ever seen.
Brambus