VirtualDub won't open the script

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Rapture**
Joined: Thu Nov 23, 2006 2:19 pm
Location: Vilnius , Lithuania
Org Profile

VirtualDub won't open the script

Post by Rapture** » Sat Jun 30, 2007 9:04 am

Code: Select all

Avisynth open failure:
DirectShowSource: I can't determine the frame rate 
of video; you must use "fps" parameter
(D:\Anime\Love Hina\Love Hina 01.avs, line 3)
Now here's my script :

Code: Select all

#ASYNTHER Default (AVISource)
AVISource("D:\Anime\Bleach 5\Bleach Episode 109.avi")
DirectShowSource("D:\Anime\Love Hina\Love Hina - 01.mkv")
Just a simple default script.

Now please,I need a help,not a words like - "use DVDs.." and shit like that. Like hell I can buy online,and in my country I'm glad anime is know at all.


So I'm asking help here.

Thanks in advance.
:D I like laughter ;DD
ImageImage

User avatar
JaddziaDax
Crazy Cat Lady!
Joined: Tue Mar 16, 2004 6:25 am
Status: I live?
Location: Somewhere I think O.o
Contact:
Org Profile

Post by JaddziaDax » Sat Jun 30, 2007 9:10 am

why are you trying to open two files at once?

for the directshowsource part add in the frames per second...

User avatar
Rapture**
Joined: Thu Nov 23, 2006 2:19 pm
Location: Vilnius , Lithuania
Org Profile

Post by Rapture** » Sat Jun 30, 2007 9:20 am

JaddziaDax wrote:why are you trying to open two files at once?

for the directshowsource part add in the frames per second...
Well I'm actualy just starting with avisynth so I guess that's my problem ^.^

But I need to open Love Hina file,and when I make it like :

Code: Select all

#ASYNTHER Default (AVISource)
AVISource("D:\Anime\Love Hina\Love Hina - 01.mkv")
DirectShowSource("29.97")
Then it says like :

Code: Select all

Avisynth open failure:
AVIFileSource: couldn't open file
(D:\Anime\Love Hina\Love Hina 01.avs, line 2)
The funnyest thing is that I know why now it's showing like this - because file I'm trying to open is an .mkv extension,not an .avi .. ^.^
:D I like laughter ;DD
ImageImage

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Sat Jun 30, 2007 9:21 am

Do what it says: add the <b>fps</b> parameter to your DirectShowSource call, specifying the frame rate of the MKV file.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Rapture**
Joined: Thu Nov 23, 2006 2:19 pm
Location: Vilnius , Lithuania
Org Profile

Post by Rapture** » Sat Jun 30, 2007 9:26 am

Could you please prepare a simple script for me? Pleasee~~

The fps of the file is 29.97 - and I seem to don't understand very well these script thingies yet -.- OMG now I understand that I'm just a noob ^^
:D I like laughter ;DD
ImageImage

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Sat Jun 30, 2007 9:41 am

Assuming that your Love Hina MKV is at 29.97fps, your script should look like this:

<b>DirectShowSource("D:\Anime\Love Hina\Love Hina - 01.mkv", fps=29.97)</b>

More info on the parameters to DirectShowSource can be found in the AVISynth documentation on your hard drive.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Rapture**
Joined: Thu Nov 23, 2006 2:19 pm
Location: Vilnius , Lithuania
Org Profile

Post by Rapture** » Sun Jul 01, 2007 2:55 am

Scintilla wrote:Assuming that your Love Hina MKV is at 29.97fps, your script should look like this:

<b>DirectShowSource("D:\Anime\Love Hina\Love Hina - 01.mkv", fps=29.97)</b>

More info on the parameters to DirectShowSource can be found in the AVISynth documentation on your hard drive.
Thanks for that,it helped ^^ Now I can get started on my vid very soon :)
:D I like laughter ;DD
ImageImage

Locked

Return to “AviSynth Help”