VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Hi, I want to force VirtualDub to use ffdshow filters for processing. I know that in principle for this purpose I have to make to work with VirtualDub don't use VFW system, he should use the DirectShow system but I don't understand how to do this?

    Can someone help how to force VirtualDubda uses ffdshow filters for processing?

    Your responses will be evaluated.

    Thank you.
    Quote Quote  
  2. You can use avisynth with DirectShowSource() script, or open video with vdub's directshow input driver

    In both cases, your system has to be configured so that the video is opened with directshow and ffdshow on your specific computer configuration (not some other directshow decoder like lav )
    Quote Quote  
  3. poisondeathray, thanks for your reply. So, if you I understand it correctly, I have to follow these steps: To install on my system the Avisynth. Then run VirtualDub-> File-> Run Script -> Indicates the directory where the script and choose the file script, right? Unfortunately I am not familiar with Avisynth, and I don't know how it should look this script. May I ask you to show me how he is supposed to look like?

    How do I open a DirectShow video in VirtualDub, and then how to configure my system that the video is opened with DirectShow?
    Quote Quote  
  4. Open notepad create 1 line script, change filename and path to match your video, save it, change extension of the text file from .txt to .avs . The name of the avs doesn't matter. It could be video.avs or david.avs , anything

    e.g.
    DirectShowSource("PATH\video.ext")

    e.g. if video was in c:\folder and the name was "myvideo.mkv"

    DirectShowSource("c:folder\myvideo.mkv")

    Open the .avs in vdub normally, NOT with file=>run script





    If you open a video with mpchc and the ffdshow video icon pops up, then you know ffdshow is your current decoder for that type of video . Otherwise you have to play with the settings with ffdshow and/or preferred filter tweaker
    Quote Quote  
  5. I followed your instructions exactly, but I received an error, I wrote the script in this content: i:\video\movi.avi, and drag the script in VirtualDub. I don't know how to open the script file in VirtualDub. First you need to open the video and then the script? Аз получих тази грешка:

    "VirtualDub error: Avisynth open failure:
    Script error: syntax error
    (I:\video\video.avs, line 1, column 2)" What confused i'm?

    Yes, when I open the video with MPHC, I see the red icon fdshow video decoder
    Quote Quote  
  6. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    Your script should say:

    DirectShowSource("I:\video\movi.avi")
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  7. Originally Posted by pranjev View Post
    Hi, I want to force VirtualDub to use ffdshow filters for processing.
    Install ffdshow with active plugin 'ffvdub.vdf' for VirtualDub.
    Quote Quote  
  8. Thank you all for your help. I managed to load the script in VirtualDub, and open my video. but I don't understand how to choose a filter from the ffdshow, and to apply to my video? I follow these steps:

    go in the section video -> compression -> Choose from the list of codecs in ffdshow Video Codec -> Configure -> Choose section Decoder -> I see this picture:

    http://i57.tinypic.com/ev5rug.jpg - ffdshow video encoder configuration

    put a check mark on the postprocessing filter and then choose apply and OK, but I not see no effect on my video? какво трябва да направя за да се приложи ефекта към моето видео? What should I do in order to apply the effect to my video?

    Active plugin ffvdub. vdf got it installed, but when I try to load it in VirtualDub, I get the error message:

    An out-of-bounds memory access (access violation) occurred in module 'ffdshow'...
    ...reading address 00000001...
    ...while running filter "ffvdub" (FilterInstance.cpp:2198).

    I don't know what caused this error, I've tried different versions of VirtualDub, but this error appears continuously, then it closes?
    Quote Quote  
  9. Your screenshot shows the VFW interface , not the Directshow interface. The VFW interface is not used when you use directshow. Apply the filter in the directshow interface (red icon, not yellow icon)
    Quote Quote  
  10. Originally Posted by pranjev View Post
    I don't know what caused this error, I've tried different versions of VirtualDub, but this error appears continuously, then it closes?
    Works for me on VDub (VDub MOD) 1.7.8 and ffdshow rev 4533 on WinXP SP3 32 bit
    Quote Quote  
  11. What to do in order to apply a filter in DirectShow interface? How to apply a filter in DirectShow interface? for me it is clear that you need to change configuration settings on my system, I can apply the ffdshow filters in VirtualDub, but I do not understand which settings and how to change them? When playing the video no matter which player, I see the Red ffdshow video decoder icon. I'm very sorry, but I really don't understand how and what to change to make VirtualDub to use DirectShow interface?
    Quote Quote  
  12. Look for ffdshow video decoder configuration (RED icon, NOT yellow icon)

    Checkmark the filters you want

    If you loaded video with DirectShowSource() through an .avs script in vdub, the RED icon should pop up. This means video is being decoded by FFDShow Directshow, thus any filters you enable will be applied
    Quote Quote  
  13. Yes, I open my videos with DirectShowSource () via avs script in vdub ... but my pops up a yellow icon and ffdshow video encoder configuration window, a red icon does not appear, a red icon appears when I play the video independently with any player.
    Quote Quote  
  14. This means it's not using ffdshow for directshow in the script

    What does file => file information in vdub say when you open the .avs file ?
    Quote Quote  
  15. This is information that says vdub for avi file open with DirectShowSource () via AVS script in vdub:

    Video:
    Frame size, fps (µs per frame): 640x480, 30.000 fps (33333 µs)
    Length: 5664 frames (3:08.80)
    Decompressor: Internal DIB decoder ( )
    Number of key frames: 5664
    Min/avg/max/total key frame size: 1228800/1228800/1228800 (6796800K)
    Min/avg/max/total delta size: (no delta frames)
    Data rate: 294912 kbps (0.00% overhead)

    Audio:
    Sampling rate: 8000Hz
    Channels: 1 (Mono)
    Sample precision: 16-bit
    Compression: PCM (Uncompressed)
    Layout: 5683 chunks (0.03s preload)
    Length: 1511424 samples (3:08.92)
    Min/avg/max/total frame size: 532/532/532 (2953K)
    Data rate: 128 kbps (4.32% overhead)
    Quote Quote  
  16. I don't know what's happening for you.

    I guess you could try the filters in the yellow one since that is activated

    What filters did you want to use? Maybe there are alternatives in vdub or avisynth ?
    Quote Quote  
  17. I want to use the filters of ffdshow in vdub: postprocessing, video noise, sharp, deinterlace and want to put in a vdub this filter: Avisynth Color YUV
    I tried the filters in yellow but they just don't work. I'm so desperate, really there is no way to do this?
    Quote Quote  
  18. Originally Posted by pranjev View Post
    I want to use the filters of ffdshow in vdub: postprocessing, video noise, sharp, deinterlace and want to put in a vdub this filter: Avisynth Color YUV
    I tried the filters in yellow but they just don't work. I'm so desperate, really there is no way to do this?
    Use ffdshow as native filter in vdub or call ffdshow preset (with already set filters and values) in Avisynth - by using:

    'ffdshow ("dbnd")' where "dbnd" is name of your preset
    or directly control ffdshow like this 'ffdshow ("noiselevel", options=nn)' where 'nn' is 'nn="noiseStrength=20"'
    Quote Quote  
  19. As I said I use ffdshow in vdub. I do not understand how to call the ffdshow with predefined filters and values? Maybe through Avisynth script? If so, how it should look like? in ffdshow encoder yellow icon don't work filters.
    Quote Quote  
  20. Originally Posted by pranjev View Post
    As I said I use ffdshow in vdub. I do not understand how to call the ffdshow with predefined filters and values? Maybe through Avisynth script? If so, how it should look like? in ffdshow encoder yellow icon don't work filters.
    Why you using ENCODER?

    ffdshow have videoprocessor (ffdshow raw video filter) ... this one is used for video processing...

    my latest examples are to use ffdshow in avisynth script (later this script is loaded to vdub)...

    and once again you can use natively ffdshow inside vdub without avisynth - just install 'ffvdub.vdf' (i have ver 1.3.4533.0) in vdub plugins folder...
    Quote Quote  
  21. Well, I have installed the ffvdub filter, but it just doesn't work for me. When I try to load it, my vdub writes above said error, and he then closes with a bang. In vdub mod the situation is the same. I have tried with other versions of vdub-the situation is again the same. What else do I have to do?
    Quote Quote  



Similar Threads

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