Frames Missing When publish live video to fms server

I am creating flex mobile application , that allows people to connect using a android camera and microphone,then recording video from android camera to Flash Media Server(FMS) 5 starter using adobe flex but when I play the recorded live video from FMS it's missing some frames. I have set the camera.fps to 30 but when I trace out the currentFPS for camera  30 and  netStream's currentFPS  returns low value, usually falls between 2 and 5 (high 1280X720),15 and 20(medium 640x480),25 and 30(low 320X240).where netStream is the object of the flash.net.NetStream class

Hi
I think this would be useful to you.
http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html#WSd391de4d9c7bd609-52e437a812a3725dfa0-7ff5

Similar Messages

  • Publish live video & play

    Hi all, i use the code below to publish my cam, and i can play it in the same application. Then i copy and renamer it videoPlayer2.as then i use
    displayPlaybackVideo(); method but it says "TypeError: Error #1009: Cannot access a property or method of a null object reference.". How can i get the published live video from another app.
    Thanks..
    videoPlayer.as // publish and play
    package
         import flash.display.MovieClip;
         import flash.net.NetConnection;
         import flash.net.NetStream;
         import flash.media.Camera;
      import flash.media.Microphone;
         import flash.media.Video;
         import flash.events.NetStatusEvent;
      import fl.video.FLVPlayback;
         public class videoPlayer extends MovieClip
                var nc:NetConnection;
       var ns:NetStream;
       var nsPlayer:NetStream;
       var vid:Video;
       var vidPlayer:Video;
       var cam:Camera;
       var mic:Microphone;
               public function videoPlayer()
                    nc=new NetConnection();
                    nc.connect("rtmp://localhost/video");
                    nc.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);    
               function onNetStatus(event:NetStatusEvent):void
          trace(event.info.code);
           if(event.info.code == "NetConnection.Connect.Success"){
               publishCamera();
               displayPublishingVideo();
               displayPlaybackVideo();
         function publishCamera() {
            cam = Camera.getCamera();
        cam.setMode(160,120,15);
        cam.setQuality(100000,0);
           mic = Microphone.getMicrophone();
           ns = new NetStream(nc);
           ns.attachCamera(cam);
           ns.attachAudio(mic);
           ns.publish("myCamera", "record");
      function displayPublishingVideo():void {
       vid = new Video(200,200);
       vid.x = 10;
          vid.y = 10;
          vid.attachCamera(cam);
          addChild(vid); 
      function displayPlaybackVideo():void{
          nsPlayer = new NetStream(nc);
          vidPlayer = new Video(200,200);
       nsPlayer.client=this
          nsPlayer.play("myCamera",-1,-1);
       vidPlayer.x = cam.width + 80;
          vidPlayer.y = 10;
          vidPlayer.attachNetStream(nsPlayer);
          addChild(vidPlayer);

    if i publish camera in videoPlayer2, displayPlaybackVideo() method is working, but i cannot catch the video whichs is published from videuPlayer.as.
    thanks
    //videoPlayer.as
    package
         import flash.display.MovieClip;
         import flash.net.NetConnection;
         import flash.net.NetStream;
         import flash.media.Camera;
      import flash.media.Microphone;
         import flash.media.Video;
         import flash.events.NetStatusEvent;
      import fl.video.FLVPlayback;
         public class videoPlayer extends MovieClip
                var nc:NetConnection;
                var ns:NetStream;
                var nsPlayer:NetStream;
                var vid:Video;
                var vidPlayer:Video;
                var cam:Camera;
                var mic:Microphone;
               public function videoPlayer()
                    nc=new NetConnection();
                    nc.connect("rtmp://localhost/video");
                    nc.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);    
               function onNetStatus(event:NetStatusEvent):void
          trace(event.info.code);
           if(event.info.code == "NetConnection.Connect.Success"){
               publishCamera();
               displayPublishingVideo();
               displayPlaybackVideo();
         function publishCamera() {
            cam = Camera.getCamera();
        cam.setMode(160,120,15);
        cam.setQuality(100000,0);
           mic = Microphone.getMicrophone();
           ns = new NetStream(nc);
           ns.attachCamera(cam);
           ns.attachAudio(mic);
           ns.publish("myCamera", "append");
      function displayPublishingVideo():void {
       vid = new Video(200,200);
       vid.x = 10;
          vid.y = 10;
          vid.attachCamera(cam);
          addChild(vid); 
      function displayPlaybackVideo():void{
          nsPlayer = new NetStream(nc);
          vidPlayer = new Video(200,200);
       nsPlayer.client=this
          nsPlayer.play("myCamera",-1,-1);
       vidPlayer.x = cam.width + 80;
          vidPlayer.y = 10;
          vidPlayer.attachNetStream(nsPlayer);
          addChild(vidPlayer);
    //videoPlayer2.as
    package
         import flash.display.MovieClip;
         import flash.net.NetConnection;
         import flash.net.NetStream;
         import flash.media.Camera;
         import flash.media.Microphone;
         import flash.media.Video;
         import flash.events.NetStatusEvent;
         import fl.video.FLVPlayback;
         public class videoPlayer2 extends MovieClip
                var nc:NetConnection;
                var ns:NetStream;
                var nsPlayer:NetStream;
                var vid:Video;
                var vidPlayer:Video;
                var cam:Camera;
                var mic:Microphone;
               public function videoPlayer2()
                    nc=new NetConnection();
                    nc.connect("rtmp://localhost/video");
                    nc.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);    
               function onNetStatus(event:NetStatusEvent):void
                    trace(event.info.code);
                     if(event.info.code == "NetConnection.Connect.Success"){
                          displayPlaybackVideo();
           function displayPlaybackVideo():void{
                    nsPlayer = new NetStream(nc);
                    vidPlayer = new Video(200,200);
                    nsPlayer.client=this
                    nsPlayer.play("myCamera",-1,-1);
                     vidPlayer.x = cam.width + 80;
                     vidPlayer.y = 10;
                    vidPlayer.attachNetStream(nsPlayer);
                    addChild(vidPlayer);

  • Publish Live stream to FMS on RTMPE protocol

    Hi,
    I am trying to publish Live Stream to FMS using FMLE or third party encoders.
    Is it possible to have RTMPE or RTMPTE protocol used between encoder and FMS?
    Very urgent.
    thanks,
    Pooja Jain

    FMLE can only publish via rtmp or rtmpt.

  • Why does Premiere 7.0 crash when capturing LIVE video and audio?

    Why does Premiere 7.x Creative Cloud Crash when capturing live Video in about 10 minutes.

    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

  • Video flickering when published live from camera

    I am getting flickered image when published from live camera.
    Settings done for view of flash player in html page and settings done before publishing in actionscript is as follows:
    setting in HTML:
    size of flash player object in html page is 240*180
    setting in actionscript:
    stage size is 216*162
    size of video component is 216*162
    camera.setMode varies as:- camera.setMode(160,120,6) //////////////in this case there is a flickering
                                                 camera.setMode(320,240,8) //////////////in this case there is a flickering
                                                 camera.setMode(640,480,2) //////////////in this case there is no flickering.
    Now what I have tried to resolve the issue:
    1) changed the size in html to 320*240
    2) set the stage size to 320*240
    3) size of video component to 320*240
    I have tried all permutations for the above three scenario but still not got the solution.
    I have also tried to make the size of video component as per the camera height and width respectively, with/ without altering the size of stage, still no success.
    Please help.
    Thanks in advance
    Nitesh

    first thing to try is to upgrade your video driver.  if the issue still persists, please enter a bug here: https://bugbase.adobe.com/index.cfm
    please attach your dxdiag info in the bug - http://kb2.adobe.com/cps/839/cpsid_83952.html#main_For_Windows_users

  • Video Freezes when overriding flv files on FMS server

    I have an flash application that captures a web cam video stream and stores it on the FMS server.
    I notice when I create a brand new video, and store it on my FMS server, it works fine.
    When I make another video and my application overrides the file with the new video, this is where I get problems.
    When I download the flv file from the FMS server, and I play it locally it plays fine, but the timeline is weird.
    The web player freezes the video during that first 15 seconds.
    A 30 second video, will have a time line of like 45 seconds, the local flv player is smart enough to skip over the paused part of the video.
    You will see it skip over the timeline to the good video (from 0sec to 15 secs).  The web player freezes the video during that first 15 seconds.
    Any clues that I described that makes you know what is going on?

    Great that gives me a big clue, which asc file do you think I need to look in?
    /mnt/applications/livepkgr/main.asc
    /mnt/applications/multicast/main.asc
    /mnt/applications/live/MemberClips/MemberClips.asc
    /opt/adobe/fms/samples/applications/vod/main.asc
    /opt/adobe/fms/samples/applications/livepkgr/main.asc
    /opt/adobe/fms/samples/applications/multicast/main.asc
    /opt/adobe/fms/samples/applications/live/main.asc
    /opt/adobe/fms/scriptlib/framework.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchema.asc
    /opt/adobe/fms/scriptlib/webservices/SOAP.asc
    /opt/adobe/fms/scriptlib/webservices/Namespace.asc
    /opt/adobe/fms/scriptlib/webservices/ServiceManager.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchemaDataTypes.asc
    /opt/adobe/fms/scriptlib/webservices/Log.asc
    /opt/adobe/fms/scriptlib/webservices/XMLUtil.asc
    /opt/adobe/fms/scriptlib/webservices/SOAPConstants.asc
    /opt/adobe/fms/scriptlib/webservices/WSDL.asc
    /opt/adobe/fms/scriptlib/webservices/WebServicesClass.asc
    /opt/adobe/fms/scriptlib/webservices/WSDLConstants.asc
    /opt/adobe/fms/scriptlib/webservices/WebServices.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchemaConstants.asc
    /opt/adobe/fms/scriptlib/netservices.asc
    /opt/adobe/fms/scriptlib/application.asc
    /opt/adobe/fms/scriptlib/facade.asc
    /opt/adobe/fms/applications/MemberClips/MemberClips.asc
    /opt/adobe/fms/documentation/samples/livestreams/main.asc
    /opt/adobe/fms/documentation/samples/StreamLength/main.asc
    /opt/adobe/fms/documentation/samples/HelloWorld/HelloWorld.asc

  • 2 out of 6 imported flv files pausing on frame 1 when published

    Hi,
    I have six Scenes, each scene has an imported FLV file.
    I have a 6 button menu that works fine when clicking from one scene to the other.
    The problem is is that videos 1 to 4 play fine when I switch to the scene, but FLV files 5 and 6 just stay paused at frame 1.
    If I test the Scene using Ctrl+ALT+Enter, the Scenes work fine.
    But Only if I either hit Ctrl+Enter to render the whole project, or if I publish the file, do the FLV files pause on frame 1.
    All 6 videos are coded exactly the same way.
    Any suggestions please?

    I'm wondering now if it some sort of memory thing or SWF limitation thing
    The Scenes are Lessons 1 to 6
    If I publish the SWF, then Lessons 1 - 4 play fine, 5 and 6 just sit at their frame 1 as if paused.
    If I move the scenes around to say: Lessons, 5, 6, 1, 2, 3, 4
    then 5, 6, 1 and2 play but now 3 and 4 are paused.
    so it seems it affects the last 2 of the six scenes.
    any one got any idea on why this might be happening?

  • Increasing bandwidth while publishing live video

    Hi all,
         I have made a sample application for publishing video through FMS using as3.
         In that I had used the same code as given in the sample provided by the adobe,
         m_nc = new NetConnection("rtmpt://localhost:1935/Test");
         private function onNetStatus(event:NetStatusEvent):void
         switch (event.info.code)
        case "NetConnection.Connect.Success" :
         m_ns = new NetStream(m_nc);    
         m_nsPlayer = new NetStream(m_nc);
         m_nc.call("checkBandwidth", null);
           var camName:String = setCamera();
          if(camName == "null")
             trace("Sorry! No Camera found");
             break;
                if(camName == "NoWebCam")
                     if(ExternalInterface.available)
                      ExternalInterface.call("CameraNotFound");
                     break;
               var micIndex:int = setMicrophone();
               if(micIndex == -1)
                trace("Sorry! No Mic found");
                break;
               publishCamera(camName,micIndex);
               displayPublishingVideo();
              break;
    private function publishCamera(camName:String,micIndex:int):void
       m_cam=Camera.getCamera(camName);
       switch(m_resolution)
        case "160x120" : m_cam.setMode(160,120,15);
         break;
        case "320x240" : m_cam.setMode(320,240,15);
         break;
        case "640x480" : m_cam.setMode(640,480,15);
         break;
        default      : m_cam.setMode(320,240,15);
         break;
       m_cam.setQuality(0,85);
       if(micIndex != -1)
        m_mic=Microphone.getMicrophone();
        m_mic.codec = SoundCodec.SPEEX;
        m_mic.setUseEchoSuppression(true);   
        m_mic.setLoopBack(false);
        m_mic.setSilenceLevel(20);
        m_ns.attachAudio(m_mic);   
       m_ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
       m_ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
       m_ns.attachCamera(m_cam);
       m_ns.publish(m_publishName, "live");
       stage.addEventListener(MouseEvent.CLICK, onStageClick);
    The above was the sample code just for publishing the video.
    The similar code for viewing the published video was written
    private function displayPlaybackVideo(publishName:String,muteSound:String):void
         m_nsPlayer.bufferTime = 0.6;
       m_nsPlayer.addEventListener(NetStatusEvent.NET_STATUS,onstatus);
       m_vidPlayer.height = 480;
       m_vidPlayer.attachNetStream(m_nsPlayer);
       addChild(m_vidPlayer);
       m_isVideoChildAdded = true;
    now after writing code I launched the application and started analyising the server console.
    The server console shows the regular increament in bandwidth which hampers my video publish after 8-10 minutes resulting in stuck of video.
    So, please help me in resolving the problem.
    Thanx in advance.

    hi.
       yes, publish of video stops as well as connection also gets loss, due to increase in http ISA limit.
    Please help.
    Thanks

  • Animations missing when published in Captivate 6

    I have Captivate 6.
    Imported 4 animations (Flash swf) on different slides.
    When published, one might appear - the others are not there. Return to the prior slide that displayed the animation only to see that it is gone as well.
    I've done this in the projects and this did not occur.
    The only difference is the file is bigger (over 20 slides w/4 imported animations that range from 3-20 frames each in Flash).
    Is there a fix?

    I have Captivate 6.
    Imported 4 animations (Flash swf) on different slides.
    When published, one might appear - the others are not there. Return to the prior slide that displayed the animation only to see that it is gone as well.
    I've done this in the projects and this did not occur.
    The only difference is the file is bigger (over 20 slides w/4 imported animations that range from 3-20 frames each in Flash).
    Is there a fix?

  • Publish live stream to FMS on HTTP protocol

    Hi,
    I want to use customised encoder to publish live steams to a FMS4.5 server?
    Is it possible to connect encoder and FMS4.5 server on HTTP protocol?
    i read in other articles FMLE can connect to FMS on RTMP protocol.
    Very urgent.
    thanks,
    Pooja Jain

    Hi
    I think this would be useful to you.
    http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html#WSd391de4d9c7bd609-52e437a812a3725dfa0-7ff5

  • Button effects missing when published?

    Button beval and drop shadow are missing in PUBLISH but showing up in PREVIEW.
    ( here's the page, scroll down to submit http://anitaadamski.businesscatalyst.com/index.html )

    Hi folks,
    Couple of things....
    If you want to knock out the background in Photoshop and transfer that image (knocked out) to iWeb you'll need to save the file as a 'transparent' png file. In Photoshop select save for web • select png 24 • check the transparent box. Voila. drag that file into iweb and you'll have a knocked out image.
    Also, for those experiencing quality problems, while not necessarily easy or ideal, convert your images to flash and post according to the very good instructions found here ( http://web.mac.com/catucker/InsideOutside/iWeb.html ).
    Flash images don't suffer the same fate as 'regular' jpegs. The quality you'll get will rival what you see in Photoshop et al.

  • Need to send a email alert to Projectmanger when publishing a project in project server 2010 PWA site

    Hi All
    When creating and publishing a project in PWA(server 2010) need to send a mail alert to the concerned project manager.
    How can i achieve this..
    I have configured the outgoing mail sending in sharepoint and its working fine now.
    Please help me..
    Thanks Advance
    SharePoint Module Lead Assyst International Private Ltd Cochin India

    Nothing is built in Project Server to do this for you automatically.
    They way I have done this in the past is to create a SQL job using SSIS.  It runs every hour and when it sees a project schedule that has a recent PUBLISHED date then this is a trigger to send an email to project manager.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Live streaming to FMS server from analog cable?

    Need to stream an analog cable signal (may consist of 60-70
    channels in VL and VHF)to FMS server. im doing a small scale
    project. so i want some hardwares supporting these. please suggest
    me some reasonable ones..
    is it possible to do the same with a tv tuner card.?

    For HLS streaming, only aac/heaac are supported audio codec. Though FMS do not disallow packaging mp3, but its mostly depnds upon ios devices to play back them.. We don't recommend mp3 as codec for ios playback.
    Thanks

  • Slides missing when published to avi - HELP!!

    Hi there
    I've got a huge problem that I jsut can't fix - for two of my Captivate 4 projects, there are whole batches of slides missing (12 in a row is the worst case) when I publish the project as an AVI
    I've been working on 12 seperate projects, each containing between 10 - 50 slides, with some audio, FMR and text captions (basically, nothing too complex, as I'm a first time user).
    For at least two projects, when I publish to AVI (full frames, uncompressed), the videos just miss whole seconds of footage - there is no gap or silence, and the footage just continues from, say, slide5 straight into the second half of slide14 without a pause or noise.
    The project is PERFECT when previewed fully, and when it plays and records itself before the publishing begins. Infact, I've exported it before with no issues.
    Any ideas what's going on? Are they just corrupted?
    I've tried re-importing the audio on the missing slides, adjusting the slide durations slightly, and basically fiddled with them, but each time I publish, the missing gap is EXACTLY the same.
    the only thing I can think of is that I recently copied the whole project folder (with all the linked audio copied over into the same folder directory) from my network drive to my local drive. But as I said, I have other projects that have no, or only insignificant issues during publishing and they were also copied over in the same way.
    Tearing my hair out with Captivate at the moment!!
    Any help much appreciated!!

    I've experienced this type of frustration publishing to SWF format in Captivate 3 which, of course, cannot export to AVI format. I don't know if the solution I've tried will work in Captivate 4, but it's worth a shot.
    It was definitely a glitchy thing in Captivate where the program just lost its mind and was ignoring the slides as they were setup. (That's not a professional diagnosis.)  In a couple cases, I had to recreate the slide,  from scratch, where the issue began and delete its doppelganger. That stopped the issue from starting and the following slides fell in line.
    Another time all I had to do was move the audio clips around on the timeline. It was important that I released the clip in a new location before returning it to its original start point. I had to do this on all the affected slides.
    There had to be some sort of corruption going on, but these two options helped me at different times. I hope one of them works for you, Robert.
    -Marty

  • Artwork tab is missing when importing home videos

    When I import a home video mp4 file, the artwork tab is missing. This only just started to happen. Any idea how to get the artwork tab to appear? This doesn't happen consistently.

    GUIDES TO: Converting Video for iPod - Mac & Window
    http://forums.ilounge.com/showthread.php?s=&threadid=123067
    The Complete Guide to Converting Video to iPod Format (Mac)
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-convert ing-video-to-ipod-format-mac/
    See other tutorial articles over at iLounge...
    http://www.ilounge.com/index.php/articles/tutorials/
    Patrick

Maybe you are looking for

  • Send billing output to multiple email adresses

    Hi, we need to configure our output determination to be able to send billing invoices via email to multiple recipients. In our old 4.6c environment it worked with output type 5 when we added multiple comma separated email-addresses to the customer ma

  • Need help loading mac osx snow leopard

    i just bought mac osx snow leopard and im having trouble downloading it i have a mac osx 10.4.11 but when i put the disk in it says i need an itel based mac

  • Workflow log in error

    Hi, I have one workflow log for ivoice. It is in error stste in one step. I have restaterd the main workflow using swpr . Still the workflow is in error. User wants to complete the workflow in any case. But if I use SWIA then it says that error workf

  • How to login owa using URL embedding username and password?

    Hi, guys Whether can users login O365 owa using url embedding username and password? Such as  https://mail.mycompany.com/owa/....username=myalias...pwd=password... ? I found a post http://blog.leederbyshire.com/2012/10/12/how-to-login-to-owa-2010-by-

  • Delta in Duplicate records.

    Hi Gurus, Daily we are uploading CRM data through process chain. In a week 3 to 4 times chain fails due to duplicate records 24 or 34...like that. And deleting red request in target and loading again. Why we are getting duplicate records in delta loa