Virtual Dub Mod and MKV files

Locked
User avatar
Bunkaru
Joined: Tue Feb 05, 2008 1:33 pm
Org Profile

Virtual Dub Mod and MKV files

Post by Bunkaru » Mon Jun 08, 2009 3:52 am

Hi,

I kinda can't open MKV files in Virtual Dub Mod, could someone please tell me what codec or whatever I need to be able to do it ? If possible, with download link.

Thanks.

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Virtual Dub Mod and MKV files

Post by Kariudo » Mon Jun 08, 2009 4:20 am

just use an avisynth script

if you can play the files in a regular media player (something not VLC) then you should be able to use DirectShowSource()

else, google ffmpegsource, download it and put the dll into avisynth's plugins folder
then make a script using ffmpegsource()

see this thread for more help
Image
Image

User avatar
Bunkaru
Joined: Tue Feb 05, 2008 1:33 pm
Org Profile

Re: Virtual Dub Mod and MKV files

Post by Bunkaru » Mon Jun 08, 2009 9:49 am

Ah, I'm not very familiar with AviSynth scripts or similar stuff, actually I never even did any.

Isn't there a more simple solution ? From what Virtual Dub Mod's error message says, I thought that installing some codec would do.

This is what it says :

Couldn't locate decompressor for format 'ÿÿÿÿ' (unknown).
VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codecs, such as those used by Windows Media Player, are not suitable. Only 'Direct stream copy' is available for this video.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Virtual Dub Mod and MKV files

Post by Qyot27 » Tue Jun 09, 2009 12:36 am

It's H.264, and H.264 in MKV can come in two different flavors - VFW (i.e. AVI mode = bad bad bad), and Native mode (the proper storage method, also used in MP4). While some VFW-H.264 encodes were released early on - and a few still do - the other 99% do the right thing and use Native mode.

VirtualDub (and VDubMod) can only use VFW-based solutions, end of story. VirtualDub does have import plugin support since like, 1.7.6 or something, but MKV is a minefield to support that way, and I've not played around too much with that stuff to say it.

So AviSynth is your only option. It simply acts as a proxy, telling VirtualDub that it's opening an AVI when AviSynth is controlling the rest of the process. And AviSynth has proper support for DirectShow, DGAVCDec, and FFmpeg based input of H.264 - the last two also being frame-accurate, with FFmpegSource supporting Native-mode MKV directly.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Re: Virtual Dub Mod and MKV files

Post by Willen » Tue Jun 09, 2009 7:12 am

If you don't mind a little inaccuracy, use DirectShowSource via AviSynth in VirtualDubMod.

Start VDM and select File, then Open video file via AviSynth... from the menu.
Then change the Files of type: drop down to All files (*.*) and Template: to DirectShowSource.
Find your .MKV and open it.
Having trouble playing back videos? I recommend: Image

User avatar
Bunkaru
Joined: Tue Feb 05, 2008 1:33 pm
Org Profile

Re: Virtual Dub Mod and MKV files

Post by Bunkaru » Tue Jun 09, 2009 7:45 am

Willen wrote:If you don't mind a little inaccuracy, use DirectShowSource via AviSynth in VirtualDubMod.

Start VDM and select File, then Open video file via AviSynth... from the menu.
Then change the Files of type: drop down to All files (*.*) and Template: to DirectShowSource.
Find your .MKV and open it.
This worked just great, thank you very much !

Locked

Return to “Video & Audio Help”