Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default FMS2 and Smil

    Hi,

    I read that FMS2 support XML playlist format like SMIL. I be able to use smil
    file in a client-side way with FLVPlayBack but it's very limited (for example I
    don't be able to play one video after the end of another video) and I want to
    try a server side playlist.
    How can I do to use smil to create server-side playlist? Server-side playlist
    has the same limitations? Any suggestions, link or examples?

    Thank you
    Daniele

    danielepiras Guest

  2. Similar Questions and Discussions

    1. FMS2 - main.asc - smil.xml
      I've read that in order to use FLV Playback and FMS2 you need to have an smil.xml file. I have the sample main.asc from Flash 8 directory, and...
    2. playlist using smil
      Hello, I was wondering if their are any tutorials for building a playlist for my flv files that uses a smil file to serve the correct flv for the...
    3. FLVPlayback and SMIL xml
      Hello everyone, I have assigned the SMIL XML file for the contentPath property of the FLVPlayback like this, Flv_pk.contentPath="mySmil.xml"; ...
    4. XHTML+SMIL and HTML+TIME
      Hi Is the XHTML+SMIL profile supported by IE? By other popular broswers? Is it going to be supported? What is the place for HTML+TIME as purely...
    5. SMIL File
      Where the hell do you put the SMIL file to get the new component to work? Beuller......Beuller......Beuller......anyone? :disgust;
  3. #2

    Default Re: FMS2 and Smil

    I'm also having this issue. I've spent most of the last couple of days crawling
    through the PDFs for client and server side AS, along with the technotes and
    samples, attempting to get a clear understanding of how to get SMIL XML based
    dynamic bandwidth streaming from FMS2. I've been able to code from scratch a
    nice NetStream based solution, but really want to use the dynamic bandwidth
    management and loose coupling of the SMIL based solution. Currently I've got
    the following setup:

    Windows 2003 Server
    IIS 6
    serving a swf containg the following button which dynamically loads the smil
    file from the same directory as the swf:
    on( click ){
    import mx.video.*;
    _root.vid_ctrl.contentPath = "http://localhost/flashVid/streams.xml";
    trace( "contentPath: "+ _root.vid_ctrl.contentPath );
    var listenerObject:Object = new Object();
    listenerObject.metadataReceived = function(eventObject:Object):Void {
    _root.vid_ctrl.setSize(vid_ctrl.preferredWidth, vid_ctrl.preferredHeight);
    _root.vid_ctrl.seek(4);
    trace( "contentPath after metadata: "+ _root.vid_ctrl.contentPath );
    }
    _root.vid_ctrl.addEventListener("metadataReceived" , listenerObject);
    }
    [from livedocs article:
    [url]http://livedocs.macromedia.com/flash/8/main/00003539.html][/url]

    This is the content of the XML SMIL file:
    <smil>
    <head>
    <meta base="rtmp://localhost/bls_videos/_definst_" />
    <layout>
    <root-layout width="320" height="256" />
    </layout>
    </head>
    <body>
    <switch>
    <video src="Bag-mask 1 resc (512)" system-bitrate="512000" />
    <video src="Bag-mask 2 resc (512)" system-bitrate="128000" />
    </switch>
    </body>
    </smil>

    I can see in my server log for the bls_videos app that a connection is being
    made, but no streams are showing on the streams tab, and no response on the
    client. The following is logged on server when the connection is made:
    welcome[object Client]
    Error : command msg sent before client connection has been accepted.
    Error : command msg sent before client connection has been accepted.

    The Welcome is a trace line I put into the main.asc to ensure it was getting
    called. Not sure what the error is about.

    Any more detailed information on using the SMIL XML files for streaming -
    particularly a fully worked end to end example, would be useful.After trawling
    through the various online and offline docs on this subject there is very
    little to guide anyone.

    thanks
    Nick

    nickdjones Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139