VideoHelp Forum




+ Reply to Thread
Results 1 to 29 of 29
  1. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Ok, so whenever I try to run my script
    DirectShowSource("Studio 4°C -Yasuhiro Aoki's Kung Fu Love (full version, ENG).mkv" , audio=false)
    ConvertToYV12(interlaced=true)
    FieldDeinterlace()
    temporalcleaner()
    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?
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Which version of Avisynth do you have installed ? I know there was a problem with some recent 2.5.7 releases with DirectShowSource that seem to have been fixed in 2.5.8
    Read my blog here.
    Quote Quote  
  3. You may need a newer Haali Media Splitter to use DirectShowSource().
    Quote Quote  
  4. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by guns1inger
    Which version of Avisynth do you have installed ? I know there was a problem with some recent 2.5.7 releases with DirectShowSource that seem to have been fixed in 2.5.8
    AviSynth version 2.5.8.

    Originally Posted by jagabo
    You may need a newer Haali Media Splitter to use DirectShowSource().
    I have the newest version, still doesn't resolve the issue .
    Quote Quote  
  5. "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
    Quote Quote  
  6. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  7. 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.
    Quote Quote  
  8. 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
    Quote Quote  
  9. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Well in all honesty I can easily convert the mkv file, it's just that I want to edit with an avs script in my editing program(sony vegas), I geuss I can try converting the file to lossless than make a new script and try to get it working correctly?
    Quote Quote  
  10. What happend with the script in MPC? The error message should give you good info

    Did you turn on the correct Directshow filters? (in ffdshow)?
    Quote Quote  
  11. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo
    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.

    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
    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
    Thanks, you gave some (seem to be) good programs there.
    Quote Quote  
  12. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    What happend with the script in MPC? The error message should give you good info

    Did you turn on the correct Directshow filters? (in ffdshow)?


    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 on excuse my ignorance please.

    Sorry for double post.



    EDIT: MPC just closed after playing the .avs file.
    Quote Quote  
  13. 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

    Quote Quote  
  14. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    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

    Well I don't know how to get to that snapshot but on mediainfo it says the video codec is
    V_MPEG4/ISO/AVC
    .
    Quote Quote  
  15. AVC is advanced video codec ~ h.264, which happens to be the same one circled in the picture

    That picture is from the ffdshow configuration (the thing you're supposed to turn on)

    In mediainfo you can use view=>text for more information
    Quote Quote  
  16. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    AVC is advanced video codec ~ h.264, which happens to be the same one circled in the picture

    That picture is from the ffdshow configuration (the thing you're supposed to turn on)

    In mediainfo you can use view=>text for more information
    Oh, so what does finding out the codec have to do with getting the script to work in VDubMod?
    Quote Quote  
  17. Member
    Join Date
    Jun 2005
    Location
    Portugal
    Search Comp PM
    DirectShowSource("Studio 4°C -Yasuhiro Aoki's Kung Fu Love (full version, ENG).mkv" , audio=false)
    Remove special characters such as "Studio 4°C" and long path names

    DS crashes if you use that, at least my version
    Quote Quote  
  18. Originally Posted by ineedhelp123
    Oh, so what does finding out the codec have to do with getting the script to work in VDubMod?
    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.

    Delta2's suggestion to fix filenames is a good one, I suggest that earlier as well in my 1st post in this thread
    Quote Quote  
  19. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    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.
    So is it not working because it's turned off? If not than how can I turn it on?
    Quote Quote  
  20. 1) Did you turn on h.264 in ffdshow?

    2) Having turned it on, does the .avs open in MPC?

    3) Add fps to your script: DirectShowSource("C:\PATH\file.mkv",fps=25,audio=f alse) , of course, change path & filename & appropriate fps (from mediainfo)

    4) Try vdub (vdubmod hasn't been updated in >2years)
    Quote Quote  
  21. To turn it on, there is a drop down menu, switch it from disabled to libavcodec (like in the screenshot)

    Quote Quote  
  22. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    1) Did you turn on h.264 in ffdshow?

    2) Having turned it on, does the .avs open in MPC?

    3) Add fps to your script: DirectShowSource("C:\PATH\file.mkv",fps=25,audio=f alse) , of course, change path & filename & appropriate fps (from mediainfo)

    4) Try vdub (vdubmod hasn't been updated in >2years)
    1. I selected something of libavcodec because that was the only option besides disable(d)
    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(?)
    Quote Quote  
  23. If your path is incorrect, it won't work

    If this is your script, it doesn't even have a path:

    DirectShowSource("Studio 4°C -Yasuhiro Aoki's Kung Fu Love (full version, ENG).mkv" , audio=false)
    If you don't turn on the correct direct show filter, it won't work either
    Quote Quote  
  24. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    If your path is incorrect, it won't work

    If this is your script, it doesn't even have a path:

    DirectShowSource("Studio 4°C -Yasuhiro Aoki's Kung Fu Love (full version, ENG).mkv" , audio=false)
    If you don't turn on the correct direct show filter, it won't work either
    And how would I turn the correct DSF on? excuse my ignorance once again.

    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")
    Quote Quote  
  25. 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)
    Quote Quote  
  26. DirectShowSource("C:\Documents and Settings\I3\Desktop\Kung Fu Love\Kung Fuu Love.mkv")
    You don't have fps argument, or audio=false. Get the correct fps from mediainfo (view=>text)

    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.
    Quote Quote  
  27. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Ok I fixed my script but it still doesn't play in MPC
    Code:
    DirectShowSource("C:\Documents and Settings\I3\Desktop\Kung Fu Love\Kung Fuu Love.mkv",fps=23.974,audio=false)
    Quote Quote  
  28. How do you play the .mkv then? What player?
    Quote Quote  
  29. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!