View Full Version : Wmv9 --> Mkv
Spikedude
10th June 2006, 08:01
Hello, It has been a long time , prob bout a year since i attempted to make a WMV9 video into a video file with 2 audio tracks and 1 subtitle streams. As far as I remember, MKV is the only container able to handle WMV9. Can someone pls help me on how I should go about making this WMV9 video into multi audio/sub video file without the need of re-encoding and without any quality loss?
* I just tried a preety new tool i found called VirtualDub-MPEG2 , but when i try to load the wmv9 file, after the indexing, i get an error meesage sayin "Couldn't locate decompressor for format WMV3 (UNKNOWN). VIrtual Dub requires a Video For Windows (VFW) Compatible codec to decompress video. Direct Show codecs are not suitable" <--- Currently researching that, if any other methods or solutions to this problem are knows feel free to reply.
Yong
10th June 2006, 08:34
Install wmv9 vcm (http://www.microsoft.com/downloads/details.aspx?familyid=0C99C648-5800-4AA3-A2FE-3DE948689DB8&displaylang=en). ;)
MeteorRain
10th June 2006, 10:41
mkvtoolnix may work with wmv9 in avi -> mkv
graphedit works with wmv9 in wmv -> mkv
bond
10th June 2006, 14:21
i think ffdshow might also include a vfw wmv9 decoder, not sure tough
Spikedude
11th June 2006, 10:19
Thnx so much, ive managed to turn the WMV9 with WMA9 in WMV into WMV9 with WMA9 in AVI. Now I have a second audio I wish to add, so I opened the new AVI with Virtuadubmod, went to stream list, added the new mp3 file, enabled direct stream copy, and proceeded to saving it as MKV. When I opened the MKV, everything worked except my new audio file, MPC didnt eve recognize it was inside the MKV FILE! I opened the mkv with Vdub and sure enough the mp3 file is inside, but for some reason it isnt being read by mpc. Any ideas?
Haali
11th June 2006, 11:01
Vdubmod doesn't always write correct files. Better use a DS muxer instead and go directly from wmv to mkv in one step.
darkavatar1470
11th June 2006, 13:52
Can someone provide details on what filter & pins to connect in graphedit?
Couldn't quite find it by myself. And does it work on VFR wmv files?
foxyshadis
11th June 2006, 17:11
Actually its primary purpose seems to be muxing vfr wmvs correctly. :p Gabest's DS muxer that is. It should be wmv source -> matroska muxer -> file writer. It will only do a single a & v stream, nothing else. (But if you happen to have one with more, you can always do it twice.)
Spikedude
11th June 2006, 23:30
Ok, so from what I have gathered, Insetad of making the WMV9 WMA9 WMV into an AVI, I should use graphedit and turn it into a Matroska File using Graphedit, and adding the extra audio and subtitle file using graph edit itself?
Haali, what is DS muxer, I google it and came up blank XD
XmSurfer
12th June 2006, 03:14
Actually its primary purpose seems to be muxing vfr wmvs correctly. :p Gabest's DS muxer that is. It should be wmv source -> matroska muxer -> file writer. It will only do a single a & v stream, nothing else. (But if you happen to have one with more, you can always do it twice.)
That's wierd because I can mux 2 video & 2 audio streams or 1 video and 2+ audio streams at the same time with Gabest's Matroska Muxer.
Ok, so from what I have gathered, Insetad of making the WMV9 WMA9 WMV into an AVI, I should use graphedit and turn it into a Matroska File using Graphedit, and adding the extra audio and subtitle file using graph edit itself?
Haali, what is DS muxer, I google it and came up blank XD
Go here (http://sourceforge.net/project/showfiles.php?group_id=82303) to download Gabest's Matroska Muxer which is a DS muxer for Matroska. I'm assuming you know how to install directshow filters.
With the Matroska DS muxer you can mux the WMV9 & WMA9 Streams into Matroska directly. Then, using mkvmerge, you can add the mp3 audio stream to the WMV9/WMA9 Matroska file that you created with the DS muxer. I wouldn't use the DS muxer to add the mp3 stream since it will sometimes give a timestamp error.
{Edit to answer the "What is a DS Muxer?" question.}A Muxer is used to combined streams into a container. A DS Muxer is a Muxer used in Directshow(DS). More than likely you will have to know how to use Graphedit in order to use a DS Muxer.{/Edit}
foxyshadis
12th June 2006, 11:40
I updated mine and now I can mux several streams as well. =D
Spikedude
12th June 2006, 17:11
I installed the matroska muxer and Im currently working with GraphEdit, what im doing is basicly opening the wmb file, inserting matroska muxer, using file writer and connecting the pins, and what do I end up with when I press play? an 8GB file XD
darkavatar1470
12th June 2006, 17:27
WOW! I've tried it and it does work on VFR wmv files!!
BTW, the avi I got from mkv2vfr is perfectly playable, and god I love these clean timecodes.
Assume 23.976
0,31886,23.9760
31887,34580,29.9700
34581,35539,23.9756
foxyshadis
13th June 2006, 03:06
Spike, don't forget to delete everything except the wmv input first (ie, all the decoder DMOs). Otherwise you decompress the wmv and just encapsulate the uncompressed video. =p Although timecodes should still work fine off it.
Spikedude
13th June 2006, 04:40
THnx I will try the new methods and post the results, agains, thnx everyone
Spikedude
13th June 2006, 05:02
OK advancement has been made. I opened graphedit, opened the WMV file, deleted every box in the graph except the actual file which contained RAW AUDIO and RAW VIDEO , I inserted the Matroska Muxer filter, and also inserted the File Write filter and named it XXX.MKV and saved it. The Results? a perfectly in sync WMV9 and WMA9 file into MKV. Success. Now here comes the part which I am having trouble with, I need to add a second audio stream, I have tried MKVMERGE GUI 1.7.0 , and while it merges an mp3 and the mkv file succesfuly with no errors or warnings, and the file size shows that the mp3 has been added into the mkv, when the new mkv file is opened with MPC, it will only detect one audio file? any suggestions? ( I have tried merging with mp3,ogg, and wma, but still, mpc doesnt shown any extra audio file, even thought its there)
check
13th June 2006, 05:38
What splitter are you using? If you are using the inbuilt one by Gabest chances are it's just randomly borking. You can download the much more capable splitter by Haali from here: http://haali.cs.msu.ru/mkv/
EDIT: I assume you *aren't* adding it as an attachment are you?
XmSurfer
13th June 2006, 09:34
@check
I wouldn't blame Gabest's Matroska Splitter just yet. I've never had any problems with it on multi-audio files. Of course, I use his external Matroska splitter with Zoom Player.
@Spikedude
Like check suggested, try Haali's splitter to see if it works for you but make sure you disable MPC's internal splitter when you do. If you used mkvmerge correctly, I'm sure that you have a proper MKV file. Also, you might want to try another player like JetAudio which, like MPC, comes with its own Matroska splitter and video/audio decoders.
Spikedude
13th June 2006, 22:53
mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:19:57
'D:\78.mkv': Using the Matroska demultiplexer.
'D:\DRAGONBALL Z DVD RIP DVD 05\capitulos\cap78FINISHBETA1.mp3': Using the MP2/MP3 demultiplexer.
'D:\Winny\Winny2\Down\78.mkv' track 1: Using the video output module.
'D:\Winny\Winny2\Down\78.mkv' track 2: Using the passthrough output module for this audio track.
'D:\DRAGONBALL Z DVD RIP DVD 05\capitulos\cap78FINISHBETA1.mp3' track 0: Using the MPEG audio output module.
The file 'D:\Winny\Winny2\Down\78final.mkv' has been opened for writing.
The cue entries (the index) are being written...
Muxing took 73 seconds.
OK its solved, in order to switch audios in MPC I have to go to navigate/Audio Language/Spanish or Japanese. For some reason when i do right click the Audio selection is not available, but when i do naviagte/audio language I can pick the audio, thnx for everything :)
thats the log from mkvmerge
check
14th June 2006, 02:10
XMSurfer, maybe I'm a little distrustful of it, but Haali's does bork less for me :p
edit for name
XmSurfer
14th June 2006, 10:02
@check (Assuming you are referring to me when you typed "XMPlayer")
No need to explain. You gave an opinion and I gave one.
mike_lee
19th June 2006, 16:04
Where do I install the .ax file (I.E. I put it in X directory then register it, what is a suggestion for x directory)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.