/    Sign up×
Community /Pin to ProfileBookmark

Streamable mp3s

How do I get mp3 samples to be streamable instead of a person having to do a complete download to listen to the sample?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@MikeOSDec 07.2002 — 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!!!
Copy linkTweet thisAlerts:
@Dr_5150Dec 13.2002 — 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
×

Success!

Help @spufi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...