Welcome to MSDN Blogs Sign in | Join | Help

Anandi’s Thoughts

Random stuff (mostly) about working as a Program Manager at Microsoft
My experiment with Windows Media Encoder

So a few TAP participants have asked me if the recordings of the TAP Kickoff training are available anywhere.  Sadly, the answer has been 'no' because we haven't had time to compress and edit the recordings.  Right now the files are *huge* and have a lot of extraneous stuff at the beginnings and ends.  I've decided to take advantage of this quiet week to figure out how to do this. 

After a quick email to Santhosh, a PSS engineer who supports both Speech Server and Windows Media, I found out I can use the Windows Media Encoder + the utilities it comes with to accomplish my task.  Sounds easy, doesn't it?  Trimming extraneous content and the beginning and end *seems* easy enough - there's a Windows Media File utility that allows you to do that and seems very straightforward. 

But the compression part is a little trickier.  Armed with some info from Santhosh about bit rate and video size, I popped open the Encoder.  On the 'Properties' tab, there are a dizzying array of options, almost enough to make me crawl under my desk and give up.  After making a copy of the source file, I poked around at the Source, Output, and Compression tabs and chose some settings that seemed right, selecting VHS quality video and CD quality audio.  I'm not sure if my machine is slow, or what, but when going through the different settings and clicking Apply, it took the Encoder a full minute or two to "come back" from whatever it was doing. 

Then I held my breath and clicked 'Start Encoding'.  I had no idea it would take so long.  Since the source file is 287 MB, and my machine isn't super-fast, it's not a huge surprise.  Looks like it'll take about 30 minutes to see if this worked.

... 30 minutes elapses...

Hmm.  I got 3 "unexpected errors in the audio codec" in the log.  And the resulting file is only 15 kb.  So I'm going to assume that didn't work, especially given there's no sound in the resulting file and it's about 30 seconds long.

I guess I'll try again and see if copying the files locally helps, and I'll adjust some of the audio settings as well.   If you have any tips on this, feel free to pass them along!

I found this whitepaper helpful for very basic terminology, etc. on encoding digital media: Introduction to Digital Media and the Windows Media 9 Series

So that's what I'm up to this quiet holiday week!  What's going on out there?

Posted: Wednesday, December 28, 2005 5:01 PM by anandi

Comments

Christopher JOnes said:

finally i can test an avs with wm9.

your tool looks very promissing.

a few questions though:

- what does "quality" in the video options mean?

- the quality textbox in the vbr frame is always enabled, even if i don't select quality vbr. is this a bug?

i'll run a test now. thanks again.

# January 30, 2007 3:28 PM

TekWiz said:

I had to encode a 10 min DVD clip. I converted it with Nero to avi no compression (4 gb). Then needed to compress it to web quality. WME 9.0 would run for 2 min and fail every time. I tried "Total Video Converter" and "Kingdia Video Converter" and both convert this clip on a Sempron 3000 in like 4 min to any format you like with excellent results. Just to see if WME was choking on the uncompressed video I just tried to re-compress the compressed AVI. It ran for 2.5 hours and said 4.5 hours left!!! The CPU was only like 20% active...

Ehhhem, just goes to prove how pathetic Microsoft products are... Can you believe that at MS they even want genuine confirmation to download this horrible program? Will Billy send me a check for the time I wasted playing with this useless piece of garbage? Dude should be in the charity business, not software business....

Microsoft means exactly what you think--MICROsoft--Software written by mental midgets with MICRO brains...

Tek.

# February 14, 2007 2:26 AM

Ed said:

QUOTE: "...I'm not sure if my machine is slow, or what, but when going through the different settings and clicking Apply, it took the Encoder a full minute or two to "come back" from whatever it was doing..."

I experienced this exact same problem after installing:  Quicktime, iTunes, and Cyberlink Power Producer.  After uninstalled those mentioned programs then media encoder worked properly.

# April 9, 2007 5:14 PM
New Comments to this post are disabled
Page view tracker