Java :: Use Image As Video Stream While Recording On Media Server?
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
Similar Posts:
Aug 16, 2010
This is important since if it's growing too fast there won't be enough space.
View 1 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 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
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
Oct 25, 2010
While live/recording will the stream closed in fms when I refresh the browser??
View 1 Replies
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
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
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
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
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
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
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
Oct 15, 2010
I'm currently able to record audio and video (from a webcam) to a Flash Media Server. However, in some cases users have a webcam with no builtin
microphone. In that case the flash client uses the default microphone with 'Microphone.getMicrophone();' and possibly selects the micrphone of the PC.
A delay between audio and video is caused in cases with a separated webcam and microphone. There isn't a lot of delay on an internal network (e.g. LAN) however, there is a very large delay between audio and video on an external network (e.g. WAN).
View 2 Replies
Jul 16, 2009
I'm very new to FMS and I have been experimenting around with it as a part of my job. I already have the encoder, FMS, and my AIR application all talking, so that portion is going well.The problem that I want to tackle next though is to have the FMS server record the live stream to it's hard drive. All of the guides that I've found talk about how to make a DVR stream, but that's not what I want. I want to be able to have the live stream, and then separately I would like to have it recorded.
View 1 Replies
Jan 14, 2010
i'm developing a web site, and i'm trying to let the user record some video from his webcam. I'm using actionscript and flash media server. I got it work in my delevoper enviroment, but when i deployed it to the production server, the webcam can't get connected to the FMS. I'm afraid this is because of port blocking from the firewall. Does anyone knows wich ports are userd for recording from a browser by the Flash Media Server? I open the 1935 port in the Flas Media Server, but it still doesn't work.
View 19 Replies
Nov 2, 2010
I am developing a web application. where user can record video, audio and can take photos.
The recording is working fine. but only upto 70% of video is recording. How can I know the video progress?
Is it possible to show a progress bar both on recording and preview video?
View 3 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
Jun 16, 2010
I'm currently working on a webcam recorder to record high quality video. I had the recorder working before, but the video quality was quite poor. Instead I'm trying to use a client side buffer and then upload the buffer after recording has stopped. I thought after I unattached the video and audio from the NetStream that either a NetStream.Buffer.Empty or NetStream.Record.Stop event would be sent when the buffer was finished uploading.
What is actually happening after I start recording is two NetStream.Record.Stop events are being sent in a row, so recording never really happens. Also, on the server side I'm trying to save a user name and password into a variable, but I'm not sure how to go about doing that since the application script is just a bunch of callback functions.
View 6 Replies
Sep 12, 2010
I have this sample code from the e-book: "Learning Flash Media Server 3". The purpose of the code is to create a FLV. The code is not running as it should. When I click on the 'record' button, the label is to change to 'recording', that dosen't seem to happen and also when I click on the 'Stop Record' button, I get the following error:
"TypeError: Error #1009: Cannot access a property or method of a null object reference.at MinRecord/stopRecord()"
[Code]....
My deduction is that the 'if' statement in the 'startRecord' function is not resolving to 'true' and hence the label is not changing to 'Recording'. Also I feel that the assingment to the variable 'ns' of type NetStream is not being done and hence in the function 'stopRecord' I get the above mentioned error message when I click on the stop button. How do I rectify these problems?
View 3 Replies
Jan 21, 2011
I'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
View 2 Replies
Aug 21, 2006
Task is to take online interviews and record them for lather reviewing. I m new to media server and video streaming.
View 3 Replies
Apr 30, 2010
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
View 20 Replies
Apr 27, 2009
I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?
View 1 Replies
Apr 7, 2010
i am currently playing around with a flash media server trial in combination with the flowplayer.All in all i am testing the performance and general functionality for the company i work for.Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.Sure this could be done by the backend flash application, but its out intention to perform this check server sided.
View 4 Replies
Mar 22, 2008
Is there a simple to understand (guide for dummies like me)that will give step by step instruction on how to stream live videousing FME and FMS on the same computer?
View 21 Replies
Oct 21, 2010
I'm totally new and in the absolute dark here. I have installed FMS on a server in the TV station in which I work. I am trying to figure out how to stream video from Adobe Flash Media Live Encoder on an outside computer, back into the FMS at our station. I have no idea what the FMS URL is that I need to plug in to the Flash Media Live Encoder in order to reach the FMS back at our station.
Do I need to have something housed on an ftp site? We have a website and I can put whatever I need to there if that is indeed what I need to do. Not sure what the heck I'm doing here, but I'd LOVE to figure it out. I know it's not a lot to go on,
View 1 Replies