The Don's Craptastic World A meta-level binary dude embedded to a multimedia proxy world!

3Jul/1123

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

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

Be Sociable, Share!

Posted by Don Salva

Comments (23) Trackbacks (0)
  1. 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.

    Thanks
    Thanks

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

    • 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.

  3. 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 (╯︵╰,)

    • 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: http://forums.virtualdub.org/index.php?act=ST&f=7&t=20025

      • 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.

    • 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!

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

    Please help !

  5. You, my good sir, are going to heaven for posting this!

  6. hey man Thank you! i worled with your answer’s
    thank You!

  7. 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).

    • 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.

      • 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?)

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

  9. 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.

  10. 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?

  11. to convert video to flash i’d recommend to use this tool http://www.macvide.com/Macvide_VideoFlash_Converter/

  12. 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!!


Leave a comment Cancel reply

No trackbacks yet.