FMS stop recording video in middle of recording

I am trying to record the h.264 long video through fms server side code(more than 2 hour), but video recording is stopped before I stop publishing the video, and it’s not throwing any error in server side as well as client side, I have given the video recording code
stream=Stream.get("mp4:testStream.f4v");
  if(stream)
  stream.record("append");
  stream.play(streamName, -1, -1);
and recorded video also not playing fine, its stuck in middle. should I need to modify anything? Any help are appreciated......

For publishing I am using the action script code, It stops after 40 min some time its recording fine upto two hours I count find where its stoping and why its happening, I am giving the server side code and client publishing code and the log with this
Server side code
application.onAppStart = function()
     trace("app fme started!");
     application.message_so = SharedObject.get( "message");
     // Initialize the unique user ID
     application.noOfUser = 0;
application.onConnect = function(client)
     this.acceptConnection(client);
     client.id = "u" + application.noOfUser++;    
     client.recordStream=function(streamName)
               trace('record called');
               stream=Stream.get("mp4:"+streamName+".f4v");
               if(stream)
                    stream.record("append");                   
                    stream.play(streamName, -1, -1);
                    live=true;                         
     client.stopRecordingStream=function(streamName)
          stream=Stream.get("mp4:"+streamName+".f4v");
          if(stream)
               stream.flush();
               msg=stream.record(false);
               live=false;
               stream.play(false);              
