Media Server :: Can't Continue To Record Stream With Record Mode "append"
Apr 11, 2012
I develop failover fms application with server-side action script. But i have a problem that FMS can't continue to record stream with record mode "append".
Environment: FMS 4.5.1 r484 on CentOS 5.5/6.0
Goals:
I have 2 same data streams in failover application and republish primary to livepkgr application.
I have to store of last 10 hours intact recorded video (DVR).
Failover app logic:
1. I create NetConnection and NetStream to livepackager;
2. When primary stream is connected it attach the primary stream to livePackager NetStream
3. If primary stream is disconnected it reattach the backup stream to livePackager NetStream
Problem: I have testing environment. It stop primary stream every 5 min, and started primary stream 5 min after stopping.
It work's, fine, but after a few hours testing LIVEPACKAGER falls. It can't record a stream, NetStream.Record.Start -> NetStream.Record.NoAccess -> NetStream.Record.Stop
Search a solution: I try to relaunch recording process and have no success. try to shutdown/start livepackager, it's same, try to restart server, same no success.
I cant stream.clear() or record with mode "record" cause it clears my dvr cache, I cant clean stream directory in livepackager application.
I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file
this may be really dumb question, but I haven't figured it out. Is it possible to stream to ustream with lets say 300 bitrate and record 1000 bitrate video to computer
I would like to "pull" a stream from a remote FMS to a local FMS and record this stream in the local server.I couldn't find a way to pull this stream, I can only publish/push. As I can not save scripts to the remote FMS I can not push the stream to my local FMS.I was looking into the NetStream class in the FMS and there is no way to play a stream from the remote server.
I'm attempting to use FMIS to try and record a user's webcam as a file on the serer.Saving as .flv works fine but when semyStream.record("mp4:"+mystreamName+".f4v");It creates the file but its only 20kb and empty.Do I require a plug-in or component? Or do I have to record as FLV and then convert to another format?
I'm pretty new to flash media server (and adobe technologies in general). I have an Air app that publishes a camera stream to the server, that can be played live by the same app on another computer/device. I would like to record to disk all audio/video passing through the server (on the server side) while streaming it at the same time. How can I accomplish this?
I just tried to record a stream with the new H264 classes, PCMU as audio codec to FMS 4.5. with MetaData problem. I got only the half of MetData without any duration: neither any audio codec
I want to publish and record video stream in h.264 and audio stream in AAC format . Does flash player support to publish video stream in h.264 format ? And which version of flash player and FMS could implement this function ?
I have seen lots of different things about recording live streams (maybe too much, pieces everywhere but no one good source for the answers), but not what I am looking for...I want to setup recording of live streams on FMIS 3.5 where the file is named the stream name plus a timestamp (something like streamname-yyyymmddHHMMSS: myteststream-20090928101015).The people who use our site tend to start/stop several times (we are dealing with events that have breaks) and I want to be able to combine all the files with the same name into one big file on the server side afterwards using some utilities.I cannot find a tutorial that walks you through the different functions, the differences between them, and how recording is setup/works.
So I have FMLE and FMS. to record and stream video at the same time. On server side I have "main" application.onPublish = function(client, potok){ potok.onStatus = function(info){ for(var i in info){ trace(i + "=" + info[i]); [Code] .....
goal is to record a stream from a webcam with the best possible quality regardless the bandwith of the user.(it doesn't have to be live or broadcast, just stored on the server)
is it best to record from server side with asc script or directly from the flash player ?what are the parameters on the server that i can play with in order to cache locally the stream if the bandwith is not high enough ?
I'm looking for a solution where clients watch a live stream video and can record part of this stream while watching and save this recording to disk. I can think of several solutions but not sure if any of them is possible:
- The selected part is recorded locally and saved through FileRefence. - The selected part is recorded with FMS though a second NetStream and saved with a unique ID. The user can retrieve the recorded video by download. - Start-time and end-time of the recording are send to the server where some script extracts the requested video from the live stream recording file and return it as a download.
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.
I want to record a stream which is published with Flash Live Encoder to FMS 3.5, but split the recording in files with predefined length. For example if a stream 'webcam' is published I want to record it in chunks of 10 minutes: 'webcam1.flv', 'webcam2.flv' ... From what I can tell there's no facility to work with timers. The only solution I could think of was using stream.record() with a time limit parameter but that seems like a hack because it triggerstStream.Record.DiskQuotaExceeded on the stream when the recordin should stop and start recording another chunk. Has anyone done something similar?
i have fms installed on a server, say server1. my flash files (swf) which allows user to record audio is on server 2. in the swf file, the connection is set as follows: nc.connect("rtmp://server1/test");
im able to view flash videos on server2 which streams from server1. however, i cannot upload any recording to the above directory. does the recording goes to the application or webroot folder? do i need to set any authentication to connect to server1(fms) from server2(swf)??
I'm trying to append a live stream to an existing file, but I cant figure out how to open the existing file and then append the live stream. This is server side as well.I know I need to open the existing file using stream = stream.get("file"). but I don't understand how to associate stream with the live stream coming in.
to generate thumbnails of the streaming video to control de contents of the video streaming. Could I do that in the server side?There is any setting to do that? Could I use the getOnMetadata method to catch a bitarray and then put in into a bitmap file?
i know the way to capture the mic's sound,My idea is to make an application to record songs palyed by other app,like Windows Media Player,Yes, Just capture from the soundcard,
When i click record_btn, flash asks me permission to access my webcam. If i alow in the screen i am able to see live video. But I want to store the video and replay it.
Flash Media Interactive Server 3.5 or later supports recording of streams using the H.264 codec, directly on the server. Archive high-quality live streams so you can quickly deploy the content on demand after your live event is over, and use the free F4V flattener utility to prepare your file for video editing using Adobe Premiere Pro CS5."
there is no problem to record the stream in flv format but i don't find a way to record using h.264 compression
I'm trying to record a video to the default FMS vod application with a flash movie, i'm getting this error: "NetStream.Record.NoAccess". I think the problem is not in my code, but just to make it sure, here is it:
var mycam:Camera = Camera.getCamera(); mycam.setMode(320,240,25); var myvid:Video = new Video(mycam.width,mycam.height);
[code]...
i checked and the connection to the server is fine.if i use live streaming, than it's fine (of course in this case i use the live application).It's maybe a file system related problem. I use windows 7, and given all permissions for all the users.. still dont working.