Streaming 2 x H264 live videos using smil file?

Hi,
I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.
I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.
I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2
my FMS URL is correct
The stream names are test1 and test2
in the Stream: box I have written: test1;test2
Yet I have also tried : mp4:test1.f4v;mp4:test2.f4v and other combinations.....
The SMIL file has the following:
<smil>
    <head>
        <meta base="rtmp://live" />
    </head>
    <body>
    <switch>
          <video src="mp4:test1.f4v" system-bitrate="150000"/>
          <video src="mp4:test2.f4v" system-bitrate="300000"/>
    </switch>
    </body>
</smil>
The SMIL file is in the same root level as the web page.
It does not work, I have tested this with prerecorded videos and it works fine, so I thought it should work with 2 live streams also.
I believe one of the issues might be the Stream: test1;test2
in Flash Media Live Encoder 3?
Second related questions:
Also using Dreamweaver CS5 what is the correct setting to stream an FLV with h264?
I also tried mp4:test1.f4v in the stream name but it comes back with anerror that the name is wrong.
any solutions to what I am doing wrong would be appreciated

Thanks for the response.
With respect to the second query I had, I do understand that FLV does not support H264, I just used the term FLV to mention it was a flash video I was refering to rather tahn the codec used.
The first part, I did actually try that option previously, but it still returned an error of "Cannot Connect".
I used the code generated by the FMS dynamic video page to create the video object.
I simply changed it in Dreamweaver to: ( Bold text are my edits to the original. ) The original generated vod instead of live.
<object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/videoPlayer.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynamicStream.s mil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual &dsSensitivity=100&serverURL=dynamicStream.smil&DS_Status=true&streamType=live&autoStart=true'/><embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynam icStream.smil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dy namicStream.smil&DS_Status=true&streamType=live&autoStart=true' type='application/x-shockwave-flash'> </embed></object>
I think something in this code is causing the connection error.
Regards

