Script Problems

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Script Problems

Postby jdude1225 » Wed Jul 11, 2007 12:33 pm

This is the script I have for AviSynth: DirectShowSource("C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Abridged1.wmv") and when I try to open it w/ Virtual Dub Mod I get this error message:

AviSynth open failure:
DirectShowSource: Could not open as video or audio.

Video returned: " DirectShowSource: couldnt open file C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Abridged1.wmv: Anobject or name was not found."

Audio returned: " DirectShowSource: couldnt open file C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Abridged1.wmv: Anobject or name was not found."

(C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Abridged1.avs, line 1)


When I tried change my script to: DirectShowSource("C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Abridged1.avs") and I would try to open it w/ Virtual Dub Mod, Virtual Dub would just close.
jdude1225
 
Joined: 29 Apr 2005

asdf

Postby taifunbrowser » Wed Jul 11, 2007 2:14 pm

but... you can play this wmv file as is in windows media player?
User avatar
taifunbrowser
 
Joined: 11 Sep 2004
Location: DDR ARCADES

Postby jdude1225 » Wed Jul 11, 2007 2:17 pm

ya I can play in .wmv in Movie Player but I finally got my script on Virtual Dub Mod the only thing is the timing is GREATLY off and the file size has gone from 77.2MB to 8.68 GB. So how can I fix the time w/o getting some huge file?
jdude1225
 
Joined: 29 Apr 2005

Postby Qyot27 » Wed Jul 11, 2007 3:59 pm

To fix the timing you need to have the script set up thusly:
Code: Select all
DirectShowSource("file.wmv", fps=29.97, convertfps=true)

(I use relative paths; that way I don't have to deal with typing out long directories - just make sure the script is in the same folder as the .wmv)
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby Qyot27 » Wed Jul 11, 2007 4:00 pm

Gah, double-post...

To not have it output a massive file, use something like XviD - just don't edit with the resulting file. If you want to edit, then save clips with HuffYUV or Lagarith instead of converting the entire episode.
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby jdude1225 » Wed Jul 11, 2007 4:12 pm

My script right now is:

DirectShowSource("C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Fullmetal Alchemist the Abridged series episode 1_Beta5.wmv", 23.976, fps=29.97, convertfps=true)

but Im getting this error message:

AviSynth open failure:
Evaluate: Unrecognized exception!
(C:\Documents and Settings\HP_Administrator\My Documents\AMV Folder\Fullmetal Alchemist the Abridged series episode 1_Beta5--default.avs, line2)
jdude1225
 
Joined: 29 Apr 2005

Postby BasharOfTheAges » Wed Jul 11, 2007 5:10 pm

You gave 4 parameters instead of 3 - you only need to give 1 fps value, not 2, and knowing which is correct is important...
Another Anime Convention AMV Contest Coordinator 2008-2014 & Head of the AAC Fan-works Theater - follow us on Twitter: https://twitter.com/#!/AACFanTheater
:sorcerer: :sorcerer: |RD: "Oh, Action!" (side-by-side) | |
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

AVS wont read in Virtual Dub

Postby SD Black Angel » Mon Jul 30, 2007 12:45 am

My script for AviSytnth is:

mpeg2source("C:\Documents and Settings\Juan\My Documents\My Projects\CB - Freedom or Death.d2v", idct=5. CPU=4, ipp=true)

And Virtual Dub error says:

Cannot determine file type "C:\Documents and Settings\Juan\My Documents\My Projects\CB - Freedom or Death\CB - Freedom or Death--default.avs"

It's like not letting me use Avisynth at all. -_-* plz help.
User avatar
SD Black Angel
 
Joined: 28 Oct 2006
Location: Shamballa

Re: AVS wont read in Virtual Dub

Postby Scintilla » Mon Jul 30, 2007 8:05 am

SD Black Angel wrote:And Virtual Dub error says:

Cannot determine file type "C:\Documents and Settings\Juan\My Documents\My Projects\CB - Freedom or Death\CB - Freedom or Death--default.avs"

Er, you <i>do</i> have AVISynth installed, correct? That's the only reason I can think of why this error message would occur.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby SD Black Angel » Mon Jul 30, 2007 12:30 pm

Yea I do, before it used to look like a script thing. but now it lookes like that square data thing, u kno, the thing that doesnt seem to know what program to use. But it opens up just fine, and I have avisynth installed and everything.
User avatar
SD Black Angel
 
Joined: 28 Oct 2006
Location: Shamballa

Postby SD Black Angel » Mon Jul 30, 2007 6:57 pm

my prob is fixed now. I deleted and redownloaded amvapp and whatever the problem was is gone now. Thx for the help :D
User avatar
SD Black Angel
 
Joined: 28 Oct 2006
Location: Shamballa


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests