FMS Flex Live - simple

Does any one have a example (simple) of flex grabbing video
and playing it while using flash media server? . Looking to learn
this a little better. The LiveDocs aren't much help.
http://flash-communications.net/technotes/fms2/flex2FMS/index.html
I have gone through the all action script example of flex2FMS
but I
can not figure out how to take out the local video part.
ie localVideo = new Video(160, 120
ie instream
Or how to add that to any other application.
Thanks in advance for your help, or any direction.

The problem is, you need a clientside technique to encode the video-chat-stream with a useable codec, cause the client/user have to upload this video(chat)-stream to the server, mostly with a small user bandwidth.
Actually flash supports only this standard codec for encoding the user video input, wich requires a high bandwith and represents still a real bad quality.
Thats a bad fact for adobe, cause this should be natural for such an "media software/system".
Anyway, someone has a solution for encoding the clients webcam input with a common codec before streaming to the media-server?

Similar Messages

  • Streaming from a FMS to another FMS (Youtube live)

    Hello.
    I need to stream some videos from a Flash Media Server (for example on Amazon Cloudfront or other servers) to the Adobe Flash Media Server of Yoube live (via a rtmp protocol).
    How can I do this but first of all: is it possible?
    Thank you very much.

    This is my first flash application so I am very confused.
    This is my main.asc  content:
    application.onStatus = function (){
    serverNC = new NetConnection();
    serverNC.connect("rtmp://rtmp1.youtube.com/videolive?sparams=...../youtubestreamname");
    serverNS = new NetStream(serverNC);
    serverNS.attach(sample);
    serverNS.publish(sample.name,"live");
    This is my FMS directories:
    And this is my panel on the server:
    What can I do?

  • Flex live Video Encoding

    Hai.
    I am developing a video chat application in flex. Can anbody
    help me in the video encoding part?
    I need the video to be encoded using ON2VP6 or H264 to get a
    better quality. How it can be done live using flex?
    Thanks,
    VivekVijayan

    The problem is, you need a clientside technique to encode the video-chat-stream with a useable codec, cause the client/user have to upload this video(chat)-stream to the server, mostly with a small user bandwidth.
    Actually flash supports only this standard codec for encoding the user video input, wich requires a high bandwith and represents still a real bad quality.
    Thats a bad fact for adobe, cause this should be natural for such an "media software/system".
    Anyway, someone has a solution for encoding the clients webcam input with a common codec before streaming to the media-server?

  • Experienced FMS / Flex developer

    Hi,
    I need to add somebody on my team who is knowledgeable with FMS and Flex.
    You also need to know about RTMFP in the new FMS 4 (Enterprise) and/or Cirrus.
    Knowledge of PHP and MySQL are important, and how to effectively communicate with Flex/PHP.
    Email me to discuss further (more about the project, hourly rate etc.); chicohuman at hotmail.com
    Thanks

    This is not an appropriate forum for job postings.

  • Need a developer to work with me - FMS/Flex/RTMFP/RTMP etc.

    Hi,
    I already own a video chat website that uses strictly Stratus (RTMFP), as you may already know, the connections between the peers are not always stable, as in people don't always connect to each others.
    From my past programmer's opinion, it was because of Stratus, he is sure his coding is good.
    With the release of FMS 4, which includes RTMFP, my plan is to modify my website so it works with FMS 4 Enterprise Edition, which I will be purchasing.
    I want to combine both RTMP and RTMFP in the connections between the peers.
    There are also a lot of improvements to come for my website, which is all about Flex/FMS/php/MySQL.
    If you want to be the first to take part in a project that's going to be very big because of :
    1. The opportunities that FMS 4 offers us;
    2. The motivation I have, and that you should have!
    3. The resources I have to keep growing effectively.
    So, if you are competent with this type of programming project, please reply and contact me
    Thanks,
    Dany

    http://www.adobe.com/products/flashmediaserver/helpmechoose.html
    If this is correct the RTMFP peer introduction services is available only to the Enterprise version, FMIS support RTMFP and IP unicast only, means communication is only betweend Client and FMIS possible but no peer2peer. I'm not a FMS Guru, but I think you can't replace with FMIS the Stratus service for a application as Webcam chat and if you use FMIS for it without Stratus you need to provide the needed bandwith.
    If I have missunderstand I would be happy, this will save for me many bucks :-)

  • Does FMS support live stream switching

    I read a blog article (
    http://www.peachpit.com/articles/article.aspx?p=665127)
    talking about switching between different bit rate video streams of
    the same video content on fly. But I can not find such ability in
    RTMP's specification. I am wondering if such function has to be
    implemented by users with ActionScript? Thanks!
    Yue

    Yes FMS does support live stream switching but its not at protocol level hence you are not finding it in RTMP specification.
    please read details about it here:
    http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d5 6e-7fea.html
    Hope you find it useful.

  • 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>

  • Custom (non RTMP) FMS live video feed

    Is there a way to feed the FMS with live video created by
    custom software that does not 'speak' RTMP? How can that be
    accomplished?

    No so far , I guess.

  • Live feed for FMS

    Hi,
    Is there any way to publish in FMS a live stream not coming
    from a web cam or any other hw device.
    I'm interesting in knowing if there is a public API that
    enables the insertion of a feed from a stream buffer generated by
    an external software running in the same host where FMS is located
    Thanks in advance

    Ido,
    It is rather easy to capture the Camtasia "web" cam and
    publish to FMS. Listed below are the high level steps necessary.
    Create Flash application with below scriptlets
    -- _nc = new NetConnection("rtmp://yourConnection")
    -- m_ns = new NetStream(__nc)
    -- var cam:Camera = Camera.get(getLiveCamera());
    -- function getLiveCamera():Number {
    for (var i:Number = 0; i < Camera.names.length; i++) {
    if (Camera.names
    == "Camtasia Studio Video Capture Driver") {
    return i;
    } else {
    return null;
    -- m_ns.attachVideo(cam);
    -- m_ns.publish( "_Stream");
    Run Camtasia Recorder
    -- Set Enable Live Output under Live Tab.
    -- Set Live Capture Rate.
    -- Set additional parameters as required.
    -- Start recording.
    Hope this helps out...
    Shack

  • Feasibility of Live Streaming using FMSS 3.5

    Is Live Streaming Feasible using FMSS 3.5 on a web portal which is developed using J2EE?

    Yes very much - there is no correlation between technology one uses developement for web  portal and FMS - its just simple thing that you relevant we pages should embed  necessary swf client which will take responsibility of communicating with FMS

  • HDS streaming not working on FMS 4.5. HLS is!

    Hi. I would appreciate someone's help with this problem. I am streaming from FME to FMS a live stream. The streams plays fine on iOS and Android devices, but on a web based flash player, it does not.
    The web test I'm doing is on http://www.osmf.org/configurator/fmp/# with the URL: http://127.0.0.1/hds-live/livepkgr/_definst_/liveevent/videostream02.f4m
    The URL I use for iOS is: http://127.0.0.1/hls-live/livepkgr/_definst_/liveevent/videostream02.m3u8
    What could be the problem?
    Thanks.

    Here's what I got from the error log:
    [Thu Dec 20 14:41:01 2012] [error] mod_f4fhttp [400]: Mjc5NTUwMDY2NA=.stream is an invalid file.Bootstrap path incorrect in stream file.
    [Thu Dec 20 14:41:01 2012] [error] [client XXX.XXX.XXX.XXX] File does not exist: C:/Program Files/Adobe/Flash Media Server 4.5/webroot/hds-live, referer: http://www.osmf.org/configurator/fmp/
    Here's the config:
    <Location /hds-live>
        HttpStreamingEnabled true
        HttpStreamingLiveEventPath "../applications"
        HttpStreamingContentPath "../applications"
        HttpStreamingF4MMaxAge 2
        HttpStreamingBootstrapMaxAge 2
        HttpStreamingDrmmetaMaxAge 2
        HttpStreamingFragMaxAge -1
        Options -Indexes FollowSymLinks
    </Location>

  • FMS edge hybird mode

    I need help to setup FMS edge can stream video from a FMS-core (or from other FMS-edge). configuration diagram:
    FMLE ==> FMS-core ==> FMS-edge ==> users.
    on FMS-edge i have a application on
    C:\AMS\applications\myapp
    if i did not change anything in Vhost.xml file (path: C:\AMS\conf\_defaultRoot_\_defaultVHost_\Vhost.xml). The myapp application is ok, but can not see the video stream rtmp://FMS-edge/live/livestream.
    if i change Vhost file:
    <Proxy>
                        <Mode>remote</Mode>
    <RouteTable protocol="">
                                  <RouteEntry>FMS-edge:1935;FMS-core:1935</RouteEntry>
    Then video stream is ok but application don't.
    In this case, setup FMS-edge hybird mode. 1 Vhost setup as local mode to serve myapp application, and 1 Vhost setup as remote mode to serve streamming video from FMS-core, right?
    Tony

    hey one541_,
    i believe for you to be gettiing .proxy files you must be having disk caching enabled. These are created to handle process mutex.  These files get removed as soon as fms shuts down. If these are not getting deleted maybe you are not shutting the edge server (in the edge origin configuration) down properly or you are not shutting down at all.

  • Configure VBrick encoder to work with FMS

    I'm wondering if anybody knows of a guide or a step by step process for configuring a VBrick HS.264 encoder to send video to my FMS for live broadcast.  I'm experiencing issues configuring the Transmitters on the VBrick admin panel and unsure how to have FMS recognize the video stream to publish it.
    Any help or assistance would be greatly appreciated.  Has anybody used a VBrick encoder with FMS?
    Thank you,
    Gregory Wilson

    I have never used VBrick Encoder but i did some search and came across this page : have a look at it - it might be helpful:
    http://www.vbrick.com/documentation/VEMS/v52/VEMSAdminGuide/wwhelp/wwhimpl/common/html/wwh elp.htm#context=VEMSAdminGuide&file=MCS_2_Global_Settings.html
    Though it talks about Wowza server - same thing should work for FMS.

  • How to secure Flash Media Streaming Server 3.5 (live stream connection)

    I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.
    All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?
    How can I setup the server to require a user and password to stream live media to the server?
    Any help would be great, I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.
    I am using the Adobe FMS Apache install, what files need changing?
    I have the following files:
    /opt/adobe/fms/applications/live
    total 44
    -rwxr-xr-x 1 fms fms 1035 Jul 27 14:52 allowedHTMLdomains.txt
    -rwxr-xr-x 1 fms fms  992 Jul 27 14:52 allowedSWFdomains.txt
    -rwxr-xr-x 1 fms fms 1550 Jul 27 14:52 Application.xml
    -rwxr-xr-x 1 fms fms 4371 Jul 27 14:52 main.far
    -rwxr-xr-x 1 fms fms 2292 Jul 27 14:52 readme.txt
    I want to lock down a person from connecting to the server on the public internet and starting a live stream?
    Can this be done with a user name and password?

    If you are concerned about anyone starting publishing to your stream then we have security update on this. Please upgrade to 3.5.4 and now you can use FMS Authentication Add-in (used with FMLE as publisher). If you are facing problems with publisher which are not FMLE, please enable SWF Verification so that only valid SWF's connect to your FMS.
    You can find 3.5.4 update here : http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
    You can find FMS Authentication Add-in on FMLE Download page: https://www.adobe.com/cfusion/entitlement/index.cfm?e=fmle3 (when you click on Agree - it will prompt for your Adobe ID - then when you reach Download page - you will get Optional Download of Authentication Add-in)

  • Can storing a live stream using actionscript fail by the cache filling up with overhead?

    Hi,
    Lately we have been seeing a problem with the archives of live streams we create using FMS. We use FMS for live streaming and concurrently store the stream in a file using ActionScript. We use the following code to record:
    var s2 = Stream.get('mp4:' + mp4name);
    application.publishedStreamMP4= s2;
    application.publishedStreamMP4.record();
    application.publishedStreamMP4.play(application.publishedStream.name,-1,-1);
    (some lines have been removed that are used for logging, etc).
    Sometimes some of these functions fail and return false. In these cases FMS's core log shows that the cache is full:
    2013-06-11 11:45:55        13863   (w)2611372      The FLV segment cache is full.  -
    In investigating this issue I have not yet been able to recreate this exact situation. By lowering the cache to 1MB I have however been able to create a situation where storing a stream can stop because the cache is full. The situation occurs as follows:
    * The server is restarted, the cache is empty.
    * A live stream is started, which is also recorded.
    * Via the Administration API the cache values <bytes> and <bytes_inuse> show to be exactly the same as the <overhead> of the object that relates to the file being saved. The <bytes> and <bytes_inuse> values of the object are 0.
    * This continues in the same way untill the cache is full.
    * When the limit of the cache is reached the message
    2013-06-11 12:07:35        13863   (w)2611372      The FLV segment cache is full.  -
    is shown in the core log and storing of the file stops. The instance log also show status changes:
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.NoAccess Level: status Details:         -
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.Stop Level: status Details:     -
    In the filesystem I can confirm that the last change of the file is on this moment (in this case 12:07). The live stream continues without problems.
    I have reproduced this several times. Though I can understand that caches can fill up and this can cause trouble I feel like this situation is a bug in FMS. The cache fills up with overhead, which is apparently reserved untill writing the file ends.
    I hope someone here can help out. Has anyone seen a situation like this and is there any remedy for it? Or even a workaround where this overhead in the cache can be released so the cache does not fill up?
    We use FMS version 4.5.1.

    You can use an XML socket, but the FMS application will need to initiate the connection, as FMS has no support for listening for anything other than RTMP and HTTP requests.
    Stream switching can happen on the FMS side. In your FMS application, you'll create a server side stream, and use the Stream.play method for playing other sources (live streams or recorded flv/h.264 files) over that stream. Your subscribers will connect to the server side stream
    See the FMS docs for the Stream class and the XMLSocket class.

Maybe you are looking for

  • Need mapping info...

    I have a new project coming up where I will need display a terrain map of a given area, track movement of vehicles in that area (data coming from GPS system w/ JNI interface) and be able to mark certain areas (polygonally) as "known" or "unknown" are

  • What are the Exists are available after saving purchase order

    Actually My requirement is, When I am clicking on Save button of purchase order, it should send a mail to some person. I know the procedure sending mail through ABAP. But, I don't know where exactly I have to incorporate that code. Please help findin

  • Count zero - in query

    Hi Friends.. Please help me to fix this issue.. Query requirement is to find out the number of lines where the time effort is zero. Row        Column1     Column2 Group      Time effort  Count = 0 If a create a formula with DELTA(time effort) then on

  • A Question for ASSM Experts

    Hello, Oracle version 10.2.0.4 Block size 16k I have a locally managed tablespace, with uniform extent size of 128k and SSM set to AUTO. My tablespace is called rj_test_X128K in the following test: dba@TEST> create table dba.rj_del_ins_test   2  tabl

  • Error message when downloading an E-book

    NVM-- I fixed it myself.. I was right in my thougt.. i erase my authorization and reauthorization it.. Now i can download my book. I keeping get this error message - Do i need to reauthorize my computer?