Opening .mkv in VirtualdubMod problems
- Ari-chan
- Joined: Tue Jan 21, 2003 7:15 pm
- Location: Florida
- Contact:
Opening .mkv in VirtualdubMod problems
I've been trying to open up a .mkv file in vbudmod but am having a bit of problems. First the folder name at the top where it says "Look in:" disapears whenever I open it. When I try to open up a file a message pops up and says Found a frame with only one (forward) ref, unhandled!
Do any of you know what that means? I tried opening it up through a script in Directshow source but that doesn't do anything either. It just says failed to create script, and none of the files even appear if under all usable files.
Please help me.
Do any of you know what that means? I tried opening it up through a script in Directshow source but that doesn't do anything either. It just says failed to create script, and none of the files even appear if under all usable files.
Please help me.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Opening .mkv in VirtualdubMod problems
Based on the error, it's H264. H264 in MKV is usually Native, which VDubMod cannot open because it only uses VFW. If it is VFW H264, then it still has problems correctly opening them due to B-frames and other nastiness (which is the primary reason H264 + VFW = big NO-NO).
The DirectShowSource error is more than likely because you don't have Haali's Media Splitter and an H264 decoder installed, or at the very least if you have ffdshow installed, it's not set to decode H264 - which can be changed by opening up the configuration and setting H264 to libavcodec.
The DirectShowSource error is more than likely because you don't have Haali's Media Splitter and an H264 decoder installed, or at the very least if you have ffdshow installed, it's not set to decode H264 - which can be changed by opening up the configuration and setting H264 to libavcodec.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
- Ari-chan
- Joined: Tue Jan 21, 2003 7:15 pm
- Location: Florida
- Contact:
Re: Opening .mkv in VirtualdubMod problems
Oh, your right! It's an H.264 (MPEG-4 AVC). Is there anyway to convert the codec?
Sorry, I'm a big novice when it comes to converting and whatnot.
Sorry, I'm a big novice when it comes to converting and whatnot.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Opening .mkv in VirtualdubMod problems
If it's just getting DirectShowSource to work, then installing Haali's Media Splitter and ffdshow will be all that's required:
Haali's Media Splitter
ffdshow
Otherwise, you can use FFmpegSource to open them - this doesn't require installing anything extra, just putting the .dll in AviSynth's plugins folder. You'll want version 1.21:
http://forum.doom9.org/showthread.php?t=127037
The general way of using FFmpegSource in a script is like this:
'atrack' is an optional parameter; it's only required if you want to keep the audio, as FFmpegSource doesn't load audio by default. -1 just means it'll take the first available audio track - for most videos, -1 and 1 are really the same thing. On videos that have two or more audio tracks, then using positive numbers greater than 1 makes more sense, as it tells the plugin which specific audio stream to load. FFmpegSource also works for MP4, AVI, OGM, WMV, FLV, etc. It's not limited to MKV files only.
If you would like VirtualDubMod to autogenerate scripts using FFmpegSource to relieve you from doing it, then just copy and paste this into Notepad:
For ease of identifying it, save the file as ffmpegsource.avst in VirtualDubMod's template folder. After that, you can select it from the AviSynth Source filter drop-down just as you would with DirectShowSource, AVISource, etc.
Haali's Media Splitter
ffdshow
Otherwise, you can use FFmpegSource to open them - this doesn't require installing anything extra, just putting the .dll in AviSynth's plugins folder. You'll want version 1.21:
http://forum.doom9.org/showthread.php?t=127037
The general way of using FFmpegSource in a script is like this:
Code: Select all
FFmpegSource("videofile.mkv",atrack=-1)
If you would like VirtualDubMod to autogenerate scripts using FFmpegSource to relieve you from doing it, then just copy and paste this into Notepad:
Code: Select all
#ASYNTHER FFmpegSource
[FFmpegSource("%f",atrack=-1)]
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
- Ari-chan
- Joined: Tue Jan 21, 2003 7:15 pm
- Location: Florida
- Contact:
Re: Opening .mkv in VirtualdubMod problems
Sorry for taking so long to respond back (so busy, holidays are so busy). Thanks for all of you help Qyot27. I really appreciate it. Unfortionatly nothing has worked for me so far. I still get the error message from before, and even though I put the ffmpegsource part into the vdubmod template folder, and it shows up in the dropdown menu just fine, I still have all the same problems and vdubmod claims not to recognize the ffmpegsource and the file. I also now can't play some .mkv files in things like media player classic because of conflicts between filters. Do you know if this same conflict might be stopping vdubmod from properly accepting anything mkv related? It used to accept other mkv files that might not have had the H.264, but when I checked to see if it still those file it used to take it didn't take them.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Opening .mkv in VirtualdubMod problems
Do you have AviSynth installed? That's the only thing I can think of that would cause VDubMod to say it failed to create the script.
If AviSynth isn't installed, then download it from here (you want the .exe):
http://sourceforge.net/project/showfile ... _id=650255
And after that, then the instructions I gave for ffmpegsource.dll still apply. Put the .dll in C:\Program Files\AviSynth 2.5\plugins
Clearing up the filter issues will be very tricky without knowing the exact conflicts, or the kind of nasty installation problems (read: most codec packs by their very nature) that may have occurred prior. And without knowing that, it's also hard to say how effective what I'm about to suggest will be, but here goes:
Go through Add/Remove Programs and remove every codec-related install (you can keep Quicktime, iTunes, VLC, and RealPlayer if you have them). Yes, remove HuffYUV, Xvid, Lagarith, ffdshow, etc., as well as any sort of codec pack.
Now, go get CCleaner and run a scan under the Cleaner section (you're probably going to want to check off just about everything listed on both tabs, although if you save your passwords in Firefox or IE you'll want to leave the Cookies and Saved Form Information boxes unchecked; to run the scan, first click Analyze, then once that finishes, click Run Cleaner), and then run a scan under the Registry section (first click Scan for Issues and then click Fix selected issues, and then Fix All Selected Issues, which comes up after asking about making a backup of the changes - if you want to create a backup, that's fine). You may want to run the scans multiple times in a row to make sure that CCleaner got everything - this is particularly true with the Registry part. You can also use CCleaner to clean up your list of programs that starts when Windows does - this can dramatically reduce the time it takes to startup (but be careful). Then, once all of that is said and done, restart your computer.
Now, you can reinstall some stuff. Get either the newest ffdshow version or the newest CCCP (one or the other, not both), the newest Lagarith version, newest Xvid build by Koepi, HuffYUV 2.1.1 (the link that says pre-built DLL), and newest Haali Media Splitter (you don't need Haali's Splitter if you get the CCCP). This should cover just about, if not, everything you'd need. You might want to restart your computer again once all this installing is done.
If the above still doesn't fix the issue, I'm stumped.
If AviSynth isn't installed, then download it from here (you want the .exe):
http://sourceforge.net/project/showfile ... _id=650255
And after that, then the instructions I gave for ffmpegsource.dll still apply. Put the .dll in C:\Program Files\AviSynth 2.5\plugins
Clearing up the filter issues will be very tricky without knowing the exact conflicts, or the kind of nasty installation problems (read: most codec packs by their very nature) that may have occurred prior. And without knowing that, it's also hard to say how effective what I'm about to suggest will be, but here goes:
Go through Add/Remove Programs and remove every codec-related install (you can keep Quicktime, iTunes, VLC, and RealPlayer if you have them). Yes, remove HuffYUV, Xvid, Lagarith, ffdshow, etc., as well as any sort of codec pack.
Now, go get CCleaner and run a scan under the Cleaner section (you're probably going to want to check off just about everything listed on both tabs, although if you save your passwords in Firefox or IE you'll want to leave the Cookies and Saved Form Information boxes unchecked; to run the scan, first click Analyze, then once that finishes, click Run Cleaner), and then run a scan under the Registry section (first click Scan for Issues and then click Fix selected issues, and then Fix All Selected Issues, which comes up after asking about making a backup of the changes - if you want to create a backup, that's fine). You may want to run the scans multiple times in a row to make sure that CCleaner got everything - this is particularly true with the Registry part. You can also use CCleaner to clean up your list of programs that starts when Windows does - this can dramatically reduce the time it takes to startup (but be careful). Then, once all of that is said and done, restart your computer.
Now, you can reinstall some stuff. Get either the newest ffdshow version or the newest CCCP (one or the other, not both), the newest Lagarith version, newest Xvid build by Koepi, HuffYUV 2.1.1 (the link that says pre-built DLL), and newest Haali Media Splitter (you don't need Haali's Splitter if you get the CCCP). This should cover just about, if not, everything you'd need. You might want to restart your computer again once all this installing is done.
If the above still doesn't fix the issue, I'm stumped.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
- psyimn
- Joined: Mon Dec 25, 2006 11:43 pm
Re: Opening .mkv in VirtualdubMod problems
Thanks alot, this helped me out greatly!Qyot27 wrote:If it's just getting DirectShowSource to work, then installing Haali's Media Splitter and ffdshow will be all that's required:
Haali's Media Splitter
ffdshow
Otherwise, you can use FFmpegSource to open them - this doesn't require installing anything extra, just putting the .dll in AviSynth's plugins folder. You'll want version 1.21:
http://forum.doom9.org/showthread.php?t=127037
The general way of using FFmpegSource in a script is like this:'atrack' is an optional parameter; it's only required if you want to keep the audio, as FFmpegSource doesn't load audio by default. -1 just means it'll take the first available audio track - for most videos, -1 and 1 are really the same thing. On videos that have two or more audio tracks, then using positive numbers greater than 1 makes more sense, as it tells the plugin which specific audio stream to load. FFmpegSource also works for MP4, AVI, OGM, WMV, FLV, etc. It's not limited to MKV files only.Code: Select all
FFmpegSource("videofile.mkv",atrack=-1)
If you would like VirtualDubMod to autogenerate scripts using FFmpegSource to relieve you from doing it, then just copy and paste this into Notepad:For ease of identifying it, save the file as ffmpegsource.avst in VirtualDubMod's template folder. After that, you can select it from the AviSynth Source filter drop-down just as you would with DirectShowSource, AVISource, etc.Code: Select all
#ASYNTHER FFmpegSource [FFmpegSource("%f",atrack=-1)]