Log in

View Full Version : VD MPEG-2 can't open wmv file


thuongshoo
23rd May 2006, 13:22
Media classic player can still open this file and performance is very good, Jetaudio and WMP are too. VD MPEG-2 says "
asf validity check warning
the asf file is 28506786 bytes long, but was orginally 28508816 bytes when encoded. It may have been truncated or corrupted. open file anyway ?

fccHandler
23rd May 2006, 21:34
VirtualDub-MPEG2 will generally fail if the file is damaged, even when it's still playable in other players. The ASF/WMV parser has almost no error recovery.

Since it plays OK in WMP, you could try using the "DirectShowSource" command of Avisynth.

thuongshoo
24th May 2006, 12:55
Thanks! but which bitrate should I use ? because I often use AVIcodec to know bitrate of wmv but it also often says wrong. I afraid of this thing when using AVIsynth

fccHandler
25th May 2006, 06:59
You mean bitrate or frame rate?

Assuming you mean frame rate (fps), you can check what WMP says in "View / Statistics / Advanced." (Some common frame rates are 23.976, 24, 25, 29.97, and 30.) You can also try adding the "convertfps" flag, for example:

DirectShowSource("movie.wmv", fps=29.97, convertfps=true)

thuongshoo
28th May 2006, 07:29
oh! thanks! I will try. Because I rarely use WMP. I often use JetAudio and recently I use MPC
Thanks!

movmasty
10th June 2006, 03:23
try to fix asf-wmv with asftools3.1 before.

movmasty
10th June 2006, 03:26
fcc, since you can direct convert wmv9 in avi with wma audio,

any chance to use latest wma codec in avis instead of the old divx 3.11 wma audio??

fccHandler
10th June 2006, 08:41
VirtualDub can use any audio codec which exposes an ACM interface, but I don't think WMA9 has this.

movmasty
10th June 2006, 10:01
VirtualDub can use any audio codec which exposes an ACM interface, but I don't think WMA9 has this.
ok, i just said the avis direct converted from wmv have wma9 audio...

fccHandler
10th June 2006, 10:16
OK, then what is your question? I don't understand.

movmasty
10th June 2006, 10:40
OK, then what is your question? I don't understand.
to get that audio for all the avi....;)

fccHandler
10th June 2006, 19:50
to get that audio for all the avi....;)
Still too vague. Do you mean you want to compress using the WMA9 codec in VirtualDub? As I said, I don't think you can do that because it doesn't have an ACM interface.

movmasty
11th June 2006, 19:26
Still too vague. Do you mean you want to compress using the WMA9 codec in VirtualDub? As I said, I don't think you can do that because it doesn't have an ACM interface.
i know, but when i direct convert wmv9 files with wma9 audio, i get avis with wma9 audio,

in fact i just saved a wma file with ext wav out from a wmv9
and i think i could dub it with whatever avi...

so i should ecode a clip in wmv with movie maker, extract the audio with vdubmpeg2
then encode the clip in xvid dubbing the audio from the wmv :confused:

fccHandler
11th June 2006, 21:19
Yes, I'm afraid Direct Stream Copy from an existing WMV file is the only way to get WMA9 in an AVI. Sorry, that's just how it is.

And before you ask, this isn't something I could change even if I wanted to. The MPEG-2 and WMV support I added are just small branches attached to a much larger tree. I don't dare touch the roots, i.e., the "engine" of VirtualDub, because I don't fully understand it.