Similar Messages

  • Captivate 4 : How to stream a video with smil file ?

    I am trying to stream a video hosted on Highwinds CDN. Highwinds provides a web link for every uploaded flv file and does not accept calling the video directly with an rtmp link.
    I have tried to insert flash video using these settings :
    Video Type : Flash Video Streaming Service
    URL : http://hwcdn.net/xxxxx/fms/captivate-swf-to-flv-Cam4-5fps.smil
    When I press detect size, green circle keeps running and cannot get the dimensions.
    Also when I publish the project (AS3 or AS2), video player on the slide does not show up, no video play.
    I have been able to stream above file with smil web link using jw player, so there is no problem with the file and streaming service (highwinds).
    I guess I am doing something wrong with Captivate 4 or Captivate 4 does not handle smil files ?
    What may be a a solution to stream flv video using smil files ?
    Regards,
    Semih

    Hi there
    As you have seen, Captivate 4 introduces a total change in functionality with respect to the way the menu works. Now, all you may do is link to different slides. So this means you have to think a bit outside the box.
    One way to achieve what you are wanting is to create a slide that has as its only purpose, Opening a URL. You assign this action using a new field in the Slide properties. On Slide Enter. Then you point your TOC entry to this slide. Of course this also means you will need to consider what happens after the slide that opens the URL is visited. So you will need to exercise some creativity here.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • [svn:osmf:] 15252: 1) SMILPlugin - SMILMediaGenerator class modified to support both live and vod smil files .

    Revision: 15252
    Revision: 15252
    Author:   [email protected]
    Date:     2010-04-06 16:57:34 -0700 (Tue, 06 Apr 2010)
    Log Message:
    1) SMILPlugin - SMILMediaGenerator class modified to support both live and vod smil files. SMILLoader modified to retain original resource metadata.
    2) AkamaiBasicStreamingPlugin refactored. This includes improved support for all types of streams while the plugin is loaded, added support for plugin metadata that can override built in defaults for a) live stream time out; b) whether or not the plugin should try to reconnect to a live stream if both primary and secondary encoders fail; c) the interval at which the retry should occur.  Added support for resource metadata for specifying connect-level and stream-level auth tokens so that these tokens do not need to be part of the URL (although this is acceptable also).
    3) AkamaiPluginSample app updated to support auth tokens which are not part of the URL (these are passed to the Akamai plugin via resource metadata).
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml
        osmf/trunk/plugins/SMILPlugin/org/osmf/smil/loader/SMILLoader.as
        osmf/trunk/plugins/SMILPlugin/org/osmf/smil/media/SMILMediaGenerator.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/.actionScriptProperties
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/AkamaiBasicStreamingPlugin.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/AkamaiBasicStreaming PluginInfo.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ion.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetConnect ionFactory.as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetLoader. as
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/net/AkamaiNetStream. as
    Removed Paths:
        osmf/trunk/plugins/akamai/AkamaiBasicStreamingPlugin/com/akamai/osmf/events/

  • HT4437 Transmit live video using AirPlay?

    I have a iPhone 4 and iPod and I want to connect them to transmit live video using AirPlay but I dont have it - how do I install Airplay?
    Having real problems finding the answer to this question.
    Thanks
    Roland7

    Hi Roland7!
    Here is an article that can explain this to you:
    iOS: Use AirPlay to wirelessly stream content
    http://support.apple.com/kb/ht4437
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Using .smil files for dynamic streaming in playlists

    I have multiple questions, but I feel I would make more sense to explain my intentions.
    I have a video player with a playlist written with AS3, along with an .XML settings file to edit the playlist.  I can successfully play rtmp:/ streams from my FMS server on the video player.
    Though, I would like to use dynamic streaming using the dynamicStream.smil file with my existing video player/playlist.  Is this a proper approach for what I am trying to achieve?
    Lastly, I have been unsuccessful taking the snippet code from the FMS, Dynamic Streaming sample page, and using it within an HTML document.  I assumed all I would need to change were the paths to where the rtmp:// video file, .smil, and the video player files were located on the FMS.  Any ideas?
    Any help will be greatly appreciated.
    Using: Linux, FMS 3.5, CS4

    But DynamicStream.as is part of the code base and the does get executed.   Jody, which version of DynamicStream.as is more current?   The one that ships with FMS 3.5 or the one in tools?
    Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc.  It seems to work.    Are there any caveats?  I am not switching back and forth between flv-s and smil-s
    It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side.   I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server.  The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works.  Maybe this has something to do with the bit rate.    Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample.  Shame on me for trying to leverage working code shipped with a production version.
    NCManger.as::bitrateMatch()
    if  
    (_streamName != null
    ) {_streamName += _streams[whichStream].src;
    My incling is to change the += above to an = and get on with it.
    If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
    Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
    Thanks to all.

  • Stream live video - use http or rtmp protocols from player code?

    I'm trying to stream live video for the first time. I've installed FMIS 3.5 without Apache 2.2. I'm confused on the RTMP/HTTP protocol usage,
    I can only have port 80 opened on our FMIS 3.5 box.
    1. I've created a new directory under "C:\Program Files\Adobe\Flash Media Server 3.5\applications" called "livedev" as my publishing point.
    2. Question:
         Do I need to copy main.asc, Application.xml, allowedHTMLdomains.txt, allowedSWFdomains.txt to this directory as well?
    3. Question:
         Using FMLE 3 - FMS URL parameter which protocol do I need to use, does it matter 'http' or 'rtmp'? - http://localhost/livedev or rtmp://localhost/livedev
         Does RMTP use port 80.
    4. Question:
         In my Flash Player code. I dragged an instance of FLVPlayback component, what URL do I need for the 'Source' parameter?
         Which protocol do I need to use, does it matter 'http' or 'rtmp'? - "http://localhost/livedev/livestream" or "rtmp://localhost/livedev/livestream"
    Thanks,
    Dave

    A:
    2.  You don't need to copy main.asc unless you have logic in there that you want on your new application.  It's a text file so you can open and read it, get familiar.  allowedDomains is up to your security policy, but if you want it to apply to that application then yes.  Finally the Application.xml in there is an override of the default one in the server's conf directory - so you only need to include it if you plan on overriding settings from the default.
    3.  Chosing which type dictates whether or not you're doing HTTP (not streaming) or RTMP (streaming) however you've added a complication that you're only allowed to use port 80 - which RTMP does not by default.  FMLE doesn't support HTTP push to FMS, so the FMS URI must be fomr form of RTMP* so you're left with some good choices
    Use RTMP over port 80 like so rtmp://myServerName:80/appName/ <- notice the coded port number
    Use RTMPT which automatically uses port 80 and will get around most proxies that demand HTTP traffic - however there's more performance overhead than RTMP (think maybe 25% more overhead for a wild guess on my part)
    I dunno the answer for your FLVPlayback component but I'm going to take a guess that the issue is about the same here and you should use the same parameter that you're using for your RTMP ingest.  At worst I'm pretty sure that it will work and that's not so bad.
    Asa

  • Streaming Live Video using Flash Media Encoder/Flash Media Streaming Server

    We currently get a video feed from local cable channel that gets streamed live to our internet website. It gets encoded first on our Windows 2003 server running Windows Media Encoder and then gets published on another Windows 2003 server running Windows Media Services. We are trying to replace these two servers with another solution and the two things driving this project are:
    1. These two servers are coming to an end of life cycle so we need to replace the hardware and upgrade the OS.
    2. They currently only support Windows compatible file formats. Just like other organizations out there, iPAD users are popping up and they want to view these video streaming from their iPAD.
    That's why we are looking at Adobe Flash Media Encoder3 and Flash Media Streaming Server 4.5. My questions for the experts out there are:
    1. Can Adobe Flash Media Encoder and Adobe Flash Media Streaming Server can replace our current solution?
    2. Do we need both Flash Media Encoder and Flash Media Streaming Server or can Flash Media Streaming Server also can encode video feed?
    3. Can Flash Media Encoder and Flash Media Streaming Server can run on the same server?
    4. Our Windows Media Services server also has few on-demand publishing points along with a live video streaming. Can above mentioned Adobe products support having live streaming publishing point along with on-demand video publishing points?
    5. Does Adobe Flash Media Encoder only support Flash and Quicktime or does it also support .wmv?
    I called the sales to find the answers to these questions but he basically read the features listed on the Adobe product website and couldn't really answer these questions.
    Any help in find the answers to these questions will be greatly appreciated.
    Thanks you.

    FYI - I was able to do it by using the "onFI" handler of the embedded NetStream object.
    myVideo.addEventListener(fl.video.VideoEvent.STATE_CHANGE, onVideoStateChange);
    function onVideoStateChange(evt:fl.video.VideoEvent)
      // trace("State = " + evt.state);
      if ( evt.state == "playing" )
      if (!ns)
      ns = myVideo.getVideoPlayer(evt.vp).netStream;
      ns.client.onFI = onFIHandler;
    function onFIHandler(infoObj:Object):void
      var ts:String = infoObj.st;
      trace("system time: " + ts);
      ExternalInterface.call("updateTimeStamp", ts);

  • How to deinterlace live video using flash as a broadcaster?

    I am trying to replicate the deinterlace functionality that is available in FMLE in a simple flash broadcaster that is hosted on my website.
    I have built a flash broadcaster (using Flash CS4 and AS2) that connects to my FMS server with the aim that people can stream live video to the site. That all works OK; however, I would like to be able to implement a deinterlace option like that which is available in FMLE. Any clues?

    go here: http://www.progettosinergia.com/flashvideo/flashvideoblog2005.htm and scroll until you see the blog entry from the 26th of September.
    There is no direct link to the post.. But the solution he provdes should do the trick.

  • LIVE VIDEO USING MULTIPLE CAMERA

    iam trying live video streaming using Flash lite + FMS3 +
    Flash Media Encoder
    if i use multiple camera how to switch it..?

    Almost every frame grabber displays live images on the screen. I use the
    falcon board and control it by it's dll. I give it a handle to a window
    by LV to show it there. The DLL supports me with a pointer to the pixel
    data as well does IMAQ vision. That's all I need to move a frame into an
    IMAQ picture for further processing.
    Detlef
    Paul schrieb:
    > Does someone know how i can watch a live image from my camera in
    > labview ? i have imaq, but i don't know if i would be easier using an
    > active x component.
    > thanxs
    >
    > --
    > [email protected]
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.

  • I cannot watch live stream from NBC live extra using Safari

    Hi, I have a macbook pro with mountain lion, safari v6.0 and google chrome v21.0.1180.57.
    I cannot watch live stream on nbc live extra in safari, it gave me a black screen, however, I copy the same link and paste in chrome I could watch the live stream with no problem. I checked several threads but still didn't work out.
    Can some one tell me why and how to make it work?
    Thanks,
    Tianyi

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box. Don't use the Safari-only "Guest User" login created by "Find My Mac."
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Recording live video using FME 3

    Hello..
    I'm using flash media encoder 3 to publish livestream to
    clients...
    I heard that using client side code, its impossible to record
    video,.that was for fms2.. i'm using FMS 3.5 is there any added
    feature in fms 3.5 to record video using FME 3..
    If possible please provide any links having exapmles or the
    server side code for recording video from FMS...
    Regards...
    Bijesh

    Thanks a lot for the reply nikhil...
    Im having a client application to initiate the record...
    For that i have to use the client.[function name]..
    i dont want the fme to start the recording in my server side
    code..
    But i'm not getting the H.264 encoded recording,, this is my
    code..
    application.onConnect = function( client ) {
    trace("on connect");
    application.acceptConnection( client );
    client.recordthis = function(streamName)
    trace("starting");
    s = Stream.get(streamName);
    trace("streamname");
    if (s){
    s.record();
    ///////s.play("clientStream");
    // Stop recording.
    //s = Stream.get("serverStream");
    //if (s){
    //s.record(false);
    i changed s=stream.get(mp4:streamName);
    then Fme is showing error while connecting to FMS...

  • Troubles streaming live video using Playbook

    Hi,
    I have Bell's Fibe12 internet and am using their sagemcom f@st 2864 wireless modem.
    My playbook is connected to my wireless network and I can browse the web no problem. However, when I start to stream live tv or radio, it starts to work fine for a little bit (longer with radio) and then starts to freeze up/ become choppy.
    I connected my laptop to the same wireless network and stream the same video no problem.
    Do you think it's the Playbook or something with my WiFi?
    Thanks!

    Unfortunately, the one I use for streaming video is password protected as I am subscribed to it.
    Someone mentioned to me that it has to do with the fact that my router is 2.4Ghz and that the Playbook needs a 5.0Ghz router in order to stream video with no issues.

  • How to write live video to .flv file

    We have an application that sends a live stream to offices in
    different locations. We'd like to capture that stream at the
    receiving end and write it to an .flv file so those who couldn't
    make the live broadcast can see the video on demand.
    Can anyone point me to a link that describes how to capture a
    live audio/video stream with AIR and write it to a local file store
    on the receiving end? We want to store the files remotely rather
    than using a central file store. I've seen how to write text files
    but not .flv's.
    Thanks for any direction you can provide.
    Steve

    There are two solutions here that I see, but one is probably more reasonable than the other.  Without the use of a streaming media server, you can't really record video/audio.  However, the FLV spec is open source and you can accomplish a "recording" by writing bitmap data bytes to a flv file (using the open source spec).  This won't capture the audio though, and you can't do that without a streaming server.  Also, if you're recording long videos, chances are the writing will either make your application unresponsive/crash it, or the saving time if you broke it down to manageble chuncks would take forever.
    The second option, probably what you want, is a streaming server.  Whether it be Red5, Wowza, FMS, etc, you'll be able to accomplish what you want, and it should be fairly easy.  All be it much more expensive.  For what you're describing though, recording live streams, it is probably the most likely approach.

  • Streaming of Music and Videos using iCloud

    I  have been ripping all my CD collection and my DVD collection to be able to play it on iPhone, iPad and iPod. Now with iTunes being in the cloud I was wondering if it is possible to stream both my Music and my Videos directly from the cloud to my appletv. Anyone who knows that? Would be great to see my movies without starting a mac and then streaming it via airplay...
    //Roland

    Now with iTunes being in the cloud I was wondering if it is possible to stream both my Music and my Videos directly from the cloud to my appletv.
    The good news is that AppleTV does support iTunes Match.  It is also the only iOS device that will only stream content from iTunes Match - it has to, since the most recent model really doesn't have local storage.  I have an AppleTV and I use iTunes match all the time.  Just be aware that not every music file will be deemed eligible, so if you have low-bitrate songs, or songs in a format that iTunes Match isn't set up for, they will be deemed ineligible.  There are work-arounds for this which basically involve making a copy in a format Apple likes.  For most people that just means making an AAC copy within iTunes and running Match again.
    The bad news is that the only music videos eligible for iTunes match are those that during the matching process, are identified as (1) being purchased from the iTunes store and (2) still available in the store.  Music videos in general, as well as movies and audio books are not eligible for the service and after iTunes match has scanned your library, will be identified by a cloud with a strikethrough.

  • PE11 create video using MTS files - best conversion?

    Hi,
    I have been using iMovie 11 for a couple of years now but have noticed lately that the quality of my new video camera footage has become very grainy and a major loss of quality compared to the original MTS files i have - especially when someone is wearing black you can see how grainy the video becomes.
    My video camera is a panasonic sd-80 which creates MTS files.
    I have decided to give PE11 a go and my question is - what is the best video output for me to create without loss of quality?
    I am using a Dell XPS8500, 8GB Ram, 3rd Gen i5. 
    The final file would be used to watch on a pc or stream on PS3.
    Thanks,

    Probably the best output for your PS3 would be a BluRay disc -- although you can only burn a BluRay if you've got a BluRay disc burner on your computer. You could, however, burn BluRay files to a DVD for your PS3 if your video is under 20 minutes long by using Publish & Share/Disc/AVCHD with the 4.7 gig preset.
    For viewing on your computer, I'd recommend you use Publish & Share/Computer/AVCHD with the YouTube HD preset. This will produce an MP4 that should be virtually identical to your original video in quality.

Maybe you are looking for

  • Get an error message trying to access a remote PC over the internet on Mac

    At work we have a remote web work place. I can get into the site but when I try to access the link to the computer list the message below is displayed. Error Message: This portion of the Remote Web Workplace requires the Microsoft Remote Desktop Acti

  • Bug in QuickTime 7.3.0

    A bug in QuickTime 7.3.0 in conjunction with Safari (both 2+ and 3.0.4.) Now only movies outside restricted areas are viewable, after downloading QT 7.0.3 when i try to play movies in a password protected area they dont play, no broken QT logo, just

  • JDBC Communication channel error

    Hi All, I am facing a problem with JDBC channel. We have depolyed the New JDBC driver called SQLSERVER2005 and also in JDBC channel i have changed to the server name and port, because we have new server details now. But still channel is getting into

  • How can i create my own apps on iPhone ?

    Dear all Plz how can i create my on apps and publish it on app store ? (From my iphone ) not from mac devise Regards

  • Modeler Error TSV_TNEW_PAGE_ALLOC_FAILED

    Hi Experts, We have a problem in BI Modeler (RSPLAN) when we try to execute a planning "function" type "forecast" method "average and moving average", the complete error is "No more storage available for extending an internal table; error key: RFC_ER