By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,052 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,052 IT Pros & Developers. It's quick & easy.

Windows Media Encoder COM

P: n/a
Hello. I’m working with the Windows Media Encoder SDK to create an online
jukebox for myself, but I’m having problems getting it to work. Here’s what I
want to do:

I’ve got a large collection of mp3 files that I listen to at work from my
home server. I simply share them out from IIS and then open playlist files in
WMP to play lists of songs. This works well fairly well. However, most of my
mp3s are encoded at 192kbps or higher, so sometimes I have network bandwidth

My solution is to have the mp3s encoded on-the-fly via Windows Media Encoder
to a WM stream at a lower bitrate. That way, regardless of the bit rate of
the source mp3, my listening stream will always be the same rate. I’m using
C# and the Windows Media Encoder COM interface to instantiate my own instance
of an Encoder. My idea is to create an ASP.NET web service that I can use to
remotely add tracks to the encoder. The encoder would be encoding the files
and broadcasting them directly or pushing them to a Windows Media Services

I’ve got most of this working except the most important part. Dynamically
adding songs to the encoder. You can’t edit a list of Sources while the
encoder is running. If you stop the encoder at the end of a track, add the
next one and then start it again the client stream is cut off and the client
has to be reconnect to hear the next song.

I’ve tried everything I can think of to get this to work. If anyone has any
tips or maybe another way of approaching this problem, I would really
appreciate the help.



Nov 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.