Failed to play (stream ID: 1).

Hi all, I'm trying to simply stream audio from a FCS using
akamai, I can give you the stream if necessary, but for now I'd
prefer to keep it private. I can connect
(NetConnection.Connect.Success), but the net stream then fails.
// CODE
nc = new NetConnection();
nc.onStatus = function(oInfo:Object):Void {
trace("> nc status > " + oInfo.code);
trace("The connection code is: " + oInfo.code);
nc.connect("rtmp-stream-here");
ns = new NetStream(nc);
ns.onStatus = function(oInfo:Object):Void {
trace("> ns status > " + oInfo.code);
trace(">> " + oInfo.description);
ns.setBufferTime(1)
ns.play("test");
// OUTPUT
> nc status > NetConnection.Connect.Success
The connection code is: NetConnection.Connect.Success
> ns status > NetStream.Failed
>> Failed to play (stream ID: 1).
Does anyone know why I'm getting the: Failed to Play (Stream:
1).

Hi John,
Form the description of your issue (and from a short investigation) I can deduce that your assets do not have synchronized keyframes. Please try to re-encode them and force a fixed keyframe interval.
Since the switch can be done on keyframe only, and if you do not have a keyframe in the second stream at that position, the playback will stop with an error.
S.

Similar Messages

  • Dynamic Streaming Error: Playback Failed, Failed to Play (stream id: 1)

    I'm testing out using the current release of the SMP code on my localhost and when using this F4M manifest I can play into the video about 8 seconds before this error message appears. Any ideas what I'm doing wrong?
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns="http://ns.adobe.com/f4m/1.0">
        <id>birds</id>
        <baseURL>rtmp://flv.stream.aol.com/flash</baseURL>
        <media url="mp4:aol/us/aoltruestories/2010/CinelanNew/cinelan-064-Wild-Wings_Ben-Gonyo_4000_16x9 _500" bitrate="500"/>
        <media url="mp4:aol/us/aoltruestories/2010/CinelanNew/cinelan-064-Wild-Wings_Ben-Gonyo_4000_16x9 _1000" bitrate="1000"/>
    </manifest>
    I'm passing the "src" parameter on the embed code with this F4M.
    I've been able to play this F4M successfully:
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns="http://ns.adobe.com/f4m/1.0">
        <id>Dynamic Streaming</id>
        <duration>253</duration>
        <mimeType>video/mp4</mimeType>
        <baseURL>rtmp://cp67126.edgefcs.net/ondemand</baseURL>
        <media url="mp4:mediapm/ovp/content/demo/video/elephants_dream/elephants_dream_768x428_24.0fps_4 08kbps"  bitrate="408" width="768" height="428" />
        <media url="mp4:mediapm/ovp/content/demo/video/elephants_dream/elephants_dream_768x428_24.0fps_6 08kbps"  bitrate="608" width="768" height="428" />
        <media url="mp4:mediapm/ovp/content/demo/video/elephants_dream/elephants_dream_1024x522_24.0fps_ 908kbps"  bitrate="908" width="1024" height="522" />
        <media url="mp4:mediapm/ovp/content/demo/video/elephants_dream/elephants_dream_1024x522_24.0fps_ 1308kbps"  bitrate="1308" width="1024" height="522"/>
        <media url="mp4:mediapm/ovp/content/demo/video/elephants_dream/elephants_dream_1280x720_24.0fps_ 1708kbps" bitrate="1708" width="1280" height="720" />
    </manifest>
    Thanks!

    Hi John,
    Form the description of your issue (and from a short investigation) I can deduce that your assets do not have synchronized keyframes. Please try to re-encode them and force a fixed keyframe interval.
    Since the switch can be done on keyframe only, and if you do not have a keyframe in the second stream at that position, the playback will stop with an error.
    S.

  • E)2581279      Assert failed in /modules/streams/flv/TCFLVData.cpp line 1202

    In an application where I do a recording from webcam to fms,
    sometimes I obtain this error in core.XX.log:
    (e)2581279 Assert failed in
    /modules/streams/flv/TCFLVData.cpp line 1202 -
    when it happens the effect client side is that I try to play
    a stream just recorded, and I see a stream of 0 seconds, with the
    command: stream.play(nomefile, 0, -1, true);
    often when I obtain this error the durantion of the stream
    from the media server is very different form the real one recorded.
    How could I resolve this situation or work around it?
    thanks for your time and all of your suggestions and helps
    filippo

    thanks patrick for your interest.
    we're using the 2.0.3.
    this error code was never traced in the log file of the 2.0.2

  • Problem playing streaming FLV

    Hi ppl,
    I'm trying to play streaming FLV files using FLVPlayback
    component.
    Some of those FLV files have different resolution. When the
    FLVPlayback property "maintainAspectRatio" is set to "true", it
    runs correctly, but, sometimes, with some black bars or spaces on
    the right because the component resized it and let the same aspect
    ratio.
    When I set that property to "false", the FLV video fits
    exactly the size of the component area, but when I click to change
    to next video, it fails, the component doesn't play the next video
    =\
    I searched and found that was a bug of the FLVplayback
    component, so I updated it and didn't resolve..
    Any suggestion?
    Thanks...

    I think you need to create a Video object, drag it to the
    stage, set its dimensions, give it a name (try "theVideo") and then
    in actionscript, prior to _ns.play(), run this:
    theVideo.attachVideo(_ns);
    Then call _ns.play(). See if that helps!

  • Is there a way to play streaming wmv on iPad through safari?

    Is there a way to play streaming wmv on iPad through safari?

    No. WMV is a proprietary Microsoft video container and there is no native support for it in iOS.
    There are third-party apps on the AppStore that claim to be able to do this, but not through Safari.

  • Sound has stopped working; failed to play test tone; format not supported by the device (Vista x64 Ultimate)

    I can no longer hear any sound from my speakers/headphones. This happened suddenly yesterday without any hardware changes or noticeable software updates.
    -- The sound is not muted and the volume is set to full.
    -- In the device manager, my SigmaTel HD Audio device has no warnings or errors.
    -- I can't find any related messages in the Event Viewer.
    -- The primary audio device is selected as the default for playback. The mixer shows my media player as being mixed properly to the device.
    -- In the sound control panel, under Playback > Speakers/Headphones > Properties > Advanced:
     - I get the error message "failed to play test tone" when I try to Test my Default Format (dvd quality)
     - I get the error message "format not supported by the device" when I try to change my Default Format
    -- Note that unlike others who have similar problems, I'm not joined to a domain
    I've tried
    *  rebooting
    *  uninstalling and reinstalling the driver for the sound card
    *  "disable all enhancements" in the sound control panel
    (http://social.msdn.microsoft.com/forums/en-US/windowspro-audiodevelopment/thread/b09e43ba-3ffa-4a45-9593-8eee686f124a/)
    *  looking in the registry for some registry key (not found)
    (http://www.consumingexperience.com/2009/04/failed-to-play-test-tone-no-sound-on.html)
    Computer details
    Dell XPS M1530
    Vista Ultimate x64 SP1 with current updates
    SigmaTel driver version 6.10.0.5866
    **Update**
    I followed the following steps:
        * using regedit, go to HKLM\System\CurrentControlSet\Control\WMI\AutoLogger\Audio and change the “Start” value from 0 to 1.
        * Reboot the machine
        * Try to play an audio file.
        * Post a link to the generated log file which you can find in: %WINDIR%\system32\LogFiles\Audio
    but don't know where to post the resulting AudioSrv.Evm.001 file. It's also not human readable and I can't find what utility parses it for reading.
    **Another update**
    Still can't read the EVM. logparser 2.2 can't parse it.
    Found this thread which interested me but isn't applicable to x64 (I think):
    http://social.msdn.microsoft.com/Forums/en-US/mediafoundationdevelopment/thread/94cdc662-e974-43de-8feb-6eb156924347
    **YAU**
    Dell confirms it's an OS issue after troubleshooting with me for a couple of hours (wow)
    Is there a way to look at this EVM file _without_ installing the Windows Driver Kit??

    Hi,
    Thanks for posting in Microsoft TechNet Windows Vista Forum.
    Upon your description, I see that you have done a lot of research and tests. Unfortunately, none of these troubleshooting works.
    Based on my experience, this issue related to "failed to play test tone" can be related to several reasons. It also includes hardware defect. I am confusing why Dell confirms that the issue is related to Operating System. Could you let me know what operation Dell had troubleshot with you?
    Meanwhile, here I just provide more troubleshooting except what you performed. If it doesn't work, I may also need to recommend that you contact Dell for support.
    1. Microsoft has released a Hotfix to troubleshoot related to "Failed to play test tone".
    http://support.microsoft.com/kb/930883
    2. Make sure that these services are started.
    Windows Audio
    Multimedia Class Scheduler
    Remote Procedure Call
    Windows Audio Endpoint Builder
    3. I noticed that this issue occurred not long ago, I may need to suggest that you perform a System Restore to the previous restore point when the computer without any problem.
    System Restore
    ==============
    1)     Please click on Start and choose All Programs, Accessories, System Tools, and then Windows Backup.
    2)     Click Restore on the left pane.
    3)     Choose Basic Restore.
    4)     Follow the wizard and click Next.
    5)     If you would like to restore everything in the backup, we can check the box “Restore everything in this backup” on the top of the window.
    6)     We can also browse and choose certain files and folders to restore. Then, click Next.
    7)     Then choose the folder to save the recovered files and click Next.
    8)     When we see a “Restore is complete!” message, click Finish.
    Meanwhile, as I know, I'm afraid that there is no other way to look at EVM file except Windows Driver Kit. Maybe there are some third-party software that out of my mind can look at EVM files, you may need to perform more research on Internet.
    Hope this helps. Thanks.

  • TS2988 Iphone 3gs will no longer play streaming music though usb after i0s 5.0 update. Aux still works normally.

    i phone will not play streaming music through usb after ios 5.0 update. updated to 5.1.1 did not not correct problem.

    i phone will not play streaming music through usb after ios 5.0 update. updated to 5.1.1 did not not correct problem.

  • Error in external tax system: SAX processing failed on input stream SAX pro

    Hi
    When I was posted in T.Code: FB70,  (Customer Invoice) I am getting below mentioned error.
    Error in external tax system: SAX processing failed on input stream SAX processi.
    I put tick mark on calculate Tax column and select O1(A/R Sales Taxable).
    Pls. help me.
    Thanks
    Ranjith

    Hi Ranjith,
    I also face this problem in Production now.
    Could you kindly share with me how you resolved this issue?
    Thanks,
    Markus

  • No HDMI Audio, Failed to Play Test Tone, Can't Change Default Playback Device

    Hello, I'm experiencing some real trouble with my HP Pavilion dv6-2160us (with the i3-330M, no dedicated graphics) Windows 7-64 bit, SP1 PC, and I would greatly appreciate some assistance.
    I've created a new thread because, despite the fact that many other people have experienced a problem similar to this and have posted what worked for them, nothing has worked for me.
    The Problem(s):
    My main problem is that I cannot get any audio to play from my PC to my HDMI HDTV.
    When I plug my HDMI cable into my PC and TV, the TV is recognized in Playback Devices, but nothing can play to it.
    When I try to test the TV in playback devices, I get a "Failed to play test tone" error.
    Additionally, I'd like to mention some other odd behavior that I think may be a part of the main problem.
    In Playback Devices, I cannot change anything. I can't disable or enable a device, I can't set default playback or communication devices, and I can't save changes inside device properties. Every time I try to change something, like the default playback device, nothing happens or the changes are immediately reversed.
    The Question:
    How can I get audio to play over HDMI on my PC (It's not a problem with the TV, my other HP machines play audio over HDMI to it just fine.)?
    What I've Tried:
    I have tried:
    Changing the default playback devices, which I'm unable to do
    Running the Windows 7 Audio Playback troubleshooters from within a clean boot state
    Uninstalling and reinstalling the Intel(R) Display Audio driver
    Uninstalling and reinstalling the IDT High Definition Audio CODEC
    Uninstalling the IDT PC Audio program from Programs and Features
    Disabling the IDT High Definition Audio CODEC
    Nothing has worked.
    The drivers I have are the latest issued by HP
    How can I get this working? I would really appreciate some assistance.
    I'm at the point where I'm ready to try pretty technically-involved suggestions, so, please feel free to post those.
    Your expertise is greatly appreciated.
    Thanks.

    Hi @dskrobow,
    Welcome to the HP Forums!
    It is a terrific place to find answers and suggestions!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I understand that you are connecting a HDTV but you do not have any audio.
    Here are two links that may help.
    HP Notebook PCs - Using Two or More Video Displays in Windows 7
    HP Notebook PCs - Troubleshooting HDMI Display and Sound Issues.
    Have you ran the  HP Support Assistant ?
    Have you ran the Windows troubleshooter?
    If you appreciate my responding please click the kudos button below to say thanks.
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Macbook pro retina display is failing to play youtube videos.

    Macbook pro retina display is failing to play youtube videos. I am currently using google chrome canary, but also when I try on safari it says "blocked plug in". I have downloaded and properly installed adobe flash player multiple times and it still isnt working. Does anyone else have this problem? And, is there anything I can do about this? Oh, and Ive tried updating both browsers. it has temporarily fixed the problem beofre but then eventually it comes back and I cant use youtube.

    Wrong forum... you need the MacBOOK Pro forum.

  • Play Streaming Audio

    I'm busy designing an app to play audio from a link. The audio is being streamed by a Shoutcast server. The link I have been given is 'http://live.rmr.ru.ac.za'. I've got the following code so far:
        // Read sampled audio data from the specified URL and play it
        private void streamSampledAudio(URL url)
            throws IOException, UnsupportedAudioFileException,
                   LineUnavailableException
            ain = null;  // We read audio data from here
            SourceDataLine line = null;   // And write it here.
            try {
                // Get an audio input stream from the URL
                ain=AudioSystem.getAudioInputStream(url);
                // Get information about the format of the stream
                AudioFormat format = ain.getFormat( );
                DataLine.Info info=new DataLine.Info(SourceDataLine.class,format);
                // If the format is not supported directly (i.e. if it is not PCM
                // encoded), then try to transcode it to PCM.
                if (!AudioSystem.isLineSupported(info)) {
                    // This is the PCM format we want to transcode to.
                    // The parameters here are audio format details that you
                    // shouldn't need to understand for casual use.
                    AudioFormat pcm =
                        new AudioFormat(format.getSampleRate( ), 16,
                                        format.getChannels( ), true, false);
                    // Get a wrapper stream around the input stream that does the
                    // transcoding for us.
                    ain = AudioSystem.getAudioInputStream(pcm, ain);
                    // Update the format and info variables for the transcoded data
                    format = ain.getFormat( );
                    info = new DataLine.Info(SourceDataLine.class, format);
                // Open the line through which we'll play the streaming audio.
                line = (SourceDataLine) AudioSystem.getLine(info);
                line.open(format); 
                // Allocate a buffer for reading from the input stream and writing
                // to the line.  Make it large enough to hold 4k audio frames.
                // Note that the SourceDataLine also has its own internal buffer.
                int framesize = format.getFrameSize( );
                byte[] buffer = new byte[4 * 1024 * framesize]; // the buffer
                int numbytes = 0;                               // how many bytes
                // We haven't started the line yet.
                boolean started = false;
                for(;;) {  // We'll exit the loop when we reach the end of stream
                    // First, read some bytes from the input stream.
                    int bytesread=ain.read(buffer,numbytes,buffer.length-numbytes);
                    // If there were no more bytes to read, we're done.
                    if (bytesread == -1) break;
                    numbytes += bytesread;
                    // Now that we've got some audio data to write to the line,
                    // start the line, so it will play that data as we write it.
                    if (!started) {
                        line.start( );
                        started = true;
                    // We must write bytes to the line in an integer multiple of
                    // the framesize.  So figure out how many bytes we'll write.
                    int bytestowrite = (numbytes/framesize)*framesize;
                    // Now write the bytes. The line will buffer them and play
                    // them. This call will block until all bytes are written.
                    line.write(buffer, 0, bytestowrite);
                    // If we didn't have an integer multiple of the frame size,
                    // then copy the remaining bytes to the start of the buffer.
                    int remaining = numbytes - bytestowrite;
                    if (remaining == 0)
                        System.arraycopy(buffer,bytestowrite,buffer,0,remaining);
                    numbytes = remaining;
                // Now block until all buffered sound finishes playing.
                line.drain( );
            finally { // Always relinquish the resources we use
                if (line != null) line.close( );
                if (ain != null) ain.close( );
        }Although I get an UnsupportedAudioFileException when using the link above.
    Please can someone point me in the right direction on how to play streaming audio?

    Please can I refer you to this thread.
    I'm struggling like you can't believe to do something which I thought would be quite simple.

  • Failed to play test tone

    When ever I try to play any sound, nothing happens.  When I go into the control panel and double click on the “sound” icon, it shows my speakers.  And when click on my sound device or speakers, and hit test, the message I get it "failed to play test tone".
    Now for some background. 
    1. I had a different soundcard that was doing the same thing, but I thought maybe it just "went bad", so I bought a new one.  I’ve installed it with no problem.
    2. Yes, all the drivers are up to date.  I've run Windows update numerous times and I've double checked the driver version against the one on the manufactures website - they are the same.  Everything is up to date.
    3. The device manager can see my speakers/sound card and it says its working.
    4. I started out on another forum "Media foundation development - Re:Vista/No Sound/Failed to play test tone" and read the whole thread, did everything it told me to, and I even e-mail Microsoft to get a hotfix.  I installed the hotfix, to no avail.  Nothing has changed, my sound still does not work.
    5. The posters/answers at the above thread said they weren't really audio experts and were directing everyone to this thread.
    <!--[if !supportLineBreakNewLine]-->
    <!--[endif]-->
    Please help.
    Chris

    Goto the following key in registry.
    HKEY_LOCAL_MACHINE 
    à
    SOFTWARE  à 
    Microsoft  à 
    Windows  à  
                                        CurrentVersion 
    à
    MMDevices  à
    Audio  à
    Render  à   
    {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} à
    FxProperties
    In the right hand side of the registry window
    change the value
    of {1da5d803-d492-4edd-8c23-e0c0ffee7f0e},5  
    (value type is REG_DWORD) to 1 (one) instead of 0 (zero).
    INCASE YOU DON'T FIND THE ABOVE MENTIONED KEY UNDER fxproperties,
    PLEASE CREATE IT BY YOURSELF. (COPY & PASTE
    {1da5d803-d492-4edd-8c23-e0c0ffee7f0e},5
    TYPE
    IS REG_DWORD AND PUT VALUE 1
    The audio start working at the moment you change the above
    value !!! (even before closing the registry editor).
    Thanks & regards
    Deepak & Kabeer.
    Doha-Qatar.
    Mob : +974-5838614 & +974-5492246

  • NO SOUND, FAILED TO PLAY TEST TONE

    I have a Compac pressario with windows 7 starter, a week ago an update didn-t  allow me to use the virtual keyboard, I run a restore to a previous point and it ended up  with no sound also I UNISTALL - REINSTALL AUDIO DRIVER, EVERY TEST SAYS THERE IS NO ISSUE, HOWEVER WHEN I TEST THE SPEAKERS NOTHING IS HEARD and says fail to play test tone. Please help me. There is no assistance available from HP for this model.

    Goto the following key in registry.
    HKEY_LOCAL_MACHINE 
    à
    SOFTWARE  à 
    Microsoft  à 
    Windows  à  
                                        CurrentVersion 
    à
    MMDevices  à
    Audio  à
    Render  à   
    {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} à
    FxProperties
    In the right hand side of the registry window
    change the value
    of {1da5d803-d492-4edd-8c23-e0c0ffee7f0e},5  
    (value type is REG_DWORD) to 1 (one) instead of 0 (zero).
    INCASE YOU DON'T FIND THE ABOVE MENTIONED KEY UNDER fxproperties,
    PLEASE CREATE IT BY YOURSELF. (COPY & PASTE
    {1da5d803-d492-4edd-8c23-e0c0ffee7f0e},5
    TYPE
    IS REG_DWORD AND PUT VALUE 1
    The audio start working at the moment you change the above
    value !!! (even before closing the registry editor).
    Thanks & regards
    Deepak & Kabeer.
    Doha-Qatar.
    Mob : +974-5838614 & +974-5492246

  • Assert failed in /modules/streams/flv/TCFLVData.cpp

    Hi,
    We're running FMS 3.5.2 r654 on RHEL 5.2 and we're getting tons of errors like this:
    "2009-08-31      10:47:43        11394   (e)2581279      Assert failed in /modules/streams/flv/TCFLVData.cpp line 2033   -"
    Always the same line number.
    Can we safely ignore this error? What does it mean?
    We're only getting this since 3.5.2. We were running FMS 3.5.1 before, and weren't getting this error, but upgraded to get rid of the occasional "core experienced [x] failures"-crashes.
    Kind regards,
    Pieter Barrezeele

    thanks patrick for your interest.
    we're using the 2.0.3.
    this error code was never traced in the log file of the 2.0.2

  • Safari not playing streaming video

    Hi,
    For some reason safari 4.3 is not playing streaming video such as that shown on CNN. Also, my Macbook is not playing streaming audio. If any of you folks can help with an answer I'd appreciate the help. I am using 10.61 on both machines.
    Thanks
    Jack

    http://flip4mac.com
    Look for the "beta" version for Snow Leopard.

Maybe you are looking for

  • IPod Updates with error message when trying to upgrade iPod software

    We now have 3 iPods (2 3rd generation, 1 2nd generation), which are sync'd with a single iMac (running Leopard) with different checked play lists. When either of the 2 3rd generation iPods are attached, it indicates an upgrade is available (v1.1) but

  • Remove horizontal scroll bar from iview

    HI, My portal page have 2 iviews and one of them is Webdynpro iview; these iviews are placed in the page horizontally. Page and webdynpro ivew both of them have unnecessarily horizontal scrollbar.  At least I want to remove horizontal scrollbar from

  • Iphone Wish List

    Is there an 'official ' iPhone wish list anywhere? There are some features I would like to see that I think would be very easy for Apple to impliment 1. The ability to configure the device so that double clicking the home button lauches voice control

  • Invoice effects

    what are the imp effects of entering an invoice against a purchase order, explain in detail

  • HT5654 please I need help, I have not been able to upgrade my iOS from 6.1.2 to 6.1.3?

    please I need help, I have not been able to upgrade my iOS from 6.1.2 to 6.1.3?