Skip to main content
Participant
November 25, 2011
Question

How to stream .mp3 file?

  • November 25, 2011
  • 1 reply
  • 2569 views

Hi All,

I have success full installation of Flash media server 4 in my linux machine.

I am in need of stream the .mp3 file over network.

Please any help me on this.

Thanks,

Hariharan V.

    This topic has been closed for replies.

    1 reply

    November 25, 2011

    Once you have installed your FMS, go to the applications directory inside the FMS installation directory and place your mp3 file inside the media folder i.e. /opt/adobe/fms/applications/vod/media (assuming default installation).

    Now you can stream this mp3 file from anywhere using a flash based client with the url - rtmp://<server name or ip>/vod/mp3:sample, where sample is the name of the mp3 file.

    Hari86Author
    Participant
    November 25, 2011

    Hi,

    I had done what you said.

    How to access that mp3 file over http?

    Is there any need to give full path in browser?

    I am using firefox, how to check with rtmp and also in http?

    Please help me on this...........

    Thanks,

    Hariharan V,

    November 25, 2011

    There are two ways to access the mp3 files over http - progressive download and http streaming.

    For the first, all you need to do is open a flash client that supports http playback. For this, copy the mp3 file and place inside the vod folder inside webroot. To access the file over http, give the url as -

    http://server-name/vod/sample.mp3.

    A more efficient way of doing media streaming is to use Http Dynamic Streaming -

    http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS8d6ed60bd880807c48597a9e1265edd6cc0-8000.html  and

    http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS9463dbe8dbe45c4c-c126f3b1260533756d-7ffc.html

    But f4fpackager does not supports packaging of mp3 files directly. It can package flv and f4v codec files. Though you can package audio only files that contain mp3 codecs but not directly with mp3 extensions.

    Go through these tutorials for details about the second method.

    Let me know if you need some help understanding it.

    Regards,

    Apoorva.