application.onPublish = function (client, stream)
application.onUnpublish = function(client, stream)
client side code
private function publishCamera():void {                   
     ns = new NetStream(nc);                   
     if(cmbEncoder.selectedItem.data=="Sorenson")
          ns.videoStreamSettings=new VideoStreamSettings();
     else//H.264
          var h264Codec:H264VideoStreamSettings=new H264VideoStreamSettings();         
          h264Codec.setKeyFrameInterval(12);
          h264Codec.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_5_1);
          ns.videoStreamSettings=h264Codec;
     cam = Camera.getCamera(cmbCamera.selectedIndex.toString());
     mic = Microphone.getMicrophone(cmbMicroPhone.selectedIndex);
     var resolutionWidth:Number;
     var resolutionHeight:Number;
     var videoQuality:Number;
     resolutionWidth=768;
     resolutionHeight=576;                   
     ns.client = this;
     ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
     ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
     videoQuality=(Number(cmbBandWidth.selectedItem.data)/8)*1024;
     cam.setQuality(videoQuality, 0);    
     /* Set the mode of the camera component
     width, height, fps
     this will be the recorded size of the video
     cam.setMode(resolutionWidth,resolutionHeight,12);    
     mic.rate = 11;
     ns.attachCamera(cam);
     ns.attachAudio(mic);         
     ns.publish("mp4:testStream.f4v");
     nc.call('recordStream',null,'testStream');    
core.00.log
#Version: 1.0
#Start-Date: 2012-09-07 10:06:18
#Software: Adobe Flash Media Server 4.0.0 r1121 x86
#Date: 2012-09-07
#Fields: date          time          x-pid          x-status          x-ctx          x-comment
2012-09-07          10:06:18          1180          (i)2631174          Listener started ( _defaultRoot_ ) : 192.168.173.184:19350 (rtmfp-core)/v4          -
2012-09-07          10:06:18          1180          (i)2631174          Listener started ( _defaultRoot_ ) : 127.0.0.1:19350 (rtmfp-core)/v4          -
2012-09-07          10:06:18          1180          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot_ are: 192.168.173.184:19350;127.0.0.1:19350          -
2012-09-07          10:06:18          1180          (i)2581246          Core (1180) sending register cmd to edge.          -
#Date: 2012-09-07
#Fields: date          time          x-pid          x-status          x-ctx          x-comment
2012-09-07          11:39:02          5696          (i)2581237          Starting admin app on core (5696).          -
2012-09-07          11:39:02          5696          (i)2581238          Core (5696) connecting to admin.          -
2012-09-07          11:39:02          5696          (i)2581231          Core (5696) connected to admin.          -
2012-09-07          11:39:02          5696          (i)2631174          Listener started ( _defaultRoot_ ) : 192.168.173.184:19352 (rtmfp-core)/v4          -
2012-09-07          11:39:02          5696          (i)2631174          Listener started ( _defaultRoot_ ) : 127.0.0.1:19352 (rtmfp-core)/v4          -
2012-09-07          11:39:02          5696          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot_ are: 192.168.173.184:19352;127.0.0.1:19352          -
2012-09-07          11:39:02          5696          (i)2581246          Core (5696) sending register cmd to edge.          -
2012-09-07          11:39:02          5696          (i)2581234          Core (5696) connection to admin accepted.          -

Similar Messages

  • Hello I'm Christina, I'm using the Canon Rebel T1i to record videos. It only records 40 seconds

    I'm using it to record YouTube videos but it only records the first 40-46 seconds then it shuts off. It's on the mode to record up to 24 minutes but it shuts off by itself. How can I fix this?

    Usually when this happens it's the memory card.
    As the camera is recording frames of video, it goes to the internal memory buffer of the camera. The camera, in turn, writes the data to the memory card. The memory card's ability to "write" data is usually the slowest link in the chain. If the card cannot write data as fast as the camera can capture frames, then the internal memory on the camera will fill up and the camera will be forced to stop recording.
    The specs for the T1i require a minimum "Class 6" memory card (the logo look like a C with a number 6 inside) to record video, but frankly a Class 10 card would be better.
    I've come to learn that not all memory cards perform nearly as well as their manufacturer's claim. SanDisk and Lexar brands have a fairly solid reputation. Even among SanDisk and Lexar, they make different grades of cards.
    Lastly, card do eventually wear out. Think of them like car tires. After one ride you wont notice the wear.... but thousands of miles later it all adds up. The process of "writing" to a card slightly degrades it and after enough writes the card will fail. For a quality card, the number of writes should be very high (in excess of 100,000 writes). So it's possible that a card which was fine once upon a time may start to exhibit problems after a few years.
    Tim Campbell
    5D II, 5D III, 60Da

  • Photo Booth froze while recording video and did not save

    Hi-
    I was in the middle of recording a video on Photo Booth for a school project. Before you go any further- I now know that I should have used iMovie or Quick Time to record, but I was having the same problem with freezing/lagging video. So I decided on using Photo Booth because it is what I am most familiar with.
    It was about a 20 minute video and I noticed that the picture would freeze every so often, even right after I began recording, so I know it is not a size issue. I also do not have anything in my Photo Booth tray or library, so I know I have enough space.
    Here's my issue: I pressed stop when I was done recording. But I got the infamous "spinning wheel of death." It didn't go away, even after 10 minutes so I force quit. I have located the recording in Finder. It says the name of the video, and the size, but the thumbnail is just the default QuickTime icon, not an icon.
    How do I recover this? It's extremely important that I do. Hoping EZ Jim will respond!  Thank you so much in advance.
    I am using a MacBook Pro 13" from 2011.

    l_kleiman wrote: ... I should have used iMovie or Quick Time to record...
    Yes, you should have.  Do so in future recordings that are important or longer than a couple of minutes.
    l_kleiman wrote:... the picture would freeze every so often,...
    Because your problem is the same with all three video recording applications, we can rule out application software as the cause of your trouble.  Here are some possible causes and what you can do to try to solve them:
    (1) Video recording is processor intensive.  If you are also running many more apps than only the video app while you are recording, your Mac's processor may be working near its limit.
    Restarting your Mac before recording video ensures you will not have interference from multiple user accounts or widgets (unless they are included as  > System Preferences... > Account > Login iTems.
    Remember that things like widgets and automatic checks for Mail, TimeMachine backups, iCal alarms, etc., and other background activities also add to your Mac's workload. The actions for the apps mentioned (and for most other such apps) can be disabled in "Preferences" for the apps that control them.
    Disconnect all peripherals while you are recording video, and make your record monitoring window as small as possible. These suggestions help reduce processor power requirements while recording.
    (2) Installing the maximum amount of RAM your MBP can use may help you. Your retailer can help you check what you have and install more if necessary.
    (3) Alternatively, the cause of your symptoms May lie in your system software.
    Consider the information in OS X Mountain Lion: If your Mac runs slowly.  It applies equally to your OS X Lion system.
    If you are not already running the latest Lion version, apply the OS X Lion Update 10.7.5 (Client Combo) update.)
    l_kleiman wrote:... the picture would freeze ... even right after I began recording, so I know it is not a size issue. I also do not have anything in my Photo Booth tray or library, so I know I have enough space...
    Neither freeze timing nor Photo Booth tray or library space tells you whether your startup disk has enough free ("Available") space for best operation.
    Use your Mac's Finder > File > Get Info menu command to check available free space.  Be sure you have LOTS of room (I keep 75% of my disk space free when recording video) on your MBP's disk.
    Capture your movie clips on your MBP's startup disk rather than on an external drive which is almost certainly slower.
    l_kleiman wrote:... when I was done recording... I force quit... but the thumbnail is ...not an icon.  How do I recover this?...
    If something here doesn't work, http://bit.ly/1An6zjD, your only remedy it to record the video again.
    l_kleiman wrote:... Thank you so much in advance...
    You're welcome.  If you need to post back for other suggestions, please tell us the following:
    0. What Lion version number you are using? You can find the version with the  > About This Mac menu command.
    1. Are you recording your video subjects in bright lighting?
    2. Did your Mac ever record video properly? If so, what happened immediately before the problem first appeared? (new software, hardware, etc?)
    3. How much free space is "Available" on your startup disk?
    4. How much RAM is installed in your Mac?
    5. If you added RAM, what brand (Apple, Crucial, Other World, etc.) did you install?
    6. Have you used Apple Hardware Test to verify your RAM is all working?  (If you don't know how to use AHT, see your MBP's User Guide.)
    We will offer more specific suggestions based on the details in your response.
    Message was edited by: EZ Jim
    Mac OSX 10.10.2

  • Just Static Instead of Audio When Recording Videos

    Just updated to 4.1 and no dice. Whenever I record videos it does not record audio as well, just static. When I first had the phone it worked fine. I've read other forum posts about it and not found anything useful to attempt. Fairly annoyed that I spend $200 and have to put up with crap like this. I'm taking it to an Apple repair place today to see what they can tell me. Hopefully it won't be that, "It just works," because quite apparently it does not.

    I use a PC for syncing, not sure what you mean by create a new user. I took it to the local Apple Authorized Dealer/Repair place yesterday (the nearest Apple store to me is in Orlando, about an hour's drive) and they informed me that I would most likely have to A: Send it back, B: Take it back to Apple and get a new phone.
    I'm fairly certain it is a software issue though, just from my experience in audio technology. The more I listen to it, the more I realize it's actually hiss and not static. Something like you'd get if your preamp was turned way down on a mic, but your main's were at 100%. You get all that low-end hiss and crap that's normal covered up by the audio, and the audio itself is very faint. It seems like it also might have something to do with the bluetooth setup too.
    I'm still fairly surprised that this issue is not being addressed by Apple directly. With as many PR disasters as they've had with this phone you'd think they would try and head something like this off at the pass. Oh well...

  • Echoing Audio in Recorded Videos

    Product name and number:
    »HP 2000-2b89WM Notebook PC 
    Product Number:   C2M42UA 
    Hi, I don't know if anyone else has had this problem or not, but when I record videos using the webcam, the audio comes out sounding... almost echo-y? I'm not sure how to describe it, but it sounds like another voice is speaking in sync with mine... 
    Very weird. I was wondering, is there any way to adjust that? Is it just my laptop that's doing this? I'd appreciate it if you helped me out, considering I plan on using my webcam a lot. Thank you! -- Btw, I haven't messed with any settings and this only happens on recorded videos that I've recorded from the webcam using YouCam. I don't use an external mic and everything else with my webcam is working properly.

    Hey rainal17, 
    I'm sorry you're having an issue with your mic. Thanks for providing your model name and product number. Could you also check your current audio driver version. If your version is outdated, I'll provide you a link to the latest version.
    On Windows 8: Press Windows Key  + Q to bring up the Search Bar > Type "device" > Click Settings under the Search Bar > Click Device Manger in the results on the left.
    In Device Manager > Expand Sound, video and game controllers > Double-click on the Realtek line > Click on the Driver tab and make note of the driver version number and post it in your reply.
    Also, let me know which BIOS version you have. Press FN + ESC to get the 'F.##' version number.
    Is this your first time testing your mic? Has it always had this echoing effect?

  • Why Does My Camera Stop Recording in the Middle of a Video??

    Why does my Rebel T3i stop recording in the middle of me video taping?? Is it because I do not have enough space on my camera for a video? It lets me take plenty more pictures. And when it stops in the middle of a recording, I start recording again, and it works for a little while then stops again! I really don't get it. It is extremely frustrating because I am left with all these chopped up video segments and I completely miss something that my baby is doing (the reason I started taping in the first place!) I am begining to wonder if I should just invest in a video camera instead of taping with my camera. I would REALLY prefer not to, seeing as how I spent a fortune on it, and would like it to do what it is intended to do! Can someone please help?? 

    The camera formats the memory card using the "FAT32" filesystem rather than a proprietary filesystem.  This allows the card to be read by nearly any computer (Windows, Mac, etc.)  
    HOWEVER... there's a limitation in that filesystem that no single file can grow above a specific size.  That size is 4GB.
    Also, the camera documentation describes that the camera will stop just 1 second short of the 30 minute mark regardless of the file size.  
    In pro video, movies are normally constructed by bringing together many very short clips.  The one-long-continuous-take video style isn't used.  If you are attempting to record a long event in one-long-continuous-take then it would be better to use a video camera for the task.
    Tim Campbell
    5D II, 5D III, 60Da

  • Photo Booth has stopped recording Videos all of a sudden??

    Hi all,
    on my iMac only 6 months old, all of a sudden after working fine Photo Booth today has decided to stop recording videos.
    The app launches, green light comes on and the picture/video shows, i press record and it counts down but the counter doesnt move although the picture is still there.
    Press stop and it loads a black screen and plonks it in the library thing at the bottom of the picture..  Very odd.
    I have trashed the Preferences and this does nothing,
    Have deleted the other videos so its not a space issue?
    Wondering if anyone else has the same thing???
    Any help greatly accepted,,
    Many thanks

    Does anyone know where you can get a version of Photobooth? I didnt have any disks of the OSX lion that shipped with my iMac?

  • My canon 600D stops recording videos automatically after 8 seconds.

    my canon 600D stops recording videos automatically after 8 seconds. i can't find anything of that sort in the settings menu.
    what settings should be used??

    my canon 600D stops recording videos automatically after 8 seconds. i can't find anything of that sort in the settings menu.
    what settings should be used??

  • FMS publish record - Video freeze

    Hello,
    I have a problem to record and replay my video with flvplayback.
    I publish a mp4 file with mic and camera.
    When i would like to play after, if the video is too long the video freeze
    i think after 5000ko.
    I my video is more short its ok.
    It is possible that is my fms config is bad?
    Do i modify something in the config?
    Do you have this problem?
    i make another test and i see is during record the problem.
    After for example :  1 minutes
    the record is freeze and take 15-20 sec to restart
    publish mp4
    Then i test publish record with flv and the record is good no freeze.
    Then i thinks is the mp4 format the problem. I need some config in my fms server for mp4?

    I guess AIR can act as publisher only when it is provided
    with live camera input, It is not having capability of reading
    video file from users machine and publish it to FMS.
    FMS has the capability of publishing video files as live
    which areatored on it.that would require uploading files to FMS'
    machine using an HTTP server.
    Another workaround would be to use a virtual camera which to
    play & capture video file as live for AIR; but it may not be a
    desirable way.

  • IPhone 3GS has stopped recording video - please help

    Hi - I have recently updated my iPhone to iOS 5......
    I don't know if my problem is related to that fact - but yesterday the iPhone stopped recording video.....
    It has been recording video fine recently (after the up-date) - but now when I click onto video record you can see the view from the camera lens fine......but as soon as i touch the 'record' button the screen freezes and it won't record and the screen is also frozen.......
    I have to click on the main menu button to get out of the screen.....
    Has this ever happened to anyone....?
    I must admit about 2 weeks ago I replaced the whole touch screen unit - but the video recording function (and everything else) has been working fine up until now....
    I don't know if it is important  - but the battery went completely flat (and was charged back up) just before the video stopped working....
    Any ideas or advice would be appreciated....
    Thanks

    I´m having the same problem.

  • Powershot SX510 HS automatically stops recording video after 10 - 15 minutes into the recording.

    Powershot SX510 HS automatically stops recording video after 10 - 15 minutes on continuous recording. Is there a way to turn this off? I would like to record videos until either I press the stop recording button, or the battery gets low. I have turned off all the power saving setting, at least I think I have.
    Solved!
    Go to Solution.

    The camera has some recording limitations as all the Canon models do. Below is how you can extend your recording times to a max of about 1 hour but there is a 4BG limit regardless so once it hits 4GB the recording stops and has to be restarted.
    Also the memory card needs to be at least a Class 6 rating or the recording will stop sooner regardless of the clip size.
    This is from page 161 of your manual

  • IPhoto video record quit in the middle of recording. Help!

    The app quit in the middle of recording a video. I can locate the incomplete file in finder but cannot seem to get it to convert or open....help please!

    iPhoto has no ability to record video - or anything else. Perhaps you mean PhotoBooth? Ask about that on the Using OS X forum for your version of the OS.

  • ISight - Photo Booth stops recording silently when recording video.

    Hello,
    I often use iSight and Photo Booth to record videos, and I've observed this error happens all the times:
    For example I record a 5 minutes video, (I stop Photo Booth at the time 5:00), but then when I look again at the file, it's less than 5 minutes. This happens 8 out of 10 times of recording, and it stops silently at a random time, means photo booth does not return to the waiting mode until I press the stop button.
    Does anyone have this problem? Please help. Thanks in advance.

    I must agree I am having a very similar problem myself. In my case, for example, I use photobooth to record videos requiring audio and video (acoustic guitar) and I will record one video which will be fine with audio, but randomly, the next video I record will not have any audio whatsoever, just a video of me playing my guitar. I'm sure other people with this problem know how frustrating it is, especially since I just tried to record an instrumental piece about 13 minutes only to find that photobooth randomly decided not to record audio this time....is there any solution for this?

  • Record video with FMS, but distribute progressive - with HTTP

    My application is going to serve around 200K simultanios
    users. I can spend some money on FMS for the purpose of recording
    video using Flash only (I mean w/o additional SW on the client).
    But when it comes to serving the video, the cost of FMS is beyond
    what I can afford. Therefore, I was thinking to use FlashPlayer/FMS
    to record Audio/Video using the built-in Camera class in the Flash
    Player and move the encoded file that's been store on FMS, to an
    HTTP server. My viewers will play, in their Flash Player, simple
    progressive video off of HTTP server (instead of streaming video
    off of FMS).
    Is it doable? What server-side SW is required to move the
    recorded video to another HTTP server?
    Any piece of info would be appreciated.

    When you open iMovie look at the switch under the screen. You will see a camera on the left of the switch and scissors on left. Flip the switch to the camera and the built in camera should come on. Then on the screen it will say record with isight. That starts the record.

  • I have an iPod 3; Version 6.1.3 model MC540LL//A  : Question, When I'm filming a video, lets say for 45 seconds. I click to stop recording video. It does NOT click off. Keeps recording for about 10 more seconds.

    I have an iPod 3; Version 6.1.3 model MC540LL//A  : Question, When I'm filming a video, lets say for 45 seconds. I click to stop recording video. It does NOT click off. Keeps recording for about 10 more seconds.

    First you have a 4G iPod. Yes there is some delay between tapping the stop button and the recording stopping.

Maybe you are looking for

  • Can't convert AIFF to MP3

    Can't convert songs in iTunes. I have iTunes 7.02. I've followed the process as detailed in iTunes help as well as in a "missing manuals" book. Here's what I've done to try to change a song from AIFF file to MP3: 1) In iTunes, chose iTunes > Preferen

  • Where the public folder htdocs in Oracle Portal 11g for custom files ?

    hi , In oracle portal 10g I used the folder xxxxx/Apache/Apache/htdocs for css, js, img. In Oracle 11g portal where this folder ? tks Carlo Edited by: cgiorgi on Dec 15, 2009 2:48 PM

  • Mass maintainance of PR

    hi all, we are working on split valuation domestic and imported. after mrp run we have to maintain valuation type for each material Pr. now how to do that i knw that mass maintainance tcode. but it is not working.

  • Formating in Disk Utilility (Leopard Version)

    Fix request for bug in Disk Utility. I was formating a USB Drive (previously formated as OSX Journaled) into Dos format and it said that it had formated properly, however Windows XP could not recognise the drive. I Formated it again and this time not

  • Project commitment from closed POs with unreceived lines

    Hello. Does the PO commitment on a Project remain active if the PO is closed, but this PO has unreceived lines (money left on the PO). If not, obviously, the proper way to close this PO si to reduce the lines, right? m