Ok, so whenever I try to run my script
When I open it in Vdub(Mod)Tried Both first it would crash, than when I open it the second time it shows a green screen and always gives me an error when I try to do anything in the program(such as move the scrubber..keyframe mover thingy majiggy). But like earlier today I could open the file and play but it wouldn't let me open script commands such as TemporalCleaner so I reinstalled amvapp/avisynth and now I have this problem, anyone know how to solve it?DirectShowSource("Studio 4°C -Yasuhiro Aoki's Kung Fu Love (full version, ENG).mkv" , audio=false)
ConvertToYV12(interlaced=true)
FieldDeinterlace()
temporalcleaner()![]()
+ Reply to Thread
Results 1 to 29 of 29
-
-
"Turn on" the appropriate video codec in the ffdshow vfw interface configuration, and the normal (non-vfw) configuration. If you don't know what codec is being used, run mediainfo on your video
You can open .mkv's directly if you install the directshow input driver for vdub, and use a recent vdub (1.8.2) build. When you open the .mkv, you may have to use the drop down menu and select "all types (*.*)"
Check opening your .avs in mpc. If you have errors, then the problem is likey with your avisynth install, or directshow filters (maybe you haven't toggled on the appropriate one)
Take out the other filters in your script for, now when troubleshooting (like the temporal cleaner. etc...) to narrow the problem down
Eliminate non-standard characters in your filenames and scripts, like the superscript "o", or Eastern Language characters -
Oh shit, my fault guys, I am in VirtualDubMod, and I made a script because I want to clean up the footage as I plan to use, but I'll try poisondeathray's method, and see if it works.
-
Download GraphEdit and render your file from it. That will show you the filter graph that DirectShow is using to open and decompress the video.
Download a DirectShow filter manager. You may find lots of broken filters. Remove them. If any are critical, resinstall them.
As your are finding, MKV is one of the hardest containers to do anything with. -
You haven't provided all the info, but depending on the type of audio and video stream, you could just use mkvextractgui and place the streams into an .avi container. (If it's h.264, it won't be 100% compatible in .avi, but you can use avc2avi to "squeeze" it in)
You have some deinterlace scripting in that .avs, so am if I were to guess you have MPEG-2 video inside the .mkv? If this is the case you have to re-encode it for an .avi container
Another option is to use avidemux has good support for .mkv and you could re-encode to .avi (using XviD) directly without avs scripts. It has built in filters, like yadif which you could use to deinterlace. You could also use .avs scripts with avidemux using avsproxygui which comes with the full install -
Originally Posted by jagabo
Sometimes it is, sometimes its not, but converting an mkv is easy as I of dealt with it before. It's just that I don't know if it'll be valid to edit it in a program as an avs script seeing as how the original file is an mkv and mkv's aren't for editing.
Originally Posted by poisondeathray -
Originally Posted by poisondeathray
Im just being lazy surfing the internet XD. I'll play it and see, and how would I turn on the correct Directshow filters? Do you mean the splitter because I have Hali turned onexcuse my ignorance please.
Sorry for double post.
EDIT: MPC just closed after playing the .avs file. -
No, Haali itself isn't enough...
You need a DIRECTSHOW filter if you are using DIRECTSHOWSOURCE()
Take out all the stuff out of your script, except the DirectShowSource() entry, for now to simplify things (you can add the filters back later)
Run mediainfo on your file, what codec is being used? Then turn on the appropriate one in the ffdshow configuration. For example, if it was h.264 it would look something like this
-
Originally Posted by ineedhelp123
). If you don't turn it on, it won't work.
Delta2's suggestion to fix filenames is a good one, I suggest that earlier as well in my 1st post in this thread -
I removed all the extra specimen(lol) from the title, removed everything from script except for first line, it is now "Kung Fu Love.avs" but VDubMod still aborts when I open it up?
In your script, you are using DirectShowSource(), so you need a DirectShow filter (Hence the name, DirectShow). If you don't turn it on, it won't work.
-
-
To turn it on, there is a drop down menu, switch it from disabled to libavcodec (like in the screenshot)
-
Originally Posted by poisondeathray
2.No it still closes every time I try to play it
3.It's in the same folder so I don't have to(?) -
Originally Posted by poisondeathray
Because I have the correct path now but MPC still closes when I try to play the avs file.
Path:DirectShowSource("C:\Documents and Settings\I3\Desktop\Kung Fu Love\Kung Fuu Love.mkv") -
It's in the screen shots, from "disabled" to "libavcodec"
Fix your script, with the correct path,fps, and filename
e.g. DirectShowSource("C:\PATH\file.mkv",fps=25,audio=f alse) -
DirectShowSource("C:\Documents and Settings\I3\Desktop\Kung Fu Love\Kung Fuu Love.mkv")
If you want audio=true, you have to turn on the correct audio settings in the ffdshow audio decoder configuration (the blue one)
If you've done everything exactly in this thread, then I have no idea why it's not working for you. You can uninstall/reinstall avisynth and ffdshow, check to make sure directshowshowsource.dll exists in your avisynth plugins folder. I'm out of ideas. Sorry. -
Eh, the run was great while it lasted =D
Oh, I play my .mkv in Windows Media Player and it doesn't have issues but if I try to play the script in WMP it doesn't work either.
Similar Threads
-
AC3 to MP3 in AVI via Virtual Dub
By Simmons in forum AudioReplies: 7Last Post: 22nd May 2012, 18:16 -
virtual dub choppy avi
By bigwheels103 in forum Newbie / General discussionsReplies: 2Last Post: 24th Oct 2007, 20:27 -
virtual dub logo avi too big
By forchristians in forum EditingReplies: 5Last Post: 20th Sep 2007, 22:47 -
AVI to DVD w/ Virtual Dub
By hawsonggook in forum Authoring (DVD)Replies: 1Last Post: 15th Jun 2007, 01:58 -
I can't join two avi files with Virtual Dub
By Hopalong Cassidy in forum Newbie / General discussionsReplies: 4Last Post: 10th Jun 2007, 16:21