Log in

View Full Version : Muxing unseekable WMV/ASF files into Matroska


marc_albero
19th May 2003, 13:27
Hi everybody.

I'd like to know what tools are necessary in order to mux WMV and ASF files into Matroska files. I think VDubMod does not open WMV/ASF files, so a tool from M$ will be required, I guess. But which one?

The aim of doing this is to make the WMV and ASF files seekable. They are not seekable and I didn't manage to make them seekable with ASFTools. Are there any other means to do this? Will Matroska make them seekable?


Thank you, Marc

bond
19th May 2003, 16:58
you can ask de_xt to compile the newest virtualdubmod with asf/wmv support. he offers the old 1.4.13.2 with asf support on his site (http://es.geocities.com/dextstuff/)

outlyer
19th May 2003, 18:09
Originally posted by bond
you can ask de_xt to compile the newest virtualdubmod with asf/wmv support. he offers the old 1.4.13.2 with asf support on his site
AFAIK it only support the first version of the WMV codec (used in the original ASF files)

bond
19th May 2003, 18:18
yup

marc_albero
19th May 2003, 21:23
And what does that mean?
Will there be many not supported asf and WMV files?

bond
19th May 2003, 21:29
try and you will see if your wmv works...

outlyer
19th May 2003, 23:19
Originally posted by marc_albero
And what does that mean?
Will there be many not supported asf and WMV files?
It means any video encoded with the newer versions can't be muxed this way. I guess this is WMV 7, 8 and 9 (were there ever a version 6 o 5? i don't know), if the codec is 'WMV1' (as detected by VDub), MS MPEG-4 V2 or V3 or the like it should work (you can see the codec from most players)

marc_albero
20th May 2003, 01:53
@Bond: not only the latest official release, but the last CVS release is already compiled with ASF support and posted on De_XT website.
The Destiny? The Force? Who knows...


@all: yeah... none of my ASF and WMV is read by this VDubMod mod. What else can be done? Has somebody somehow updated the ASF support to accept WMV 7, 8, 9?

bond
20th May 2003, 09:23
Originally posted by marc_albero
The Destiny? The Force? Who knows...;)
@all: yeah... none of my ASF and WMV is read by this VDubMod mod. What else can be done? Has somebody somehow updated the ASF support to accept WMV 7, 8, 9?you can have a look in this thread (http://virtualdub.everwicked.com/index.php?act=ST&f=12&t=866&)! perhaps you can convince stone-d (the author of the virtualdubmod asf support) to expand the asf capabilities?

ivanova
26th October 2003, 15:56
I did it with Graphedit.

Atamido
26th October 2003, 17:08
Originally posted by ivanova
I did it with Graphedit. I did too. Here is what the graph looked like:

[movie.wmv] --> [Matroska Muxer] --> [File writer]

Very easy, the file seeks perfectly now, and it is smaller.

bond
26th October 2003, 17:13
hm, i wonder if wmv (from wmv/asf files not avi) is officially supported in matroska atm?

Atamido
26th October 2003, 17:48
Supported? Well, it works fine. I can create a WMV9 file with WME and transcode it directly to Matroska. It is smaller and usually seeks better.

ivanova
26th October 2003, 18:34
It does seem to work fine for playback - in MPC anyway.

I only have some problems with the audio codecs used with .wmv and VirtualDubMod. It seems to crash when trying to load the file. I temporarily fixed this by decoding to wav in Graphedit.

Also mkvmerge has no problem with .wmv video codecs it seems, but it doesn't support the audio codecs from .wmv.

ivanova
26th October 2003, 22:22
After further testing...

It's not the different formats or codecs from the wmv that crashes VirtualDubMod, but the mkv that is muxed with the matroska muxer DS filter. After remuxing with VDM or mkvmerge(via avi), it loads fine into VDM.

Neo Neko
27th October 2003, 06:46
The reason it has problems in VDUB is that there are no analogus VFW or ACM versions for many WM codecs. Or that they are not that common to find or have installed. WMV or ASF to MKV is marvelous though. And I prolly should not say it. :D But it allows you to save WMV streams you are not supposed to be able to. If you can get the URL that is. :devil:

ivanova
27th October 2003, 10:37
Neo Neko, this is certainly true, but when VDM can't find a codec for the video it just tells you that and it doesn't crash. Or like in the latest version of VDM it still allows you to do directstream copy. What I am speaking of above is different. VDM just crashes with a mkv made with the Matroska muxer (1.0.0.7). The same video and audio streams load fine with a mkv made with VDM.

Atamido
27th October 2003, 17:30
If you remux the file made with Matroska muxer (1.0.0.7) with MKVMerge, will VDMod open it?

ivanova
27th October 2003, 18:23
Mkvmerge v0.7.2 doesn't support the audio codec used and wouldn't mux the audio, but disabling the audio muxes fine. It still crashes VDM though. Seems that it is a VDM thing, because mkv's play fine in MPC. Maybe the VDM matroska support isn't quite up to date.

Atamido
27th October 2003, 18:44
I don't think that the Matrsoka Muxer writes the DefaultDuration element, which VDMod uses to get the framerate. Because VDMod is CFR only, it requires this element to work properly.

ivanova
3rd November 2003, 20:34
If you need a vfw decoder to decode MP41/2/3 streams, you can try ffvfw. just search the forum to find it. Works for me ;)