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
Similar Posts:
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
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
Oct 8, 2010
Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?
View 1 Replies
Jul 26, 2010
I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
I'm running Windows XP service pack 3 & FMIS 3.5.
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
Here's my AS3 code...
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);
[Code].....
View 1 Replies
Aug 27, 2010
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
View 2 Replies
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
Aug 16, 2010
This is important since if it's growing too fast there won't be enough space.
View 1 Replies
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
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
Apr 17, 2011
I'm creating application where user can record voice message, problem is that recorded file is passed to other encoding servers, that requires both video and audio streams to be present.
how can I use static image to emulate webcam and attach it to NetStream?
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, watchRecording);
//ns.attachCamera(cam);
ns.attachAudio(mic);
ns.publish(fileName.text, "record");
[+]
Although I don't have access to application on WOWZA server I can negotiate with some one to add few lines and recompile it. So server-side solution in java is also an option here.
View 1 Replies
Oct 25, 2010
While live/recording will the stream closed in fms when I refresh the browser??
View 1 Replies
Aug 20, 2011
I recently had to tell a client that I didn't want to work on their project because I was unclear about something. When you append a recording from a stream does the metadata get updated correctly after the append? I've worked with metadata before and from my recolection anytime a .flv was changed I had to manually update the metadata.
View 1 Replies
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
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
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
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
Aug 23, 2010
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?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?[code]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?
View 13 Replies
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
Jul 19, 2011
when i try to live stream with FMS! I can stream video with Flash media live encoder to the server but when i create the player to recieve the livestream from server,i can not recieve the live stream,can anyone give me a step by step tutorial of how to do it?
View 1 Replies
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
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
Aug 28, 2010
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 Replies
May 9, 2011
i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast
[Code]...
View 3 Replies
Mar 9, 2010
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
View 3 Replies
May 24, 2010
I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...
View 4 Replies
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
Dec 12, 2011
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....
View 2 Replies
Apr 9, 2010
How to save the file.
View 1 Replies
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