Recording Live Streams On FMS Remotely
Hi,We're using FMSS 3 to stream live feeds from cameras. However, we'd also like to have the ability to (via an administration site) record these live streams and allow the user to view pre-recorded streams instead of the live ones.Does anyone know of an example of how I can tell FMS to start recording a stream (via a web service or AS), and then how to stop it? Just for clarification - we don't want FMS to record a stream from the user's own camera. We want to record the live streams that are already streaming on FMS.Thanks,Filip Stanekbloodforge.com
Adobe > Flash Media Server
Posted on: 08/18/2008 02:22:25 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Recording Live Streams With AS3 App?
I work for an internet broadcasting company that mostly broadcasts live events. We have an archival process for all non-flash media types.
I need to know if its possible to record live flash streams using some kind of ActionScript application? We really don't want to record from the media server if we can help it, it will be better if I could have a multithreaded ActionScript application that could record more than one stream using some http reference to the stream broadcast.
Does anyone know if this is possible, where I might look, or where some sample source code could be found to accomplish this?
Thanks,
D
Recording Live Streams ActionScript App?
I work for an internet broadcasting company and one of our operational requirements is the archival of our live events we provide to customers.
I was wondering if it was possible to record live streams with ActionScript and if so, where I might start looking to get an application written that will record streams from various sources to target files. Ideally the application would be multithreaded to do more than one event at a time (sometimes quite a few).
Any idea on where I should start or where to get some sample source code that does this or something similar to it?
Thanks,
D
Server-side Recording Of H.264 Live Streams
Hi there,
I just found out that the current version of FMS (3.0.1) does NOT record my live streams from FME when
using h.264. Is this something which will be available soon?
Streams Locally But Not Remotely, Firewall?
I have a dedicated FMS (domain1.com). I am trying to stream FLVs off of it from another server (domain2.com). domain1.com and domain2.com are both listed in the allow list of Vhost.xml.
I can stream locally and remotely fine off of domain1.com as that is the dedicated FMS. The problem is when I access a SWF on domain2.com that uses an rtmp address ( looks like: rtmp://domain1.com/video/Example1.flv) to FLVs on domain1.com, it only works locally. If I try to access it remotely through the Internet, the FLVs do not load. I get no errors and it's just blank and hangs up.
Now, this is at a new job I started a couple of weeks ago. It's a pretty large network with quite a few servers, and I don't have access to a lot of things right now. I am thinking that they setup their firewall/router to allow remote connections to 1935 for domain1.com, but they are not allowing connections to that for domain2.com, which is a separate server.
I was also thinking that maybe they added domain2.com to Vhost.xml but never restarted the FMS service. I'm thinking it's that or a firewall/router setting. Also domain1.com is actually a subdomain that is only visible locally and does not resolve over the Internet. Any ideas? What else could cause it to stream fine locally but not remotely?
Edited: 07/18/2007 at 08:41:10 AM by mtg169
Streams Not Recording
I'm new to FMS, so hopefully this problem has a simple answer. I'm recording video streams using a simple call to NetStream.publish('path', 'record'). It was working fine a few days ago, but now it's not and I'm not sure why -- it seems that everything is fine on the client, but no FLV files are appearing on the server.
Tracing out the status event from NetStream:
-- status --
description,Connection succeeded.
code,NetConnection.Connect.Success
level,status
-- status --
clientid,112165952
description,test is now published.
code,NetStream.Publish.Start
level,status
-- status --
clientid,112165952
description,Stopped recording test.
code,NetStream.Record.Stop
level,status
-- status --
clientid,112165952
description,test is now unpublished.
code,NetStream.Unpublish.Success
level,status
The server log just says a connection has taken place. The weird thing is that In the console, under "streams", it lists the stream name but says its type is "live" even though I passed "record" to NetStream.publish().
My application's directory (program files/macromedia/flash media server 2/applications/photobooth) is completely empty.
I've tried restarting the server and the computer and everything.
Does this sound familiar to anyone? Thanks.
Live Ghost Streams
Hi all.
First off, some qualifying information -
I’m using FMS v 2.0.3 for a simple video presence application. There is no chat involved.
Also, we can keep the conversation technical as you guys/gals see fit - Im savvy in that sense - but I haven’t worked with FMS since it was FCS.
So the question is – how do you clean up and/or prevent Ghost Streams in your video applications when the live stream is severed?
When a qualified "Publisher" account logs into the app (the website - not FMS) they have the ability to publish their likeness using their web cam. That’s all.
When a qualified "Subscriber" account signs in, they have the option of subscribing to any of the available "Publisher" streams.
..as you could imagine...this is probably for another social networking site *hehe*.
The problem I am having is that if a "Publisher" loses the connection to FMS in a less-than-graceful fashion, their stream does not disappear (according to admin console) - BUT their "client" instance does. This creates problems elsewhere in this project.
I am using the admin api to query FMS for all live publishing streams as such:
nc.call("getActiveInstances", new onGetLivestreams(), "MY_APP/_definst_");
What I am working on a present is a swf proxy that can be queried by the DOM (via Javascript) for FMS statistics. Really, the only thing I need a close-to-real-time list of available streams – that will be used OUTSIDE of flash. (..details are purposely omitted for brevity)
I have done a lot of due diligence on this issue but can find very little information out there on forcibly stopping a stream. This seems like a very basic feature that would be built into the server- but apparently not.
Waiting for garbage collection is not an option (I know you can tune this at the server level).
Any help is greatly appreciated.
-casey
Archival Of Live Streams
I work for a broadcasting company... we are currently evaluating flash as a replacement to the existing enterprise we've built using M$ solutions. One of my functions as software engineer has been in the archival of our live broadcasts. Its a major part of the business. I need to be able to record live streams. Is there are code sample out there that will demonstrate how to do this with the information/products that Adobe has? I downloaded the "SDK" which looks like a document describing the protocols and file formats for the streams.
Can this be done? I'm mostly concerned about performance. My current archiver can do 120 simultaneous live feeds to disk. This isn't for Flash, its for M$ solutions. I'm looking for information concerning the archival of live streams in the Flash technology arena... does it exist?
Thanks,
D
Multible LIVE Streams
Hello,
My Customer wants to stream 4 simultanous live streams to the internet with approx. 200 viewers each.
Can this be done using one FMS??
In addition my customer wants the streams to be encrypted and secured with DRM.
How can I achive this using FMS??
Thanks in advance
regards
Mads Brydegaard
Copenhagen, Denmark
ComputeSpectrum / Live Streams
Hi
I`ve got a project involving recording live audio and streaming it through flash, and using computeSpectrum to react to the music.
I was wondering if anyone had any experience of streaming live audio with Flash (so far I think it's only possible with FMS) and if computeSpectrum works the same with a live stream.
Thanks a lot for any help
Using VideoDisplay Component With FMS Live Streams
Hi:
i'm working on a Flex2 & Flash Media Server Project and have a problem with VideoDisplay Flex2 Component.
I'm trying to publish a FMS camera live stream with a VideoDisplay, but it doesn't work.
I checked somo examples with the first release of Flex, but it doesn't work on Flex2.
I need some help.
Thank you.
Live RTMP Streams On The Internet
Hello, i'm looking for internet televisions , live 24 hours a day, and watchable with the Flash Player (so they should be live RTMP streams coming from a flash media server).
Do you know someone?
i tried with google but i found only tvs for WMP, Quicktime or Real Player
thanks
Resize Live Streams Dynamically
Hello!
I currently work on a supervision- and video-conference software with live-video based on flash player 8/9 and FMS2.
For this purpose i planned to realize an overview and a fullscreen-view.
Now I got this problem:
I want to stream a full-size video to the FMS and then publish this stream in two different sizes (a little one for the overview and the big one for fullscreen-viewing)
Is it possible to resize a live-stream directly on the server at runtime??
Audio Cutout On Live Streams
I was under the impression that FMS gave priority to audio over video.
In a recent app that I built, it works fine most of the time, but on a few tests I have noticed that the audio can cut out. It doesn't unsync or anything, it just cuts out and stops working for brief periods of time.
I'm just wondering if anyone else has come across this and if so, did you find a solution?
Advice On Snaphots Of Live Streams
I've got a streaming video/audio app(CHAT). and everything is working nicely. I'm going to add a snapshot function to it and i'd love some pointers. There will be approx 100users, each user will have the options of taking snapshots either single shots or a few automated ones...I'm using FMS2
1. Are there any know issues recording parts of a live stream while it's streaming?
2. Should I use the same NC and record the FLV file/ CHAT instance then do a FLV -> FFMPEG -> jpg?
3. Should I make a new NC (and stop the live stream) to a different app(snapshot) and do the FLV->jpg there
And if you have any other good advice please let me know
BR
/A
Play Live Streams On FMS3
There is a problem when I just try to develop with FMS3.I find that the stream is not so fluency when use default settings.If I code "cam.setQuality(0,100)",the problem disapeared.After that,I try to code "ns.publish(***,"record")".Then I play the stream "***" ,It's fluency.I don't know why and how to fix the problem.
Live Streams Keeping Alive
Hello, I'm using HTTP Administration API to poll for a list of live streams and their status (getLiveStreams, getLiveStreamStats). I'm doing it quite often (5-10 seconds), this is part of server backend infrastructure. The problem is that it seems to prevent live streams from terminations. I see lots of live stream with empty <subscribers> list. When I stop polling and pause for a minute or so, they disappear.
Any suggestions how to get relevant list of live streams and their stats in a better way? How to fix existing solution, so it doesn't prevent live streams from termination (I guess it consumes extra system resources)? Any config parameter?
Problem While Playing Live Streams.
Hi everyone ,
i have two streams published by two different clients, if i want to play both the two streams in a third client how can i do that ..any help?
Client 1:
ns_out.publish("Stream1","live");
Client 2:
ns_out.publish("Stream2","live");
Client 3:
Here i want to play both the above streams published...
What code i can use ?
Authentication For Pushing Live Streams To FMS3
Hi there, I have setup FMS3 and use it to test my live streaming. But I was wondering is it possible on the FMS to setup an application for live stream, so that it checks for authentication before accepting the live stream for broadcast? What I mean is if I create a live application on FMS, anyone who knows this application name would be able to push the stream to FMS. Can FMS control this with a username and password? Thank you.
Memory Consumption On Playing Live Streams
The problem that we encountered is that when we play live streams from flash media server , the flash player process in task manager start getting bigger .. so after 1/2 h .. it already reaches 2GB memory ... thats kind of frustrating. The live stream that comes to the client is composed on the server on many stream .. when one flv file is done ...another begin..when the last one is done..the first one begins , so the client sees a live endless stream . The application is here http://www.mycinemasite.com , its an online cinema. We need this problem solved asap , so if anyone can help it would be great.
Thanks in advance ,
Adrian
FMS3: Multiple Live Video Streams
Hi,
After reading the features and documentation I have a doubt: Can I have multiple live video streams with FMSS at the same time?
E.g.: Different TV stations broadcast to a single server, and then the user chooses what station wants to watch.
Thanks,
Oriol
Phantom Menace - Live Streams Not Deleting
I'm seeing Live streams in FMS Manager that seem to be left over from disconnected clients, and don't go away until the application closes. I have the normal pairs of publishing streams and live streams (we're streaming the microphone from one user to another.) When we disconnect a client most of the streams go away, but some hang around, and it seems like it's usually from Firefox. So one of the phantom streams looks like this:
Name: u1
Type: Live
Stream Data: (blank)
Is there any way to get rid of these when the client that was publishing disconnects?
HOWTO: List Current Live Streams' Names
Hi All,
I'd like in my client side action script to list or enumerate all the names of streams currently live within a server application. I cannot see properties, methods, or events on either the client side NetStream class or the server side Stream class that might enable me to do this easily. My fallback position is for every client who successfully publishes a stream to add the name of the stream to a SharedObject and remove it when they stop. Is there a more straightfoward way?
Cheers,
Tim.
Live H.263/H.264 Video + Audio Streams Feed To FMS2
For a video conference application, how to feed the live H.263/H.264/G.711 A/V streams to FMS2 and thus broadcast live conference through FMS2? Any existing solutions available to refer?
Looks like we have to trans-code the A/V streams into flash video .flv format and feed the .flv stream to FMS2. If this is not feasible, we will have to use Apple's Darwin server to stream live mpeg4 streams.
Thanks for the help.
Regards,
Live Recording
Hi friends
Is it possible to record(save) live streaming in local machine as well as MediaServer.If possible how to achieve this?:
Recording Live Broadcast
My company uses broadcasts which include both streams (coming from different users and sometimes displayed together), animations amd images mixed together on the flash player.
You can think of it as kind of flash presentation mixed with web meeting.
We would like to record the broadcast into a single video file (flv, quicktime, etc.) and streaming this file on demand from our FMS.
I am looking for a way to record what the broadcastig viewer sees when he looks at the boradcast.
Recording Live Video
Is it possible for an swf to record live webcam video, using the netstream publish method, to the same directory as the swf is located without using flash media server? Any help would be greatly appreciated. Thanks!
Lag When Recording Live Stream
I am experiencing a very strange behavior from FMS
I am conducting a live conversation between 2 people using their webcams. One of the participants have a relatively slow computer (we think its the anti-virus). When conducting the live session everything seems to be fine... Still a bit slower than fast computers but still pretty good.
We are doing the following test:
We do a combined count from 1 to 20.
participant-1 counts "1" (this is the slow computer)
Only after hearing his count participant-2 counts "2"
Again, only after hearing his "2" participant-1 counts "3"
and so on...
so the count goes from participant-1 to the server and from there to participant-2 only then the "2" count leaves participant-2 to the server and so on...
This session is being recorded. What I am getting in the recored video is very strange...
I am getting participant-2 count before participant-1. So the count goes:
2,1,4,3,6,5 and so on
How is this possible to have the order correct on the live and not on the recorded?
Problem With Recording A Live-stream
Hello Adobe communtiy,
we are developing an online application where our users can send the output of their videocard live into the internet.
The app is based on flash communication server mx 1.5.3 and a user-interface developed with flash.
Some of our our users had asked for a posibilty to record their video streams from our software to watch it later.
To realize this feature we use the internal recording functions of flashcom. While the user is streaming his content he can push a record button in the ui. Then flash-com writes the stream into a flv-file on the server. Is the recording stopped by pressing another button or timeout the user will be asked if he wants to save the record. If he agrees the flash-ui starts a script in the background which catches the flv from our flashcom, encodes it into mpeg, saves it at our webserver and adds a dataset into our database.
So far so good, we could realize all that in a short time.
We still have some problems with the recording feature from flashcom. During the first seconds there are some failures in the video, which becomes apparent in green surfaces at the edges. This failures does not come from the encoding into mpeg, because i can see them directly in the original flv if i play it with the vlc-player.
Further I could observe that the corrupted part of the video depends on the framerate of the stream. As lower the framerate is, as longer is the incorrect section at the beginning of the video. Also a low framerate causes big failures. If i rise the framerate for example to 25fps the failures are nearly disappeared, but we don't want such high framerates for our stream, because in our project mainly the quality of the pictures are important.
On action-script side the recording is done only with the folowing 3 lines of code.
The stream it self is done by minimal modified AVPresence component (FcSono in the following code)
-------8<------------------------------------------------------------------
// Video Output an stream anhängen
client_cam = Camera.get();
_root.FcSono.ns.attachVideo(client_cam);
// Stream speichern
_root.FcSono.ns.publish("UserRecord", "record");
------------------------------------------------------------------>8-------
Has anybody an idea how we can get a perfect recording without these failures at the beginning?
Greetings,
Christopher Reitz, Alcedis GmbH
Strange Live Stream Recording Issue
We are trying to record longer live streams on FMS 2.0 real-time by duplicating the stream on the FMS and recording plus broadcasting at the same time. The recording seems to work but for some strange reason FMS stops recording after the first 4-5 minutes without throwing any error. Any idea what might be causing this? Which settings should we check? Any assistance is highly appreciated.
Here is the code portion that handles the recording ('play' is the stream that is published from the streaming client):
var stream = Stream.get('broadcast/'+chid+'/'+date.getTime());
stream.owner = this;
stream.onStatus = function(info) {
if (info.code == 'NetStream.Play.UnpublishNotify') {
application.saveVideo(this.owner, this.name, Stream.length(this.name));
}
};
stream.record();
stream.play('channel.'+chid);
Thank you.
How Do You Make A Count-down Timer For Recording Live Streaming Video
I have flash media server... and I want to setup a countdown timer for recording broadcasts
Here's a Scenario:
User wants to do a Live broadcast.. But.. they don't want to just press record and have it starting Recording their video right that second. They need a Delay or countdown timer that will countdown and then start recording which would allow them to prepare for their Live Broadcasts.
Whats the best way for a script for a user to decide how much time delay they need before Recording Starts?
Ideally it would look like this:
There is a separate window that allows the user to set up a Self-Countdown Timer which will give them time to get ready for their live broadcasts and start a countdown timer and then begin recording once the timer hits 0.
User sets length of Time Delay: 30 seconds, 1 minute, 2 minutes, or even up to 5 minutes.
User presses Start Broadcast or Record Button to start streaming Live Video.
Then.. the Countdown Timer starts... and it displays in Big Digits on the users screen..... "3...2...1... then it says "Broadcasting Live Now!"
Is This Possible? If so, can someone tell me How would I do this?
Hope someone can help
Any Sample Code For Recording+playing Streaming Live Video?
Hi all,
I'm new to FMS3,
I wanna create a page for webcam live recording and playing, is there any sample code for reference (i can only found the code for live recording but do not have live record+play)?
Many thanks.
I have installed FMS3.0 and FME2.0 on my machine, so is it capable to do so?
Many thanks.
Edited: 04/10/2008 at 06:23:58 PM by Angustine
Re-sync Out Of Sync Live Streams
Hi Guys,
I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.
Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.
I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.
Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.
Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.
If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.
I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.
Any help would be appreciated!
Live Webcamp,live Chat And Sms Related Question.
Hi there,
My company had got a huge project there demand to
Show there company "live on there website, live chat and the worse part is send SMS from the mobile to the website. … and believe me I have no idea about any of these… please help. What we need and where to get it from if possible …. Please..
Embed Live Cue Data In Live Stream?
I am currently using the new FME to encode live to a FMS. Both applicatioins are running on the same machine. Is there a way to embed live cue and metadata into the live stream? Once embedded we want to record the stream AND send it on to viewers. Is there a way to process this on the server. The live cue and metadata is coming in the serial port.
Using The Debugger Remotely
Hi everyone,
I'm trying to learn how to use the debugger remotely.
I transferred my swd file as a binary file to the same folderas the swf. I enabled remote debugging and published the file and transferred it as a binary file.
When I open the html file in the browser nothing happens.
I have flash player 7 and am using flash mx of course.
How do I get the debugger to open up from the browser page?
Connect To FMS Remotely
Hi all,
I've created a flash program which can connect to the flash media server locally, but what i want is to be able to connect to the FMS via LAN or even internet, for example computer1 will have FMS installed and the correct application file, and computer2 on LAN or internet, can connect to the FMS on computer1.
right now i;ve tried using the ip address, like:
client_nc.connect("rtmp://xxx.xxx.xxx.xxx/prototype");
but doesn't work for the remote computer, can anyone help me please? Thanks.
Refreshing A Swf Remotely
Basically, I have a Flash app that relies on xml to display its contents. I want to be able to tell flash to refresh itself if the xml file changes ever changes. The only way I could think to do this easily would be to have the app periodically reload the xml file and compare it to the previous version for changes.
This wouldn't be a bad thing to have it behave in this manner, but I am just looking for other possible approaches here.
Also, if anyone has any experience running a flash app for long periods of time, I could probably use some pointers. I'm guessing a swf is stable enough to run for days assuming there isn't any memory leaks, but how about weeks? How feasible is it to set up a system where the Flash player would quit and re-open every now and then to ensure stability?
Will Pay For Flash Help... Remotely
Looking for some help getting a flash template to do what I want. It's probably fairly simple stuff for a good actionscript programmer -- nothing overly complicated. But it's been quite a while since I've done flash programming.
Willing to pay for a couple hours of help via phone and remote desktop.
Flash 8 / Actionscript
Contact me here and I'll send you my email address.
Thanks...
Can An Swf File Remotely Use Images?
In Flash 5+ can I configure an swf file to remotely use images... I would imagine it is done by having the image files to be used in the swf as 'linked files' (if this is possible) and then scripting could choose which images to use, plus the owner of the site can upload new images to the webspace which (if they had the same names etc.) would be used by the swf.
Executing Actionscript Remotely.
Hey. How do you have a text box that will take actionscript from a user, put it into a function, then execute it on the next frame?
If that doesn't make sense, here's my aim...
I want to put an swf on the web. When I go to it there is a text box on frame one, I type in actionscript and press ok. On the next frame the actionscript is executed on a ball.
So in frame one, I type:
ball.onEnterFrame {
_x+=2;
}
I press "ok"...
and on frame two, the ball moves slowly to the right. Can anyone help me here?
Obviously, I'm gonna want to do more than move it to the right, that was only an example. I will do more complex stuff like gravity and elasticity.
Thanks in advance!
-- l8erdude
Remotely Controlling Flash?
Quick question I couldn't find the answer to on macromedia.com:
Is it possible to control a flash movie remotely, ie from text links on the html page that contains it?
Or better still, can you have two seperate flash movies on an html page control each other, like one navigation flash movie controlling another independent content movie?
Thanks for your time,
Neil
Remotely Altering A SWF File
I have produced a website for a guy who owns a couple of villas he want to rent out.
On the site there is a price list that he wants to alter live. I'm not sure if this is possible! any help, tricks, strokes of genius will be greatly appriciated!
http://www.secretnerja.com
Cheers,
Jamie
Checkbox Selection Remotely
Hello there I have this need to implement a map showing different clicable areas in FLASH 8, so it can select and deselect each location by clicking directly to the location or by clicking a checkbox wich is near to the map it self.
the thing is.. i managed my self to select and deselect the checkboxes from buttons contained inside an mc each button.
this mc has 2 frames with one button each frame so in first frame it tells the ncheckbox to turn to selected AND to move nextFrame in the same mc where i putted another button so it could turn the selected state of that ncheckbox off AND to go to the prevFrame in the same mc
Ok... So good so far!!!...
Right now i noticed that i need to do almost same thing when i clic directly to the ncheckbox so when i clic and select the ncheckbox the mc containing the "remote trigger btn" would move to the nextFrame and when I clic and deselect the ncheckbox that same mc would move to the prevFrame.
Right now im using the next script in the ncheckbox:
Quote:
on (click){
if (ch_n1.selected = true) {
_root.sel1.nextFrame();
}else if(ch_n1.selected = false){
_root.sel1.prevFrame();
}
}
Where ch_n1 is the "ncheckbox" and sel1 is the mc containing the "remote trigger btn"
and it works for the first evaluation.. (selected state) but it doesn't do any change when the "else" condition is reached
I hope anyone can help me
Sending Data Remotely
Hi,
Without worrying about specifics (unless you want to give me specifics ), is it possible to have flash/ASP residing on a remote server (which I have no control over, other than uploading the site, and has not database functionality) to send variable data to another, separate server (PHP perhaps, perhaps not) for inclusion in a database? (sendAndLoad??, .send??)
Thanks!
Remotely Detecting Swf Version
Is it possible to remotely detect the version of an swf file with some actionscript code? For instance, you type the url of an swf file, and it shows you the version.
like:
http://xamplesite.com/test.swf
and it says
swf version x.x.x.x
or whatever.
Duplicating Remotely Loaded Swf...
Hello,
I have a movie clip that loads another swf from its same directory.
So, the parent swf uses the MovieClipLoader to load an instance onto the stage at runtime. I then want to duplicate this clip, but that does not work (and the Flash documentation even states that swf files loaded using the MovieClipLoader will not duplicate). Is there any way to make copies of this swf? Or do I just have to use the MovieClipLoader to keep loading more copies of the same swf?
Thanks in advance!
jON bEEBE
|