VirtualDub: How to use mkv, mp4, flv, mov and other file formats with VirtualDub

A lot of people keep asking me how to use VirtualDub with other files formats besides .avi.

Like mkv, flv, mp4 or even .mov. VirtualDub, as stand-alone, cannot handle mkv, mp4, flv, mov or any other files besides avi. You need a plugin or plugins to load anything else besides avi. Mind you, VirtualDub still only can and will save in avi!

There are a couple plugins that can handle loading different files formats. For me personally only 2 come to mind:

There’s my personal favorite: Ffmpeg Input Driver, which can handle 31 different file formats according to the plugin developer. Among them are the popular mkv, mp4, flv, mov, rm, rvmb, wmv and ts. The plugin is based, as the name may suggest, of the ffmpeg libraries. And if something doesn’t work, remember, this is a plugin still in early development stage as of 03.07.2011.

Then there’s fccHandler, which can handle mpeg-2, flv, wmv, fli, flc, mkv. However fccHandler also offers the AC-3 ACM codec, which I use for sound in my videos.

Edit: Apparently fccHandler’s website is down for some reasons. But there are two mirror with his stuff: Mirror 1, Mirror 2 . Thank’s for the eMails pointing that out! Download whichever plugin you prefer, and unpack it into your VirtualDub plugin folder. Remember however that those plugins only allow you to load said file formats. You cannot save those loaded files in mp4, mov, flv, only in avi.

For redundancy purposes I’ve decided to host both the AC-3 ACM and AAC ACM codecs and their source code on my blog.

Download AC-3 ACM 2.2 & AAC ACM 1.9:

Dropbox (AC-3 ACM): Codec, Source-Code
Dropbox (AAC ACM): Codec , Source-Code

26 thoughts on “VirtualDub: How to use mkv, mp4, flv, mov and other file formats with VirtualDub

  1. Hello,

    I’ve been stumped for hours on trying to figure out how to encode a video by using its own video track.

    What I’m trying to use is Mp4box,

    My command line arguement is like this:

    -add “%(outputname).aac” -fps %(fps) “%(outputname)”

    What I’m trying to “-add” next is the file that is selected but I can’t find the variable any where.

    the end result should be something like this in the command line of the Muxer:
    -add %(THIS FILE) -add “%(outputname).aac” -fps %(fps) “%(outputname)”

    Will you please help me?

    Also, am I doing something wrong by saying that I want THIS file as a -add parameter?


    1. Actually instead of %(THIS FILE) is there something like “%(INPUT FILE)”?

  2. Hi,
    I am using Virtual Dub 1.9.11 on a 64 bit system and I moved the plugins you’ve mentioned to the plugins64 folder.
    I have a bunch of mp4 files to work with in VDub. I used Any Video Converter with almost every possible output (mpeg2, mpeg4, msmpeg4, xvid, ffv1, x264) but VDub always fails to open them, “Couldn’t locate decompressor for format xyz (unknown). Virtual Dub requires a Video For Windows…”. The videos run fine in VLC / PotPlayer.
    What am I doing wrong? I don’t want to install any codecs into Windows.


    1. If you don’t want to install any codecs then you’re going to have a tough time editing anything. The reason most video files work in VLC/PotPlay, and other media players, is that those players already have the necessary codecs integrated into the.

      VirtualDub does not. If you don’t have the necessary codec to edit an mp4, then you won’t be able to do so in VirtualDub, period.

  3. I had to remove the Quicktime filter before it loaded my video. i did not need to rename FFInputDriver to a VDF file.

    1. forgot to say (i cannot edit my last message), the reason why it says “initializeqtml” is because it is trying to load the video using the Quicktime filter.

  4. i did exactly as Don preached, still both .mkv files used as a test give the following error:

    “The source video stream uses a compression algorithm which is not compatible with AVI files. Direct stream copy cannot be used with this video stream”.

    i use the “direct stream copy” because files saved with this mode are lighter in MB’s (or i’m doing something wrong and “dsc” shouldn’t do such thing). does this mean that i still need to convert my files into some different type? that would make the plugin useless for me as my .mkv files are over 1000MB so converting them on my shabby laptop would take forever (╯︵╰,)

    1. That’s probably because the plugin is outdated, last update was 22th January 2012. And the mkv format keeps on developing and evolving.

      Nothing I can do on my end, since I didn’t develop the original plugin, then again, I don’t really use this plugin but just wanted to let people know it exist.

      If you need specific help with this plugin, you’re better off in the original thread of said plugin:

      1. uwaa, january 2012 – a year is like decade when it comes to software, so i guess you’re right. thanks so much Don for your tutorial, hint about origin of error and for linking forum. i’m gonna check it for sure, because using “full processing mode” and in the same time compressing file to be lighter make the quality worse and i wouldn’t want that either. thanks again.

    2. sorry for the wining above, i finally found the reason why VDub is saving such huge files with “Full processing mode”. been using this program for long time and still i’m clueless sometimes. but i was such a happy ignorant, because “direct stream copy” mode was always working. ALWAYS! necessity is the mother of invention, i guess.

      thanks for reading, cheers!

  5. This doesnt work for me ... Please help !
    I unpack
    Ffmpeg Input Driver into my VirtualDub plugin folder and open Virtual Dub and still cant load an MP4 file.
    I tried just putting the Ffmpeg Input Driver into my VirtualDub folder and doesnt work either.
    This sucks, to bad it doesn
    t work.

    Please help !

    1. I’m not sure which folder it is, since I got 2 plugin folders for whatever reason. I got “plugins” and “plugins32”, and I put them in there.

      You should have plugins(32)/ffdlls and plugins(32)/FFInputDriver.vdplugin . If you do, then I can’t help you further, and you’re better off asking the original developer:

  6. I unpacked the Ffmpeg Input Driver in 2 folders: the folder with VirtualDub, and the folder “plugins” in VirtualDub folder. It still doesn’t work. Well, when I choose “All types” and click on the vid, nothing happens (there is no black screen even).

    1. It should work. I’ve got VDub\Plugins\FFInputDriver.vdplugin and VDub\Plugins\ffdlls (with 4 .dll files) in my VirtualDub folder and it works just fine.

      1. when you place FFInputDriver.vdplugin into the “plugins” folder, do you have to change the file extension? (and I’m not really sure where to place the 4 .dll files?)

        1. No, don’t have to change anything. The 4 .dll files go into plugins\ffdlls\xxx.dll (xxx being the name of each of the 4 files).

  7. Thank you very much i have been looking for this plug in for a really long time,
    you are the best 🙂

  8. I just wanted to say thanks. I know this is an old article but you’re the best man. I’ve been trying to figure this out for quite some time and nothing worked, even installing the proper codecs and enabling their usage via FFD. Finally it works and you’re the reason why. Thanks a ton, I’m a vdub person I hate other softwares. Vdub is simple but perfect.

  9. FFmpeg input driver allows my VirtualDub to open the mp4 file but the screen remains black with no picture displayed. What am I doing wrong?

  10. Thank you VERY much for this!! I had no idea this came out but I’ve been looking for over 3 years for such a plugin. At last I can use H264 .MP4/.MOV videos from HD digital cameras in VirtualDub! My first file WORKD!!

C'mon, leave me a reply!