From: Steve McMillen <[EMAIL PROTECTED]>
Subject: Re: Downloading mp3 files
Depends on what you mean by 'download'. If you want the user to be able to
save the file to disk and later play it back randomly then I suggest you
create a link in the SMIL file using RealText that points to the SMIL file on
an http or ftp server. Clicking on this link will invoke a browser and
download the file using the browser.
There is two more interesting option to explore depending on the effect you
are looking for.
If you are looking for a cached playback mode, and if the user has the
RealPlayer 7, you might want to try using the http caching filesystem in the
RealPlayer. There is a document on the devzone which discusses authoring with
the RealPlayer 7 but the long and short is you can configure URLs in SMIL
using "chttp://" instead of "rtsp://" or "http://" so that the content is
downloaded and cached into a local cache on the player. Depending on if you
are caching the file so the user can playback at full speed or if you want the
user to play the file totally off-line, then you can possibly either cache
only the media file or possibly cache the entire presentation (smil + media +
other streams). You should note that the RealPlayer cache size by default is
4 MB as it is primarily intended for caching of images like advertisements.
If you are looking for more of a download and play, then you might want to
explore using the RealJukebox. As you may know, the RealJukebox is designed
to support download of media content and local playback of that content thru
the RealJukebox interface. The RealJukebox interface is basically a database
with a easy to use consumer front end. What you may not know, is that the
RealJukebox allows you to package entire SMIL presentations for download and
playback as well. What's more, you can author simple metafiles that configure
how and where the content is to be loaded into the Jukebox database. You can
learn more about these authoring methods thru the RealJukebox documentation at
RealJukebox Central on real.com.
cheers!
[EMAIL PROTECTED]
RealForum wrote:
>
> From: Ben Rupp <[EMAIL PROTECTED]>
> Subject: Downloading mp3 files
>
> Does anyone know how I can link to a mp3 dowload in a smil presentation
> without it
> autmoatically streaming the mp3, ie, make it default to a download?
>
> DiscoverMusic.com
> Ben Rupp
>
*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites. Archives of RealForum can
be found at http://realforum.real.com
If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:
unsubscribe realforum
or from another account, besides the address you subscribed with:
unsubscribe realforum <[EMAIL PROTECTED]>