Live mp3 streaming

Hi all, I have been having a really hard time trying to LIVE
stream an mp3 from my flash media server 3 using actionscript 3. I
wanted to know how to play an mp3 in a similar way to a radio, it
means that when an user connects to my app he starts listening the
song from the point in which the song has arrived, and not from the
beginning (like a radio, indeed).
If you don't know a better way It would be quite the same if
you could translate this
code from as2 to as3 (i took it from
http://www.adobe.com/devnet/flashmediaserver/articles/li
ve_dj_app.html ):
ns1 = new NetStream(nc);
ns1.setBufferTime(3);
_root.createEmptyMovieClip("dj 1", 1);
dj1.attachAudio(ns1);
dj1Sound = new Sound(dj1);
setVolumeOfLines();
Sorry if i sound a bit rude, but English is not my native
language.. Thanks all in advance! Be patient, I m quite new to as
and fms. Best wishes

MotionMaker, that's what I thought at first, but after
review, FMS seemss to be sever-side tech., I'm looking for
client-side script(s), I don't need broadcasting ability, just to
recieve without crashing. The Media Components do this well,
however 'styling' is the issue. And yes, it can be done by changing
out the component clips, but it seems a little risky too me, don't
wanna mess up the .as file clip calls, although i think I could get
it done. All of that being said I'm just wondering what the best
method is for 'receiving' a continuos stream. thanks though, do you
think that there may be a different stream at the hosting server
that I should link to? (lower bandwidth?) I think I may just need a
loo to empty the cache or something.

