Click to See Complete Forum and Search --> : Streamable mp3s


spufi
12-05-2002, 06:59 PM
How do I get mp3 samples to be streamable instead of a person having to do a complete download to listen to the sample?

MikeOS
12-07-2002, 04:49 PM
Firstly (as you probably know) you have to convert your mp3 into a streamable file.

The most common one is RealAudio by real.com, I believe you can download a demo of RealProducer which allows you to covert the mp3 file into the streamed realaudio file. Another popular streaming tool is Windows Media Encoder by Microsoft. I remember that RealProducer includes a set of wizards to help you convert the file into its streaming format. I can't remember if Windows Media Encoder has one, but being Microsoft it probably does.

Now if you use RealProducer it will covert your mp3 file into a .rm file (if I remember correctly, it has been a while). Next you open up a text file (try Notepad) and copy into it the url of the .rm file, such as:

http://www.mydomain.com/mymusicfile.rm

You then save this file with a .ram extension. You then embed it as you would any other media file, by using either the embed or object tag. Obviously the source being the .ram file.

If you choose Windows Media Encoder then that will convert you mp3 file into a .wma file. Now you open a text editor again (like Notepad) and type the code below into it.

<asx version="3">
<entry >
<ref href="yourfilename.wma" />
</entry>
</asx>

Now you save this with a .asx extension. You then embed the .asx file as you would any other media file, i.e. using object or embed.

Well that is as much as I can remember with my rusty knowledge. I hope it helps!!!

Dr.5150
12-13-2002, 01:17 PM
Another way is to create an .m3u file that is text & inside have it point to the file you want to stream
then all you need to do is provide a link to the m3u file
ie

m3ufile contents:

http://mydomain.com/sample.mp3