View Full Version : new to avisynth...


torellyx
4th December 2003, 12:15
Hi everyone! I am new to this avisynth thing and I really want to try it because it's apparently a very powerful video processing tool. That being said, and at the risk of sounding like a complete idiot, my issue is I cannot even open any file whatsoever. This is what I have done:

I made the following avs file:
AviSource("c:\w1.avi")

I open it in virtualdubmod, and I get this error:
"Avisynth open failure:
Evaluate: Unrecognized Exception!
(C:\w1-default.avs, line 2)"

I open w1-default.avs and I get this:
#ASYNTHER Default (AVISource)
AVISource("C:\w1.avs")

Um..what am I doing wrong? I uninstalled avisynth 2.5.3 twice and nothing changes. I also uninstalled Gknot and stuff since it doesn't seem to be useful to me (I don't rip DVDs). I tried putting in some plugins provided by the Gknot pack and it ended up crashing the thing. I found people having the same error message but for different scripts, so I'm not sure how to fix my problem. Please help! I am confused...

torellyx

Wilbert
4th December 2003, 13:28
I made the following avs file:
AviSource("c:\w1.avi")

I open it in virtualdubmod, and I get this error:
"Avisynth open failure:
Evaluate: Unrecognized Exception!
(C:\w1-default.avs, line 2)"
I take it that your first line is empty, and AviSource is on the second line? Could you open the avi directly in vdubmod? What codec is used in this avi?

Could you make the following script:

version()

and open this in vdubmod?

WildCelt
4th December 2003, 14:30
It appears you are opening the script in vdubmod with "Open as avisynth script" (or something similar; I am not in front of my encoding machine at the moment) instead of the regular open. The "open as avisynth" with create a script for you--if you open a script as a script, well, you've seen what happens.

torellyx
5th December 2003, 04:11
I see....Thanks people. I'll be reading all this good avisynth stuff and learning how to use it. Also, I know this has been posted before, BUT the answer was kind of vague: does avisynth support mkv? I have used the previous posts as reference to open mkv files, but failed. I think it's because the audio in my file is in ogg format, but the video also resulted in error, too. So I don't know anymore....

Manao
5th December 2003, 07:29
does avisynth support mkv?Yes, but only if you have the DirectShow filter that allows the reading of MKV. In that case, using DirectShowSource("C:\name.mkv"), you'll be able to import the mkv inside AviSynth. Note that in fact it's more general than "avisynth supports mkv" : AviSynth supports any kind of format as soon as this format can be read using DirectShow filters. ( hence, ogm, avi, rmvb, mkv... are usable )

torellyx
10th December 2003, 11:05
hi again..I'm not sure how many people will read this reply post because this reply is kind of late...Anyway, after reading some posts regarding mkv and avisynth, I cannot get it to work still. This is my script:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
vid = directshowsource("c:\9mkv.mkv")
textsub(vid,"C:\9.SSA")

The error is "Avisynth open failure", and it goes on to state that it cannot open that specific file etc. So I went ahead to find some filters that I may need for this. I installed certain components from various mkv tool packs, but that ended up conflicting with some of the things I had installed before, and avisynth still doesn't work with mkv using directshowsource. I'm not sure what I can do. Please help!

Couple more questions regarding subtitles and avisynth. If I use avisynth for putting subtitles in an avi file, the resulting avi file becomes huge, apparently uncompressed. Is it because the subs are hardsubs in avi? How about if I put the subtitles in a mkv file (assuming I can get it to work)? The results are softsubs right? Would I need to used directvobsub to see the subtitles?

Thanks!

Wilbert
10th December 2003, 12:14
Can you play the mkv files in WMP6.4?

Couple more questions regarding subtitles and avisynth. If I use avisynth for putting subtitles in an avi file, the resulting avi file becomes huge, apparently uncompressed. Is it because the subs are hardsubs in avi? How about if I put the
subtitles in a mkv file (assuming I can get it to work)? The results are softsubs right? Would I need to used directvobsub to see the subtitles?
AviSynth can't extract the subtitles from a mkv file, you have to put it in using textsub (the demuxing the subtitles using vdubmod). In both cases, it will always be hardcoded.

What do you want to do with the mkv, ie. convert it to some other format?

torellyx
13th December 2003, 01:17
Hi! I cannot play it in windows media player, but then I have the 9.0 version, so I'm not sure if that matters. I watch mkv files using videolan player to prevent the over installing of random codecs.
All I am trying to do is change the subtitle colors in my vidoes because they are currently white. The videos (which are animes) are in mkv format. I don't really care what the resulting video format is as long as it is not 10GB, every thing is insync, and it is not re-encoded (I tried this and some quality was lost).

AviSynth can't extract the subtitles from a mkv file, you have to put it in using textsub (the demuxing the subtitles using vdubmod). In both cases, it will always be hardcoded.

Oh, and I already have the subtitles extracted, I'm just trying to put everything back together. And you meant "after demuxing the subtitles...."??

So back to my previous post, since subtitles would be hardsubs, it will result in a huge file unless I compress it right? I hesitate to do this because recompressing (especially anime) doesn't have very good results....

Thanks!