Similar Messages

  • MP3 Streaming problem

    New iphone 6, ios 8.3. When streaming archived radio shows (MP3-128k) via WiFi or 4g, the stream restarts to the beginning after 2-3 minutes. I tried several of the archived shows and they all restart as mentioned. The live radio stream seems to work ok.
         The same files play all the way through (2-3 hours) on my desktop and ipod touch.

    Is both Transmit and Receive running on same machine?
    Rgds,
    Seetesh

  • Playing mp3 stream works well in Emulator but doesn't play on Device

    I'm facing this problem. I'm using flex && actionscript to play an mp3 stream on the phone.
    Code works great and the sound is played when the app is run in the flash builder emulator.
    However, when i deploy my app on a mobile device (tried several Android phones) everything is good except the stream doesn't play!
    Can you please help me??
    Here's my code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
                        creationComplete="view1_creationCompleteHandler(event)"
                        >
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  import flash.net.*;
                                  import flash.media.*;
                                  private  var req:URLRequest;
                                  private  var context:SoundLoaderContext = new SoundLoaderContext(8000, true);
                                  private   var s:Sound;
                                  private  var channel:SoundChannel = new SoundChannel();
                                  private  function AudioOn():void
                                            req = new URLRequest("http://stream2.srr.ro:8000/;stream.mp3");
                                            s = new Sound(req,context);
                                            channel=s.play();
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
                                            AudioOn();
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
    </s:View>

    Okay.. First a big thanks!!
    I've resolved the path issues and am now experimenting with formats other than SCORM that will hopefully launch off our LMS (SyberWorks).
    I think I know what a cross domain issue is... it seems pretty self evident, (ie) .htm/.swf files live on a different server domain than video or audio files.
    I think all my files are on the same domain in the zip file. However, are the following paths also an example of a cross domain issue?:
    Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
    (this is where I upload, or publish Captivate files)
    http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
    (this is where clients access the training modules via IE & the Syberworks LMS, intranet)
    One more..... when publishing with the Captivate > Internal Server option what path do I input to access the server?
    Z:\orgs\ogslp\courses\2012videotest\videotestinternalsrvr\videotestinternalsrvr.htm
    (backdoor for uploading files)
    or
    http://gslcampus/ogslp/courses/2012videotest/videotestinternalsrvr/videotestinternalsrvr.h tm
    (actual internal, intranet url for accessing courses)
    PS when I upload files the following appears before the Z:
    Computer > SyberWorks (\\sousa)(Z:)
    Any advice would be appreciated - thanks for your time.
    wjf

  • AAC audio causes stuttering in live video stream playback

    I am using the Spark VideoDisplay component and setting the mx_internal bufferTime to 0.  (videoDisplay.mx_internal::videoPlayer.bufferTime = 0)  I am doing this because I need to have the absolute minimum delay in the live video stream.  I am broadcasting video files as a live stream using ffmpeg, through Red5, then to the client.  ffmpeg is not re-encoding the video or audio.  I am using h.264 video format.  I have tried encoding videos using Adobe Media Encoder and ffmpeg.
    When I have a video stream only and no audio stream this works fine, but when I have an AAC audio channel with the video, I frequently see the video jitter badly.  It looks like the video is quickly going forward and back a few frames.  When this problem occurs it will go on for some time and sometimes eventualy starts playing normal.  When the video is playing normally the audio sounds fine.  When I play the videos in a regular media player (like VLC) they play and sound fine.  Also if I use an mp3 audio channel I don't see the jittering
    Does anyone have any idea what the cause of this problem might be or how it can be resolved?

    Ah, yes, I am not serving high-def video myself. H264 is probably better, but my understanding is that you need hardware acceleration to get good performance from it (again, not an expert on the topic, that's just what my understanding has been...)
    This document [pdf] may have some usefull info on choosing an optimal encoding for your needs.
    (Or you can see the full lecuture here [Adobe TV])

  • How to play live Video Stream with Flex?

    I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
    Server and Flash Live Media Encoder.
    I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
    I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
    with Flex.
    This code streams pre-recorded Video on Demand flvs, but not live streams:
    If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
    What am I doing wrong?
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:Label text="RTMP FMS 2.0"/>
            <mx:VideoDisplay
                autoBandWidthDetection="false"
                source="rtmp://localhost/vod/Legend.flv"/>
        </mx:HBox>
    </mx:Application>
    Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

    That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
    Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:VideoDisplay
                live="true"
                autoBandWidthDetection="false"
                source="rtmp://localhost/live/livestream"/>
        </mx:HBox>
    </mx:Application>

  • How can I play live http streaming in osmf?

    Hi,
    I was trying to play live http streaming in osmf player but it was saying "Error #1009: Cannot access a property or method of a null object reference.". I think I need to do some change in OSMF player code to play live as vod plays fine. Can anybody point me in that direction?
    Thanks and Regards,
    Amit

    I downloaded StrobeMediaPlayback from https://sourceforge.net/projects/smp.adobe/files_beta/StrobeMediaPlayback_1.5_Sprint-4/ (10.1 version) and it is working for me.
    By the way when I try to play live Http in debug flash player with my previous player then I get following error :
    VerifyError: Error #1014: Class org.osmf.net.httpstreaming.f4f::AdobeBootstrapBox could not be found.
                    at org.osmf.net.httpstreaming::HTTPStreamingNetLoader/createNetStream()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\httpstreaming\HTTPStreamingNetLoader.as:86]
                    at org.osmf.net::NetLoader/finishLoading()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:406]
                    at org.osmf.net::NetLoader/startLoadingHTTP()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:724]
                    at org.osmf.net::NetLoader/executeLoad()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:289]
                    at org.osmf.traits::LoaderBase/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:111]
                    at org.osmf.traits::LoadTrait/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:170]
                    at org.osmf.media::MediaPlayer/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1854]
                    at org.osmf.media::MediaPlayer/updateTraitListeners()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1497]
                    at org.osmf.media::MediaPlayer/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1332]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/processTraitsChangeEvent()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:475]
                    at org.osmf.elements::ProxyElement/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:436]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/set proxiedElement()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:182]
                    at org.osmf.elements::LoadFromDocumentElement/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\LoadFromDocumentElement.as:152]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements.proxyClasses::LoadFromDocumentLoadTrait/loadStateChangeEnd()[C:\Documen ts and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\proxyClasses\LoadFromDocumentLoadTrait.as:50]
                    at org.osmf.traits::LoadTrait/setLoadState()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:266]
                    at org.osmf.traits::LoadTrait/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:417]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.traits::LoaderBase/updateLoadTrait()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:208]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:finishLoad() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:211]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:onComplete() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:192]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at flash.net::URLLoader/onComplete()
    Regards,
    Amit

  • Z10 vs H264 Live Smooth Streaming under IIS 7 and Expression Encoder 4

    Hello all,
    First, sorry about my english, I habitually speak french.
        I just got my Z10 today and I'm trying to figure out how to stream live to that kind of device via Live Smooth Streaming, running on a win2k8 server feeded by MS Expression Encoder 4 (w/ H264 codec). I'm very far to be a developper or programmer, but I'm actually able to push streams for different devices, such as Windows Mobile and iOS devices since 3 years. I configured a new stream with different recommended specs supported by the Z10, but it always returns me than "this type of media is not supported and cannot be played". By example, in Expression I use a profile named "H264 Low Bandwidth" with these preconfigured standards settings:
    H.264 Baseline Level 1,3
    Video: CBR-1pass, 30fps, 347kbps, 364x272
    Audio: AAC-LC, stereo 128k, 44khz, 16bps)
    I tried so much settings in video and/or audio without succes than I started to think that I'm too stupid to understand what's going on! I'm absolutely following the medias specs on https://developer.blackberry.com/devzone/develop/supported_media/bb10_media_support.html
    In an IOS situation, I push the code like: http://10.10.10.200/campus.isml/manifest(format=m3u8-aapl).m3u8 where (format=m3u8-aapl).m3u8 is especially the part that an idevice recognizes. I removed this part, remove only the (.) content, removed the manifest word, removed all and so on. Never been able to got a single image or a sound.
    Is there an option like (format=somethingelse) that I need to type somewhere? Please don't answer me to google it, I already asked 100 times to google and read tons of pages and I know it's very annoying for expert if the question was answered somewhere else (which I didn't found...) but I needs a hint.
    Thank you!

    Hi, everything in the "Quick Reference" section should be commented out with ;
    You should change those settings further down in the php.ini file.
    Example:
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    display_errors = Off
    Last edited by adrianx (2013-07-26 12:32:02)

  • Re: Video using ORB's Live TV Stream on Player 4.5 no longer works (4.3 worked fine)

    I am having trouble with my Orb Live TV Stream.  Using version 4.3 of the Media pLayer this Video and Audio worked fine, but since the upgrade to V4.5, the audio still works fien but the Video Screen is blank. Any suggestions?
    Can I download just the Media Player V4.3 and have it exist with V4.5 on the same phone?  Where would I find it?

     Player 4.5 no longer works but you get a new Player

  • Live video stream to both Flash and iOS problem

    Hi everyone, I'm Lucas. I Have learnt how to deliver a single live video stream to both Flash and iOS from this video
    But after that I got a problem with the ".f4m" file and ".m3u8" file (I think)  like this video below here. I don't know what happen with the server because my camera is still working perfectly.
    I now using Flash Media Server 4.5
    Does anyone know how to fix it?

    Try this :
    1: stop any stream.
    2: go to  root_install\applications\livepkgr\events\_definst_\liveevent and delete any .stream file that is in there
    3: Go to   root_install\applications\livepkgr\streams\_definst_ any livestream folder that is in there for example if you streamed with name livestream12 there should be a folder with the name livestream12, delete it.
    4: Then try streaming a single bitrate stream by adding to the FMLE the following parameters 
    FMS Url :  rtmp://localhost/livepkgr
    Stream: livestream?adbe-live-event=liveevent
    5: go to sample player and add this url to the field : http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    *If you have a public IP do the following :
    1: go to http://www.osmf.org/configurator/fmp/#
    and add this url  : http://public_ip/hds-live/livepkgr/_definst_/liveevent/livestream.f4m (replace localhost with your public IP)
    and from the advanced tab say that it is live.
    Give it a try!

  • E72: Live TV streaming from Orange Romania - Gener...

    Tried to watch some live TV programmes from Orange Romania media site (wap.orange.ro, tv live section) but Realplayer is crashing with "General:system error" .
    Contacted Orange support in Romania and they told me that E72 is not compatible with their sevice. No technical details, just a simple "not compatible". Asked also for a player instead of RealPlayer but the same answer: Live TV stream will not work, not because of the player but because of service incompatibility.
    I have also a Nokia E63 that works perfect with Orange Live TV. RealPlayer opens a rtsp://ipaddress/... stream correcly, video/audio is fine.
    What's wrong with Nokia E72 ? It's a much more expensive phone then E63, but is missing some important codec ? Any ideeas ?
    Thanks!

  • Switching video source for live video streaming

    Is it possible to switch the video source from a video
    capture card to a standalone video during live video streaming? We
    are streaming live TV and we want to skip playing any
    advertisements.
    If this is not possible, what is the best way skip playing
    any advertisements? Do we have to do it at the client player level
    i.e. catch an event from the video player and play a predefined
    video when the live video stream is stopped?

    Thanks for reporting your fix. That news could be very important to those who delete events from their hard drive to save space, but may want to reload them later to do some editing.
    It sounds like the key is re-importing with exactly the same name as before.
    Just curious: What kind of camcorder? Was it MiniDV tape? Flash? Hard drive? DVD?
    It strikes me that with tape it might be difficult to reimport an exact match. If you start on a different frame, the pointers could be off. But if that is not the case, it is very good news.

  • Best upgrade for mini to improve live broadcast streaming?

    I am using a Mac Mini for live broadcast streaming. I am using Wirecast for the encoding. I am encoding the stream in Flash format and I'm simultaneously recording to hard drive in QT h.264 format. This maxes out my 2 GHz Core 2 Duo mini with 4GB RAM. I am trying to decide how I might improve my setup for optimal performance. For example:
    1) Should I replace the 5400 RPM internal hard drive in the Mini with a 7200 RPM drive and continue to run the broadcasting and recording as before but now with the faster drive? In other words, would I expect meaningful gain by simply upgrading to a faster internal drive?
    Or:
    2) Should I add an external 7200 RPM 800 Firewire HD to the Mini? If I do this what would be the best way to utilize the faster drive--
    a) Booting the mini from the faster external drive and recording to the external drive and essentially "ignore" the internal drive?
    b) Boot from the internal drive and use the external drive for recording the movies?
    And would utilizing the single FW 800 port for the HD interfere with capturing video from my FW camcorder? (I'd need to add a FW hub or daisy chain the two devices).
    I guess what I am really asking is this-- Will I have better efficiency in performing simultaneous encoding and recording by off-loading part of the work to a second hard drive?
    I assume that the encoding of the broadcast stream is determined by the CPU and is independent of the hard drive configuration.
    Any suggestions will be appreciated.
    John

    I admit that I'm not familiar with your particular application and setup, but I will say that the fastest connection to the hard drive in the Mini is via the internal SATA. A 7200 RPM 2.5" drive should be faster than a firewire external.
    Keep in mind that drives slow down as they get closer to full .. so for best performance try to keep as much free space as possible. A drive that is 50% full will be a lot faster than one that is 80-90% full.
    It might be useful to look at Utilities > Activity Monitor and see whether you are having a high pageout-to-pagein ratio, or whether you are strictly CPU or I/O bound.
    BTW to take advantage of the fast SATA connection, some folks have run eSata from inside their Minis to allow connection of 3.5" eSata drives, which would be the fastest conventional drive for a Mini.
    Others have replaced the DVD drive with a Solid-State Disk Drive, for the absolute fastest (though size limited) setup.

  • Adobe air for Playbook & mp3 streaming

    I want to listen radio-canada streaming (Mp3).
    I coulndt find an apps to play streaming MP3 ( where I can paste the radio canada link)
    So I decide to install the widget, which need adobe air..
    I'm unable to acces adobe air download from the browser and the widget doesn't want to install
    Look like a pandora box....
    So, the question is...Is there any way to play mp3 streaming via the playbook or to install widget with adobe air?
    Thanks

    Have you tried the Nobex Radio app on the PlayBook?
    Maybe this has the station that you're trying to listen to.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!

  • How to enable live audio streaming in FF running Windows 7

    I am unable to listen to live audio streams, please help !

    Which plugin is used for those streams?
    Your More system details list shows the WMP plugin and the Flash plugin as commonly used plugins to play streams.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How do you auto reconnect a live video stream broadcast in flash action script 3?

    how do you auto reconnect a live video stream broadcast in flash action script 3?
    so i don't have to ask people to refresh the page if the connection drops
    i copy pasted the live video stream broadcast files and script from here;
    http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
    http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
    server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
    /node_1278314297096/file.res/beginner_live_fms3.zip
    i don't know what i'm doing

    Why don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?

Maybe you are looking for

  • How can I center the chart inside the portlet?

    Hi, I created a bar chart and published it as a portlet. The chart is left-positioned inside the portlet which doesn't look good. How can I center it? Thank you in advance for your help.

  • I get an hourglass instead of a thumbnail in the catalog

    I have a laptop with Windows Vista and SP1. I was running Adobe Photoshop 6.0 and upgraded to Adobe Photoshop Elements 7.0. Now when I import new photos instead of a thumbnail view of the photo I get a thumbnail of an hourglass. If I regenerate the t

  • Invisible non-printing areas in Excel . . .

    In Excel I can have a certain part of a spread sheet not print. This is useful, for example, with stuff for the tax office so that they cannot see non relevant information. When I import a file with such an "invisible" area into numbers, that feature

  • Photoshop Elements (6 thru 12) questions

    1) Updates for 6, 7, 9, & 12 on Mac 10.7 &/or Windows 7Pro 64:  will the most recent updates include all the earlier updates for that version?  If not how do I know where to begin? 2) How many copies of each version are you allowed?  I have a desktop

  • Facetime verification email error

    Hi, first of all I'd like to say sorry if this is in the wrong section of the forums, just couldnt find a suitable section for my problem. Basically I installed facetime, apple sends me the verification email which reads as below... To complete the p