PDA

View Full Version : WMEncoder produces files with no video on Vista


alphabeta0
8th June 2007, 22:45
When I try to convert AVI files produced by VirtualDub** to WMV using Windows Media Encoder, the WMV files have no video, only audio (black screen with audio playback WMP). Used to work fine under XP.

** I'm using uncompressed AVI files (Direct Stream Copy for Audio and Video stream, i.e. no compression and a very large file)


C:\>cscript WMCmd.vbs -input "c:\Users\User1\Desktop\b.avi" -output "c:\Users\User1\Desktop\blah.wmv"
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Windows Media Encoder Command Line Script Utility
Copyright (C) Microsoft Corporation. All rights reserved.


Encoded: 15.5s (77.7%) Elapsed: 00:00:04 Left: 00:00:01 [3.89x]

======== Encoding Completed ========

Audio :
Codec: Windows Media Audio 9.2
Expected bit rate: 64040 bps
Average bit rate: 64040 bps
Expected sample rate: 5383
Average sample rate: 5383
Dropped byte count: 0 bytes
Dropped sample rate: 0
Total bytes: 165057 bytes

Video :
Codec: Windows Media Video 9
Expected bit rate: 250000 bps
Average bit rate: 250000 bps
Expected fps: 29.97
Dropped frame count: 0
Total coded frames: 0
Average sample rate: 0
Dropped bytes: 0 bytes
Total bytes: 0 bytes

Overall:
Encoding time: 5 seconds
Average bit rate: 314040 bps
File size: 174017 bytes
File duration: 20.211 seconds

benwaggoner
9th June 2007, 07:30
When I try to convert AVI files produced by VirtualDub** to WMV using Windows Media Encoder, the WMV files have no video, only audio (black screen with audio playback WMP). Used to work fine under XP.

** I'm using uncompressed AVI files (Direct Stream Copy for Audio and Video stream, i.e. no compression and a very large file).

Can you verify the file is playable in Vista WMP?

Also, did you install the WME Vista Hotfix (http://on10.net/Blogs/benwagg/windows-media-encoder-9-hotfix-for-vista/)?

alphabeta0
9th June 2007, 16:18
Can you verify the file is playable in Vista WMP?

Also, did you install the WME Vista Hotfix (http://on10.net/Blogs/benwagg/windows-media-encoder-9-hotfix-for-vista/)?

Yes to the hotfix and yes to whether its playable in WMP, it shows a black screen with audio. Same with other media players.

Also you can see that the encoder didn't do any of the video for some reason as it shows 0 bytes:

Video :
Codec: Windows Media Video 9
Expected bit rate: 250000 bps
Average bit rate: 250000 bps
Expected fps: 29.97
Dropped frame count: 0
Total coded frames: 0
Average sample rate: 0
Dropped bytes: 0 bytes
Total bytes: 0 bytes

benwaggoner
9th June 2007, 22:26
Yes to the hotfix and yes to whether its playable in WMP, it shows a black screen with audio. Same with other media players.
If you're not seeing video anywhere, it's probably a DirectShow issue not related to WME.

alphabeta0
10th June 2007, 01:32
If you're not seeing video anywhere, it's probably a DirectShow issue not related to WME.

Sorry I meant the WMV file produced by WME doesn't show any video only audio not the original file I'm trying to convert. That plays in all media players just fine and it uses no codec (uncompressed).

EDIT:
I'm gonna try formatting with clean Vista install.

alphabeta0
12th June 2007, 17:13
Seems a format and clean install of Vista fixed the problem.