Record Live event on FMS

I have same issue by FMS and F4V format.
I want to archive live event at same time and to do that I record live stream in F4V format on the onPublish event.
This is main.asc codes:
[code]
//live stream fragments
var liveStream = Stream.get("f4f:" + streamName.name);
liveStream.record();
liveStream.play(streamName,-1,-1);
//Create Archive (f4v) for on-demand
var vodFile = Stream.get("mp4:" + StreamName.name + ".f4v");
vodFile.record();
vodFile.play(streamName,-1,-1);
[code]
So when I use h264 in my source event when FMS create f4v, F4V file is 320kb (f4v isn't growing) and just record 5 second of my event whoever my live event is more than 1 hour.
But when I don't use h264 in source event my F4V file is correct and record all 1 hour video from live event.
I don't know what's a problem
I use FMS 5 extended edition and FFMPEG for stream webcam on to the FMS
This is my FFMPEG code:
[code]
ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera" -vcodec libx264 -b:v 32k -acodec libmp3lame -b:a 64k -ar 44100  -f flv rtmp://12.11.1.3/livepkgr/liveevent?adbe-live-event=liveevent
[code]
Please advise me to solve this problem.
Many Thanks.

Solve above problem with edit FFMPEG syntax.
[code]
ffmpeg -y -f dshow -s 640*480 -i video="A4TECH USB2.0 PC Camera":audio="Microphone (Creative SB Audigy 2 ZS (WDM))"  -c:v libx264 -b:v 120k -pix_fmt yuv420p -vb 450 -an -map 0:0 -acodec libmp3lame -b:a 64k -ar 44100 -f flv rtmp://12.11.1.3/livepkgr/Liveevent?adbe-live-event=Liveevent
[code]

Similar Messages

  • 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 Stanek
    bloodforge.com

    you can creat an app folder in fms folder which is inside of
    ur setup folder,
    for details u can mail at [email protected]

  • Frames Missing When publish live video to fms server

    I am creating flex mobile application , that allows people to connect using a android camera and microphone,then recording video from android camera to Flash Media Server(FMS) 5 starter using adobe flex but when I play the recorded live video from FMS it's missing some frames. I have set the camera.fps to 30 but when I trace out the currentFPS for camera  30 and  netStream's currentFPS  returns low value, usually falls between 2 and 5 (high 1280X720),15 and 20(medium 640x480),25 and 30(low 320X240).where netStream is the object of the flash.net.NetStream class

    Hi
    I think this would be useful to you.
    http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html#WSd391de4d9c7bd609-52e437a812a3725dfa0-7ff5

  • Record live in event another server

    Hello everyone,
    I installed AMS on the UBUNTU and it's worked fine.
    Now I like to save live video events on the storage server (Storage server has Windows Operation). So I create the Storage folder in the window server and share it.
    On the UBUNTU mount the applications folder (rootinstall/applications) into the //192.168.1.100/Storage.
    Before publish video on the server I copy all application (live , vod , livepkgr , ...)  from the rootinstall/applications into the windows server Storage/appliations.
    Now when start publish video on AMS no file created in the windows server storage...!!! (Storage/application/livepkgr/stream/_definds_/Event1).
    Please advise me to solve this problem.
    Many Thanks.

    Shil@Adobe Thanks for replay
    I have a different operation to Storage live Event.
    I installed AMS on the UBUNTU (Linux) and I have any Windows server for Storage. When I edit ams.ini to //192.168.1.100/Storage AMS can't write the live videos from linux to windows folder.
    For solve this problem I create the directory in the linux server and mount it to the storage folder on the windows server, although dose not work again.

  • Streaming Multiple Live Events to 1 EC2 Instance

    Hello, we are new to the Flash Media Server world.  We are using this with Amazon EC2 integration.  We currently have a need to stream multiple streams from various locations at the same live event.  We have 3 stages we need to stream at a music festival.  How can we utlize streaming these different stages to one EC2 instance running Flash Media Server?  Currently it seems we are only able to generate one .m3u8 file with the cloudformation template.  Ultimately we'd like to have a playlist in our end player where our subscribers can access the multiple stages.  It seems this should be possible.  Any tutorials on how to do this with Amazon EC2, Cloudfront and Flash Media Server? 

    I just figured it out through hours of testing. Too simple actually.
    Create your amazon fms stack.
    in FMLE on each computer- make sure the stream has (anyname)?adbe-live-event=liveevent
    The ?adbe-live-event=liveevent  is the key.
    you can name the stream anything before the ? . (stage1?adbe-live-event=liveevent  on computer 1 , and  stage2?adbe-live-event=liveevent , on computer 2
    The rtmp address is your 1 instance or server /livepkgr from your cloudformation stack not your instance.
    (you must have this /livepkgr at the end of your rtmp. find it under cloud formation and the region you made it in.
    Then use what ever rtmp player and put the differant streamer names in with the same rtmp address.
    I use a player where clients can pick differant parts of an event broadcasting, just like your example.
    Best of luck.
    [email protected]

  • Archiving live stream at FMS and injecting metadata: VP6 good h264 not

    When I record a live stream at FMS, one in which I've injected  metadata in my main.asc file, the archived file plays back fine.  The  metadata plays back too.  I'm able to retreive it just fine - if I  encode VP6.
    If I encode h.264 the file plays back but  the metadata does not.  The fact that the archived file is created and  plays back tells me things are wired correctly.  The only thing I  changed is the format.
    According to FMS docs (http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc9 5e-7e42.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7f35)
    ..."The recording format is determined by the filename you pass to the Stream.get()
    method."
    So my record code looks like the following:
    application.onPublish = function(client, stream) {
         trace("onPublish");
         s = Stream.get("mp4:streamname.f4v");
         if(s){
             s.record();
         this.doRepublish(this.nc, stream);
    My code that injects the data in to the stream looks like this:
    Client.prototype.sendDataEvent = function(data) {
         trace("Call to sendDataEvent...");
         this.newStream = Stream.get("mp4:streamname.f4v");
         this.newStream.send("onTextData",data);
    All must be wired  correctly because the metadata comes through during the live stream.  On  play back of the archive though, the metadata doesn't appear to be  there.
    Any thoughts?
    Thanks

    My apologies on the s.play() confusion.  I had been trying different versions of the code and posted the one without it.
    Whether I include s.play() or not the file gets created.  Here are the various versions of the onPublish() function I've tried (differences in red):
    1.
    application.onPublish = function(client, stream) {
        trace("onPublish");   
        s = Stream.get("mp4:streamname.f4v");
        if(s){
            s.record();
            s.play("mp4:streamname.f4v");
        this.doRepublish(this.nc, stream);
    2.
    application.onPublish = function(client, stream) {
        trace("onPublish");   
        s = Stream.get("mp4:streamname.f4v");
        if(s){
            s.record();
            s.play(stream);
        this.doRepublish(this.nc, stream);
    3.
    application.onPublish = function(client, stream) {
         trace("onPublish");   
         s = Stream.get("mp4:streamname.f4v");
         if(s){
             s.record();
         this.doRepublish(this.nc, stream);
    All produce the same result - an archived file called mp4:streamname.f4v in my streams folder.  This file plays back fine but does not play back the commands.
    On your other question, about things working fine for VP6, it works fine for FLV.  A file called streamname.flv is produced.  This file plays back fine and does indeed play back commands baked into the file as well.  This is what makes me believe the code is not the problem.  If it works perfectly for one format, there would seem to be very little I could do in my code to break things for the other.
    Can you try this using the record() code snippets in the live docs Stream.record() section?
    http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc9 5e-7e42.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7f35
    All you'd need is the code snippets there to record your live stream and another server side function to inject commands into that live stream. Here is that function:
    Client.prototype.sendDataEvent = function(data) {
        trace("Call to sendDataEvent...");
        this.newStream = Stream.get("mp4:streamname.f4v");
        this.newStream.send("onTextData",data);
    Do something simple like call onTextData and pass some text in the data parameter.  Then on the client side viewer, handle the onTextData method.  It will receive the text.  Display it in a text area or something.
    If you record while injecting this text into your stream, the text should display on playback of the archived file.  It will if you encode VP6/FLV, but not if you encode H.264/F4V.
    Let me know what you discover.

  • Problem playing remote live stream from FMS

    Hello all,
    I'm having problems playing remote live streams from FMS (server-side) that I can play with any other player (client-side)
    Example of server-side application which plays a remote live stream:
    nc = new NetConnection();
    nc.connect("rtmp://remoteserver/live");
    stream = Stream.get("localStream");
    stream.play("remoteStream.flv", -1, -1, true, nc);
    This code works only sometimes.
    Most of the times, FMS is able to connect to remote string and the localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
    In this case, FMS is publishing the local stream but it is not playing the remoteStrem on it.
    The rest of the times, localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
       NetStream.Play.Start
       NetStream.Data.Start
    In this case FMS plays the remoteStream correctly.
    Any hint to solve this issue?
    Regards.

    Thanks, I tried your code and it works when playing a remote live stream on another FMS.
    But the remote live stream is not on a FMS but on a Wowza Server which re-streams an RTSP stream over RTMP.
    With this code:
    var nc;
    var myStream;
    application.onAppStart = function(){
         nc = new NetConnection();
         myStream = Stream.get("localstream");
         myStream.onStatus= function(info){
               trace(info.code);
         nc.onStatus = function(info){
               trace (info.code);
               if(info.code == "NetConnection.Connect.Success" ){
                    myStream.play("remoteLive.sdp", -1, -1, true, nc);
         nc.connect("rtmp://remoteServer/live");
    Every live stream player I tried was able to play the remote stream "remoteLive.sdp", but FMS play it only sometimes. This is the output log of the FMS application:
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset
    NetStream.Play.Start         <--------------------------------- Stream is playing just fine
    NetStream.Data.Start
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset       <--------------------------------- Stuck there, stream won't play
    Any idea? Why FMS won't play it everytime?
    Regards

  • When will we see live events

    So, now Apple TV gives us access to the biggest on-demand library of content (well, needs a few more movies) at the click of a remote control button. If NBC joins up, I effectively do not need, nor want, cable or satellite TV any longer to watch series.
    But the the next step is obvious: pay-per-view on-demand live events. Everything from sports, concerts, news, whatever. Does anyone else share my view that this is less less than two years away? And that, if Apple offers this, they could indeed become a gargantuan global media distribution company?

    Hi EE,
    unfortunately, I think that ATV will not be as successful as it could be because people will look at it the way you do. As a sort of computer/TiVo/iPod thingy.
    I started to look at it as a portal for on-demand media of any sort. I can go into TV shows and can chose any episode from any TV show from any Network I want to watch right then and there and watch it right away. That's IPTV for me. Whether the technology behind it downloads the episode to to a hard disk is of no concern to me, except that this allows me to transfer that TV episode to my iPod.
    IPTV as you describe it, i.e., sending regular linear TV programming via telephone cables, interesting, but really, is there a benefit to me, as a consumer? And on-demand from IPTV as you describe it is the same as what you get from ATV, only that yuo would call the downloading "buffering" and you dont get to transfer the file to iPod.
    On-demand live is a weird construct, I agree. I meant that firstly, I can chose to watch any live event going on. I am not dependent on TV channels deciding whether they should show Formula 1, Wimbledon, NBA basketball or Chelsea vs Arsenal Cup game. It will all be available. Secondly, if, say, the Live 8 concert is on live, I will be able to chose whether I want to start from the beginning or into the live stream. And to do this, I dont have to mess around with a TiVo or anything. I just do it all with the little Apple Remote and it is all intuitive and does not require me to do any planning, recording, programming; because its all on the Apple Servers.
    Think about the ATV like this, forget the idea that you "download" something, just pick what you want to watch and go for it, dont think about whats going on with the hard drive. I really am not sure what you then want from "IPTV" that you dont get from ATV (except the live events).
    I would love to hear your views, because maybe I am just missing something?

  • Recording Live Concerts from Soundboard (Macbook 2012)

    Hey there, new to the forum. Decided to sign in after discovering and reading on here that my Mac was built with out the option for input on the headphone jack. So I have an external sound card for home recording but I am looking for the easiest way to use my mac to record live shows. I could use te external sound card but I would like a direct input option as the more equipment the more impatient  sound guys can be.
    So I am wondering if you guys have any advice. I know the imic is an option. What about an rca to usb recorded with logic? I don't know, if anyone has solved this problem I would love to hear what you did. I am hoping to not have to buy a bunch of things for trial and error...
    thanks 

    ZMT10 wrote:
    We're playing music at a couple venues, through a PA system. We want to record this.
    GB is not the best choice, an audio editor would be a safer bet for "unmanned" recording:
    http://www.bulletsandbones.com/GB/GBFAQ.html#audioeditors
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    I'm not too concerned (right now)about mixing, tracks for each instrument, although I would like to know if that's possible
    if you only send a stereo signal to the mac, then, no. you'd need an audio interface that offers multiple channels, and of course you'd have to send IT multiple channels.
    ...but right now I just want to plug the output of the soundboard into my Macbook and record the entire show
    http://www.bulletsandbones.com/GB/GBFAQ.html#recordlinein
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    I did put the master track info or something to "rock- live gig".
    don't, all effects affect playback only, you'd just be adding unnecessary draw on the CPU without any change in what's recorded

  • No Signal Recording Live Audio w/ MBox

    Sorry if this is a tired subject here.
    I'm trying to record live audio via the MBox2. I've checked Logic preferences and changed devices to MBox. I've checked system preferences and changed input to MBox and output to built in audio. (1/8 inch headphones and no adapter for 1/4 inch). I've downloaded and re-downloaded every driver that digidesign has for standalone coreaudio (tiger).
    My problem:
    There is no signal coming to logic from the Mbox. There is a signal coming to the system. When I check system preferences>audio and play my guitar, it shows signal on the input. I have also successfully used the same MBox to record midi tracks. Am I missing a setting in Logic? Any solutions?
    Much Thanks

    Great...that is helpful. But, Logic is still not receiving any signal from the MBox. So, when I try and record without being able to hear it's not receiving any input and doesn't record anything. I've recorded live audio in GB via the same method but upgraded to Logic and am not able to do the same.
    This will be helpful to hear the instrument but it's still not able to record. Any ideas?
    Thanks

  • Recording live TV?

    I want to record live TV on a Mac Mini, but I don't know which one to get: Elgato's EyeTV HD or BlackMagic Design's Intensity Shuttle for Thunderbolt? I was hoping to record TV shows broadcast in HD into an "Uncompressed" format, which is a format supported with the Intensity Shuttle. Is "Uncompressed" video quality worth the hard drive space when compared to the Elgato's EyeTV HD's bulit-in hardware H.264 encoder? Also, will I ned to get an SSD or will the Mini's stock HDD be more than enough to record "Uncompressed" HD shows?

    Pikachu10 wrote:
    But, I take it that I won't need to upgrade from the HDD to an SSD, not because of the read and write speeds, but rather the amount of storage space is more important than the read and write speeds of either the HDD vs. SSD?
    If you take the numbers above, even at a 16 bit pixel, you need a transfer
    rate of ~100 megabytes/second.  No sinlge HDD would be able to achieve
    that.  If there are any, it would not meet it by much.
    Actually, to acheive this rate of throughput (or greater), most studio
    type environments use several hard drives configured RAID0.
    Bottom line, If you are using a standard TV that you get in any store
    and not a studio grade monitor, you will not see any difference between
    "uncompressed" video vs. a Bluray HD level of compression.  Besides,
    anything you are getting via cable, satellite, or over the air, has already
    been compressed, so in my opinion, recording as uncompressed video
    would really seem pointless.

  • Recording Live TV in DV Quality

    Is there a way to watch and record live televsion in .dv quality video on my Mac? I was looking for a hardware, software combo? I looked at the El Gato stuff, but it doesn't seem to be of the highest quality video. 1 to 2 GB's would record one hour of high quality video on their stuff. Where as one hour of dv video is almost fifteen GB's.
    I am running the composite cables from my DirecTV to my EyeTv Box (it is at least 6 years old), but the picture is not that good. I have a Sony digitizer and could watch tv through iMovie, but you can't watch video you are importing in fullscreen and I want to be able to schedule recordings, etc.
    Is there some high end stuff out there that lets you watch and record in the highest quality video? If dv quality is not possible, it has to be very close or I will just stick with what I have.

    just to mention a few tech hurdles...:
    * TV isn't broadcasted in "dv quality"; it is (highly) compressed, esp. stuff via sattelite
    * TV, fullscreen , fills just a fraction of you Mac's monitor... 640x480...
    * older converters as the Formac offers direct conversion into dv codec...
    * or, kind of workaround: connect miniDV camera to some TV tuner...

  • [AS] Can Applescript record InDesign events ??

    Is is possible for the script editor to record apple events from Indesign? Ie. Press the record button in the script editor, do some stuff in Indesign and have the commands automatically recorded.
    If so, what is the criteria for this? CS1, CS2, CS3 ? MacOS 10.x ? Applescript version ?
    if not, is there a third-party plugin that will do this?
    (Many moons ago Quark (Agghhh) had an extension "ScriptMaster XT" which would allow the recording of events to the script editor)
    Currently wrestling with the limited topics that are covered in the Adobe AS guide. (Ie. lots of stuff on text, very little on images).
    Thanks in Advance.
    Matt.

    On 9/5/08 11:57 PM, "Matt McGregor" <[email protected]> wrote:<br /><br />> Is is possible for the script editor to record apple events from Indesign? Ie.<br />> Press the record button in the script editor, do some stuff in Indesign and<br />> have the commands automatically recorded.<br /><br />No. Very few apps are recordable these days.<br /><br />> (Many moons ago Quark (Agghhh) had an extension "ScriptMaster XT" which would<br />> allow the recording of events to the script editor)<br /><br />And what a dog's breakfast it used to produce...<br /><br />-- <br />Shane Stanley <[email protected]>

  • Show & Share Live Event Full Screen Disabled

    Hey,
    Has anyone else encountered this. When we are boradcasting a live event the 'Full Screen' button in Show & Share is disabled. I'm pretty sure this functionality used to be availabel but have no idea why its suddenly not.
    Any help would be appreciated.

    this button is off , can not be used by the client . In the above when i said use more tab show below
    on show and share - videos
    Browse to the video
    On the video playback screen, click the More button
    Choose Fullscreen
    http://www.birdvilleschools.net/tims/techsvcs/resources/pdf/Manual.Cisco.DMS.pdf
    please find link search fullscreen
    thank you
    please rate if this will help

  • How can one record live and simulatoneously show what is getting recorded?

    hello friends
    how can one record live video and simulatoneously show what is getting recorded?
    please help?
    Manmeet

    i have found solutions
    thanks

Maybe you are looking for

  • Customer payment history - KNB4 table

    Hello everybody, I am facing the followig situation in a production system of one of my clients: - the report S_ALR_87012177 (reading the table KNB4) outputs an amount (let's say x) as payments for a certain customer - report FBL5N shows a different

  • Shutter button for Iphone4?

    Hey everyone, Do you think that this is a great idea? i think that apple should make the volume button on the iphone double as a shutter button for the camera. i really hate having to tap the screen when im taking a photo. this just make sense to me,

  • Looking for best practices advice

    Hi all !! We are planning to migrate an old application and are evaluating products, tools and frameworks. I've just finished the Netbeans tutorial at http://www.netbeans.org/kb/55/vwp-inserts_updates_deletes.html The application is not too complex b

  • Re-order fields of a view criteria

    We have a view and in that view we defined a view criteria. The view criteria is based on 5 different views. I need to sort the order of attributes. And this cannot be done by sort order since we don't have access to all the attributes in the one "Vi

  • Make a pdf of score?

    How on earth do you create a pdf of a score part that has several pages. It doesn't work with the camera tool function. Thanks!!