PDA

View Full Version : WM9 VC-1 AP in VirtualDub/AviSynth/DirectShow?


bms
8th September 2006, 17:49
Is it possible to open Windows Media 9 Advanced Profile WMV files in AviSynth using DirectShowSource() or any other editor?

The file I have is unprotected, but a DirectShowSource AVS opened in VirtualDubMod only displays 30 black frames then freezes VDubMod.

The file won't open in WMP 6.4, so I'm assuming it doesn't have VfW or DirectShow codecs?

I've installed everything WM9 related I've found here and on MS's site, but I still can't find a useful way to work with these WVC1 files.

check
8th September 2006, 18:23
do they play in WMP? Do they require a licence?

bms
8th September 2006, 19:16
No license required. They say "Protected: No" in Explorer's tooltips.

They play in WMP 11 beta 2. They don't play in 6.4 (missing codec). And I just discovered they play (poorly) in VLC.

But I still can't find a way to get them into AviSynth/VDub without crashing it.

joseph5
9th September 2006, 03:15
Try VirtualDubMPEG-2.

check
9th September 2006, 10:00
try installing the wmv9vcm package. It's hosted here, but the servers a little unstable atm: project357.com/ul/upload/wmv9VCMsetup.exe

bond
9th September 2006, 14:50
the question is whether the file plays in a directshow player. i am not sure whether wmp really uses only directshow when playing wmv. therefore try an independant directshow player, like mpc. if the file plays there you should be able to use directshowsource

wmv9 ap will only work on windows xp btw...

try installing the wmv9vcm package. It's hosted here, but the servers a little unstable atm: project357.com/ul/upload/wmv9VCMsetup.exethis doesnt support vc-1 advanced profile the guy wants to use

bms
9th September 2006, 16:09
the question is whether the file plays in a directshow player. i am not sure whether wmp really uses only directshow when playing wmv. therefore try an independant directshow player, like mpc. if the file plays there you should be able to use directshowsource
I downloaded 2 more files from the set now. Those both work fine in AviSynth and MPC.

In MPC, the first 2 files play at <5 fps with a black image until I seek ahead 1/4 or so into the file, then seek back to the beginning and the real image is there and ~30 fps. Similar problem in AviSynth/VDub, except I can't seek the first file without freezing.

2 of 4 may be corrupt. It's weird that seeking forward and back to the same spot makes it work in both programs. I'm glad it at least works perfect for some files.

bms
9th September 2006, 21:26
I found a workaround to this. If you add Trim(200,0) after DSS, it doesn't freeze when seeking past the first few frames. Or you can just seek normally and go grab a cup of coffee and it'll unfreeze while you're gone. :D

Almost all of these VC-1 files I have now have the same problem, so I don't think it is corruption. More like a bug in the WMV9 VC-1 DirectShow filter. But just skipping the bad frames fixes it.

bond
9th September 2006, 21:40
when wanting to seek you need to define the file's framerate in directshowsource()

bms
9th September 2006, 21:56
Yeah, here's the AVS I was using:

DirectShowSource("Movie-vc1.wmv", fps="30")

and I just added below that:

Trim(200,0)

Without the Trim, it freezes for 3 mins+ when seeking the first time, or even Next Frame-ing past frame 30.