Media Server :: Serverside Recording Suddenly Stops?

Jun 3, 2009

I've implemented a serverside script that records the current stream to disk. This record method is called from another clientside flash application. On some occasions the recording suddenly stops after a few hours without giving any errors, and without there being any network dropouts (Flash Media Encoder doesn't report any dropouts). What can be the cause of this, and what can I do to make the recording more stable?

View 7 Replies


Similar Posts:


Media Server :: Recording Stream Suddenly Stops

Sep 2, 2011

Our team is developing an application that allows users to communicate via their own camera, and make a record of all user's cameras that are in the same room. However we have come across an issue with our FMS 4 server. The issue is that sometimes when a user records all streams in a room at one point the recording process for particular streams suddenly stops but at the same time streaming is still working. For example, 2 users were broadcasting and one of them was recording their streams. At the end of the recording there were 2 flv files, however one of them was only a quarter of the actual length. The logs for the damaged stream were:

- publish stream at 10:48:38
- play stream at 10:48:38
- record stream at 10:48:44
- unpublish stream at10:53:11
- stop stream at 10:53:12

Total length of the flv file should be more than 4 min but actually it is only 1 min 12 sec.

View 3 Replies

Media Server :: Stream Recording Suddenly Stops With No Event Notification

Jun 15, 2011

I'm running FMS 4.0.2. I have a server side script that will record a stream that is playing on a remote server. This script was running fine on FCS 1.5. When running on FMS 4.0.2 the stream starts recording fine, but after a few minutes it stops on its own with no event notifications on the stream. No NetConnection or NetStream events are registered. I thought it might have been been an issue staying connected to the remote server.

But then I wrote something to publish a stream directly to this server, and have a simple server side script record the stream on the same server, but the same thing happens - it stops after a few minutes with no notifications. Again the code works fine in older versions of FMS/FCS. This has obviously proven problematic that I cannot record a stream longer than a few minutes. The problem occurs both on streams published via the Flash Player (Sorenson Spark) and the FMLE (H.264).

View 1 Replies

Media Server :: Get Some Xml On The Serverside To Parse?

Jan 25, 2010

I'm trying to get some xml on the serverside to parse. I can load the xml just fine so there is no problem there but i can't get the streamArray to populate  nor can i get any of the if statments after loaded to execute. Here is the code feel free to use the xml document on my server.

