Log in

View Full Version : How to Demux a WMV-HD?


Undead Sega
24th May 2009, 21:17
Hello all, i dont know if this si the right place to post this, but after some researching i cannot find the right demuxing method for my situation.

i have a wmv file which was most likely encoded with VC-1 (WVC1?) and audio (as far as i can tell) is WMA3?

they play perfectly fine on WMP and i have ffshow installed, which probably contributes why it plays well on the player.

however i have been meaning to demux it to its elementary streams, both audio and video. I have however converted the wmv file via Direct Stream Copy using VirtualDub into a avi, therefore i took that into YAMB and demuxed it, however i dont think it ddi it correctly as windows would give me an error message (as if it were to crash) at 99% and after dismissing it, the program would say it extracted completely. They apprantly both in thier raw files, but i am not convinced with the audio file, as it just gave me a .raw whereas the video was .wvc1

therefore i dont know if doing it that way was correct, and hence i am asking if anyone can tell me if there is a better way to demux the wmv file and have both streams enabled to be converted.

Inspector.Gadget
24th May 2009, 22:14
For the video, try ASF2VC1. For the audio, try ASFBinGUI to get the WMA alone and then decode that to WAV with foobar2000, Xrecode, dbpoweramp, etc. But why do you need elementary streams to re-encode? You'll be using DirectShowSource() either way unless you have DGVC1DecNV.

SeeMoreDigital
24th May 2009, 22:18
i have a wmv file which was most likely encoded with VC-1 (WVC1?) and audio (as far as i can tell) is WMA3?Most likely.... You did not encode this yourself then?

Undead Sega
25th May 2009, 12:46
ive obtained ASFBin, and only selected the audio stream, and that outputted a ASF file, which works fine, however i cant do much with it besides to play it. I did the proceedure again but this time i changed the extension to .wav, which in a way works fine, but i used BeHappy to try and convert it to a .ac3 file which didnt work whatsoever.

i am not entirely sure on what to do right now, especially with the audio ASF file. i want it in it elementary stream, which i believe is a WMA3. i found this out when i played the original file in WMP, and looked into its properties, which says it was encoded in WM9 Advanced, which is already assuming it would use the later WMA codecs.

Inspector.Gadget
25th May 2009, 14:55
AFAIK WMA only ever comes in ASF. Again, transcoding should work either way if your DirectShow filters are correctly installed.

Undead Sega
25th May 2009, 19:45
AFAIK WMA only ever comes in ASF. Again, transcoding should work either way if your DirectShow filters are correctly installed.

i dot quite understand what u r talking about, wma comes in ASF? either way, is aid i got it outputted and works fine, but i am wanting to take that and trancode it to a ac3, i did that with BeHappy but it didnt work whatsoever.

unless, u are saying to take the audio ASF file into a Avisynth script and inputted in BeHappy. Does Avisynth take audio files as well as video?

SeeMoreDigital
25th May 2009, 20:08
Remember rule 6 guys!

Inspector.Gadget
25th May 2009, 20:13
Yes. Both BeHappy and MeGUI use Avisynth for audio processing. Hence, everything I said about DirectShowSource(). And please clarify where you got this file. If you didn't legally purchase it, rip it, or download it I can't help you any further.

roozhou
4th June 2009, 19:21
Easy way to encode audio to without demuxing and avisynth:
http://forum.doom9.org/showthread.php?t=141441

Use the following command line if you need to encode to ac3 w/ aften:

dshow2wav xxx.wmv 65536 | aften -readtoeof 1 ...(other parameters) - xxx.ac3