Media Server :: Last Few Seconds Of Stream Cut Off When Recording A Live Stream?
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:
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?
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);
I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
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.
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].....
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.
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?
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.
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.
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).
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?
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?
I have a HD Camera streaming a live feed through FME 2.5 to FMS 3.0 using the VP6 codec and it works fine. I have now been trying to get the same stream running via H.264 and althogh FME 2.5 connects to the FMS 3.0 server and the stream starts with FMS 3.0 reporting the stream no problem. The Client application crerated with Captivate 3 using Flash Player 9 for publishing no longer dispays the video. Switching back to VP6 works again.
I'm running the Interactive Flash server 3 and I'm wondering is there a way to give people a user & password to limit who can live stream into the server.I can do this with the Real server and Windows media fairly easily but having problems figuring out how to on the flash server.Currently if you have the Servers IP and the flash encoder you can stream with no Username or password required. I would like to restrict this.
i have an urgent question for the following purpose. We plan to develope a solution consisting of a sender software for streaming live video to the streaming server. Now more than one client should be able to connect to the stream of the server. Because the different clients are connected with different bandwidth rates the server should be able to convert the video stream (e.g. the video width and height, framerate and quality) on the fly. Maybe a client with a better connection than DSL should get the video in a resolution of 640x480, a DSL client should get the video in 352x288 and a client with ISDN in 176x144.
Is there a possibility to do this with the FMS server on the server with server-side ActionScript? Or can I limit the requested stream size on the client side? Or anything I can do?
i need to stream a live TV Online. I have a computer with windows server 2003 and i wiil instal the adobe flash media server. I need to understand whow i can do this. I am a bigginer, what is the steps for i build a flash media server.
My fmis server is 3.5.4 and I use flvPlayback to play the fms live stream.
I want to let the live stream stopping status after be load completed.but after I set the autoPlay=false, the fms live stream is not stopping status after be load completed.
However I try the fms vod stream as the autoPlay=false ,is can stop .
what's different the live stream and vod stream. why the vod stream can stop but live stram can't stop?
Is there anyone who has a HTML example (or can give an URL with a page) that has the Adobe Flash player displaying a live stream (and not a file)?There is one in the installation under "Flash Media Server Start Screen" but it was too complex for me to understand. I just need a simple example on how to display a live flash stream in Adobes own web player.
I just upgraded to FMS 4.5. I'm able to stream live event via HDS but I can't stream live events via HLS. I can use VOD via HLS but not live events. I tried access the HLS url directly on my iphone and even tried embeddeding the <video> tags in a HTML file and get the same results. What I did notice is that in my application folder on the server I only see the HDS files being created. I do not see the .ts files that I beleive are supposed to be created when streaming to HLS devices.
'URL missing from Media tag' on FMS4.5 HTTP Live Stream playback.I have spent a whole day trying in vain to publish f4m live http streams from FMLE using FMS 4.5, and almost everything I try results in the error .The F4M document contains errors URL missing from Media tag...in both Flash Media Playback and the fms videoPlayer app.Other people seem to have seen this and solved it, but I've found nothing that helps. I have tried to publish a single stream, and with multiple bitrates. For the latter, I followed the Adobe video tutorial as follows:
Multiple bitrate live ================ I'm publishing 3 streams from FMLE, using FMS URL: rtmp://[serveraddress]/livepkgr[code]..........
Beside Flash Media Encoder, can I use a live stream from Windows Media Services?We have live streaming with Windows Media Server, but now want also offer to mobile devices, but we dont re-encode the entire streams (tvs) again, it would be great if we can use a stream from windows to tunnel it to flash media server.
I read a blog article http:(url......)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?
I have confirmed this behavior in FMS 3.0.2 on Windows 2003, Vista, and Linux.
In prior versions of FMS if I had a publisher sending a live video feed to the server, then I could have subscribers connect to the server and set a bandwidth limit for them and the server would ensure that the subscribers only got as much bandwidth as I set for them. As of version 3, the server now ignores this limiting for live streams.
You can set a limit on the publisher which of course then limits the live stream that subscribers view, but that is not what I want. I want to have the publisher push a live stream at the quality I specify and then I need a way to give some subscribers a lower bandwidth version of that stream. This all worked fine in prior versions of FMS and I can't imagine this is intended behavior in version 3, but it seems like a major oversight.
The bug can be replicated by creating a simple flash app to stream live video to the server and then in a separate NetConnection, subscribe to that live stream and display it. Then on the server side, setup an application.onConnect to do a setBandwidthLimit on the subscriber and you can see that it is totally ignored. You get the full bandwidth stream even though the limit should be reduced for the subscriber.