var StreamArray = new Array();var location_xml = new XML();
location_xml.onLoad = function( success ) {
if(location_xml.loaded == true) {trace(location_xml); if (location_xml.firstChild.hasChildNodes()) { for (var aNode = location_xml.firstChild.firstChild; aNode != null; aNode=aNode.nextSibling) {

[Code]...

View 5 Replies

Media Server :: Get NetStream.time On The Serverside?

Jan 26, 2010

I'm using the following code to attempt to get netStream.time on the serverside.....i've tried various ways googled it but have come up short...what code do i need to use so i can track a streams progress from the server side?
 
myStream = Stream.get("home1");
setInterval(time,5000,myStream.time); function time(myStream){  trace(myStream); }

View 2 Replies

Media Server :: Recording Video/audio Files Using Flash Media Server Through Rmtp, And Allow Users To Access The Recorded Files Through Http?

May 25, 2009

As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?

View 1 Replies

Media Server :: Fire Ondisconnect Event When Network Disconnect Suddenly?

Aug 25, 2010

how to clear the client entry from Adobe flash Media server 3.5. when net disconnect.i was expecting that on netdisconnect from the client side end(which is connected to FMS) its onDisconnect event fire similarly as it fire for browser close.But when internetdisconnect  ondisconnect event not fires at FMS side is there any way to overcome this or any other event  fire at that stage?

View 6 Replies

Media Server :: Recording Video To Flash Media Server

Mar 30, 2010

I want to have a website where users can record short video clips (using a webcam) and then have those videos saved on the FMS for viewing later. I've seen a lot about streaming video, but I actually want to save the video.

View 1 Replies

Media Server :: Flash Media Server Stops Accepting Connection?

Oct 21, 2010

We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.Port number 1935 and 1111 of the particular system where FMS has placed are working fine.

View 7 Replies

Media Server :: Server Side Recording - Inconsistent When Called Automatically?

Mar 23, 2012

We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on  guidelines provided in the forums. Our Sample code looks like this.
 
Client.prototype.startRecord = function( source, destination )
{
    trace("Recording Stream: " + source + " to: " + destination);
    this.newStream = Stream.get(destination);[code]..............
 
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS  startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
 
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.

View 1 Replies

Media Server :: Recording In F4v Format At FMS And Then Republishing To Another Server?

Aug 20, 2010

My data path looks like this:

Live Stream Encoder====>My FMS (my own server) republish to======>CDN======>Viewing Client

I want to archive the live stream at the first stop, my FMS.  Adobe live docs say if I want the recorded file to be of format F4V (H.264), the stream name with which I publish must be of the format mp4:streamname.f4v.  My CDN, unfortunately, requires the stream name it receives to be of the format "streamname".

[Code]...

Is there anyway to satisfy both requirements?

View 8 Replies

Media Server :: Scheduled Recording Server-side?

Apr 18, 2011

any code examples on server-side scheduled recording on FMIS?
 
Need to record live stream i'm getting from FMLE but from scheduled start to end time.

Can i add more scheduled recordings while live streaming is working?

View 6 Replies

Media Server :: Server Side FLV Recording?

Oct 13, 2010

I'm trying to record a FLV, using servers-side scripting. It's working as expected. I'm using record('append') to add streams to the same file. What I want to do now is record the streams in "real-time". I want to keep the same functionality (append) but I want to "records" the time that there is no streams available. In other words, I want to ends a with a file (FLV) with the srtreams separated by black frames when there are no streams available. If the time between a stream and the next stream is 5 minutes, I want the FLv to play 5 minutes in black.

View 4 Replies

Media Server :: Fms Live Stream Server Stops Sending Data Around 4+hrs?

Mar 21, 2012

My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.

View 1 Replies

Media Server :: Recording - How To Save The File

Apr 9, 2010

How to save the file.

View 1 Replies

Media Server :: Recording And Seeking Inside F4V

Jun 28, 2010

I'm making DVR application and I'd like to use h-264 codec, but got following problem. While f4v file is recording, client application (for example Adobe DVR Sample Application player) cannot seek inside the video. It starts playing sought part of the video and stops in few seconds. When recording process finishes the seek works correctly in the recorded file. The process described above works fine when I use vp6 codec. I am using FMLE 3.1 and FMIS 3.5.3

View 5 Replies

Media Server :: Applying Security For Recording?

Aug 1, 2010

Is it possible to record .flv in an encrypted mode? I know RTMPE, but I mean an encrypted flv file, not only encrypted streaming. we want to be sure that the recorded messages will not be avaible for playing locally via a flvPlayer. (the application is running on a FMS service provider' server)

View 2 Replies

Media Server :: Recording Not In Proper Location?

Oct 4, 2010

I'm trying to record an audio/video program and the resulting .flv is in the wrong directory. It always ends up in application/live.  I copied the sample application to application/eTutor and have the following code:

private var rtmpPath:String = "rtmp://x.x.x.x/eTutor"; private var rtmpSession:String = "0_738_0_9_6_6_2012_8_00_00_AM";
...
nc2.addEventListener(NetStatusEvent.NET_STATUS,onFMSNetStatus);  nc2.client =

[Code]......

View 3 Replies

Media Server :: Mic Not Connecting For Voice Recording?

Jan 20, 2011

Suddenly mic not connecting to server.  I have FP 10.1. 102.64  Windows XP 32 bit and explorer 8.   See link which instructs me to "change"  but no response.

View 4 Replies

Media Server :: Recording Webcam With FMS Fails?

Mar 31, 2011

I managed to record webcam stream by using the FMS developper version locally my computer.And if I try to use a remote FMS (FMS Stream EDTN 3.5 ALP), my doesn't work anymore!

import mx.rpc.http.HTTPService;
import flash.net.ObjectEncoding;
private var nc:NetConnection;

[code].....

View 1 Replies

Media Server :: Recording Livepkgr To MP4 File?

Mar 13, 2012

I need to record what's streamed to the livepkgr application as an MP4 file (or convert it afterwards).As of the default settings the livepkgr applications records all incoming streams as an F4F file (using the main.asc file that came with the installation).I've tried streaming and recording an H.264 videostream with AAC sound (as per these instructions)
 
If I move this recored file to another application and rename it to MP4 an external player (JWPlayer) can play the stream just fine, as can iOS devices (though with some minor issues when scrubbing).The renamed file won't open in Windows Media Player or Quicktime Player, though.
 
I've tried using the f4vpp tool and processed the video into another MP4 file. This file streams just fine to the external player as well, and it resolves the scrubbing issues on iOS devices.The file now opens in Windows Media Player, but Quicktime Player still won't open it with the following message: "Error -2002: a bad public movie atom was found in the movie (filename.mp4)"I really need the livepkgr application to record in a format that either is by default, or can easily be converted to, a proper MP4 file that can be opened in all applications.

View 10 Replies

ActionScript 3.0 :: Recording Video To Flash Media Server

Mar 30, 2010

I have purchased flash media server and I'm looking for a way to have people record video off their webcams and have it saved to the FMS. How to do this?

View 2 Replies

Media Server :: Recording Modified Webcam Videos?

Mar 4, 2009

Is there a possibility - instead of attaching a camera [via ns.attachcamera()] to a netstream - to "attach" e.g. BitmapData to netstream. The reason is, that I use BitmapData's .draw method to get the webcam video in order to change it, such as with the .treshold method. And I want to record and save these altered bitmaps (as a video) on the FMS instead the original webcam video.

[URL]

Two videos are shown, the left one is the original from the webcam, the right one the "modified" video. Only the modified video shall be recorded via the netstream .publish method.

View 1 Replies

Media Server :: Changing Video Codec For Recording?

May 7, 2009

I am using FMS 3.5 and Flash CS3 (though using action script 2 at the mo)What I have is a simple program that records a webcam and saves the result as an FLV. - Note, I am doing all this locally, NOT over the internet or a local server. FMS is on the same PC as the program.

1) The frames per second does not seem to be fixing to 25fps, but instead seems to be around 15fps depending upon which pc I use. I'm using: cam.setMode( 320, 240, 25 ); to set the size and frame rate in flash.

2) When I get the properties for the resulting flv, it says it is using h.263 codec. Is there a way to change the codec that is used (to say h.264)? Or is this dependent on the version of flash used? ie. would creating it in flash 9 using AS3 give a better quality result?

View 1 Replies

Media Server :: Video And Audio Out Of Sync When Recording With FMS

Aug 18, 2009

We use a Flash component to allow a user on our web site to record from a Webcam on to our own Flash Media Server. The problem we are having is that the video in a 30 second FLV freezes at the 7th second but the audio continues. The video unfreezes after a couple of seconds but never catches up with the audio. At the very end there's a "Fast-forwarding" of video for the last few seconds so that at literally the last moment, everything's in sync. This happens for almost all of our recordings. Has anyone experienced this type of behavior?

View 5 Replies

Media Server :: Live Streaming With Recording Simultaneously

Nov 18, 2009

I have got success in making live streaming with telecast at different pc. The application which I have made has the features: I' am publishing live stream using the connection like: nc.connection("rtmp://10.8.4.56:1935/live"); publishing the stream like: ns.publish("mycamera","live"); now, on other pc I am running the file for telecast using the following code: making connection with server: nc.connection("rtmp://10.8.4.56:1935/live"); playing the live stream: ns.play("mycamera"); vid.attachNetStream(ns);

Now, that was for the live stream for publish and view. But I want little more than that.I want to record the live stream at the publish end simultaneously. I have tried the code at publish side like: nc.connection("rtmp://10.8.4.56:1935/live"); ns.publish("mycamera","live"); ns.publish("mycamera","record"); But it is giving me error: NetStream.Record.NoAccess when I am changing the connection point to tmp://10.8.4.56:1935/dvr", t is giving me the result but then effecting the live telecast.

[Code]...

View 4 Replies

Media Server :: Camera Settings Are Not Same After Live Recording?

Jan 25, 2010

I have an application where it records stream from my webcam, stores it in fms 3.5 application folder.
 
Recording is fine, I am using camera.setMode() method to set the width and height properties for the recording.
 
for eg: cam.setMode(388,284,15,false);
 
But when we check for the recorded video i am getting the widht and height as 352 , 264. even after changing the faovare boolean to false.
 
how i should set the camera so that the recorded video is of same size which i have given.

View 4 Replies

Media Server :: Recording Stream From Webcam As F4V Playback

Mar 23, 2010

I'm recording a stream from a webcam as an f4v file using FMS 3.5. The file is created in the live folder, and i can stream it back to the client no problem, however when I try to play the file in Adobe Media Player (or anything else) it won't play. I've used the f4v post processor which claims to run successfully, but with no joy.

View 5 Replies

Media Server :: Does FMS Compress Video Stream When Recording

Aug 16, 2010

This is important since if it's growing too fast there won't be enough space.

View 1 Replies

Media Server :: Recording FMS H264 / AAC Stream In FLV Format

Aug 18, 2010

I am trying to record a H264/AAC streamin FLV format on my FMS server and all I get in the recording is the metadata but no media content. Is H264 recording only supported in F4V?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved