Recording in f4v format at FMS and then republishing to another server?

My data path looks like this:
Live Stream Encoder====>My FMS (my own server) republish to======>CDN======>Viewing Client
I want to archive the live stream at the first stop, my FMS.  Adobe live docs say if I want the recorded file to be of format F4V (H.264), the stream name with which I publish must be of the format mp4:streamname.f4v.  My CDN, unfortunately, requires the stream name it receives to be of the format "streamname".
How do I satisfy both?
In my onPublish() function I do two things:
1.  Record the live stream to a file
2.  Republish the stream to the CDN
Here is that method as it's currently constructed:
application.onPublish = function(client, stream) {
    trace("onPublish");
    //First record the stream here at this server 
    s = Stream.get("mp4:streamname.f4v");
    if(s){
        s.record();
        s.play(stream);
    //Then pass the stream on to the CDN
    this.doRepublish(this.nc, stream);
Is there anyway to satisfy both requirements?

Hello ASA,
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 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.

Similar Messages

  • HP-625 laptop when you install any (full or empty), flash card reader to format it asks and then ask

    HP-625 laptop when you install any (full or empty) flash card, card reader to format it asks and then asks opyatt otformotirovat. that make the laptop under warranty until 01/29/2012

    Please identify your notebook with the p/n on the barcoded sticker on the bottom and state your operating system.
    I suggest that you install the essential System Updates for Window 7 for your notebook if your OS is Windows 7 32 or 64-bit.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Whenever I have a pdf document open, and then switch to another tab to view another webpage, the scrolling function on the touchpad will not work. This seems to be a glitch with Mozilla, according to Dell. How do I fix this?

    When I open a pdf document (like an E-version of a newspaper) in Mozilla and then switch to another tab to view another webpage, I am unable to use the scrolling function on the touchpad. I have to use the up and down arrows to get other pages to scroll. When I close that pdf document, everything works fine. I talked with customer support with Dell, and he said it was probably a glitch with Mozilla. So I tried to do the same thing on IE, and there was no problem scrolling with the touchpad while a pdf document was open on another tab. I would like to get a fix for this so I don't have to keep closing open pdf documents in order to scroll with the touchpad while on other tabs. Thank you

    Hi elliezzz,
    If you are having issues with your iPhone not being recognized by iTunes, you may find the following article helpful:
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    Regards,
    - Brenden

  • HT201413 after downloading 2 albums ifind that most of the tunes only play for a short while and then switches to another tune does anyone know what the problem is and how to rectify it?

    Hello there ive just downloaded 2 albums from itunes store and found that they only play for a short while and then flips onto another tune which again only plays for short while so on and so forth which makes the albums completely useless does anyone have a solution?

    Assuming you are in a region where you are allowed to redownload your past purchases, delete the current copies from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    tt2

  • My time capsule was working and then I added another Macbook pro. TC stopped appearing in Airport Utilities. I have tried resetting TC, I have turned if off and held reset button with pen for 10 secs. I just cannot work out what else to do?

    My time capsule was working and then I added another Macbook pro. TC stopped appearing in Airport Utilities. I have tried resetting TC, I have turned if off and held reset button with pen for >10 secs. I just cannot work out what else to do? I have turned router off and on. Amber light is flashing.

    The ethernet says self assigned IP 169.254.67.6
    Then the ethernet is not getting an IP from the TC.. there is no connection.
    I am not sure where you mean when you say the green LED should be on. Do you mean the TC?
    Thanks
    In order to help troubleshoot ethernet connections all routers use connectivity leds.. even APPLE.. it has one big LED on the front.. and 4 tiny leds beside each ethernet port. That light has to come on for ethernet to be active.. if you plug an ethernet cable into the port and the light doesn't come on.. then there is no connection.. either the other end isn't plugged in.. or the cable is bad.. or the ethernet port is bad.. something is wrong.
    To get access to the TC you need this led to be green.. is it?
    If it is green and the WAN is also green.. then I want you to unplug the WAN connection.. the blue wire in the picture.. the port slightly separated from the 3 LAN port.. computer plugged just into LAN port.. no airport turned on.. and press the reset again for 10sec until front led flashes rapidly.. then try and bring up the airport utility again.. assuming the ethernet led is green.
    How old and what model is the TC?
    The A number from the rubber mat will tell us the model.

  • My iPhone 4s (bought today) won't get past the activation screen. It says 'it may take a few minutes to activate your iPhone' and then skips to another screen saying 'activation failed - try again'. Any solutions?

    my iPhone 4s (bought today) won't get past the activation screen. It says 'it may take a few minutes to activate your iPhone' and then skips to another screen saying 'activation failed - try again'. Any solutions?

    Apple's activation server is down.
    I called Apple and the support team had the same issue.
    All you can do is be patient.

  • TS1362 Two weeks ago Purchasing 60 songs from iTune store.So Two of them play only half of song and then jumping to another songs.What is could be?Or can i get repair this two downloads?

    Two weeks ago Purchasing 60 songs from iTune store.So Two of them play only half of song and then jumping to another songs.What is could be?Looks like is not been downloaded full.Can i get this two songs to play correct?Many thanks Aleksejs!!!

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Can I record sound using a microphone and then upload it to server?

    Hello guys I thank you in advance for reading this. What I want to know is if it is possible to record a sound clip using a microphone and then upload it to the server using a swf applet in a webpage. Im an experienced java/javascript programmer but just starting out with flash/action script. What technologies will I need to do this? Can I do this simply using simply an swf file and an apache/php or jsp page? Again, thanks alot for your help.
    -BeWilled

    You can Microphone class in Flash to record the sound and it will directly upload to FMS server .
    Use the Microphone class to capture audio from a microphone attached to a computer . Use the Microphone class to monitor the audio locally. Use the NetConnection and NetStream classes to transmit the audio to Flash Media Server. Flash Media Server can send the audio to other servers and broadcast it to other clients running Swf files .
    Below link might help you in doing this : http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html

  • Music only plays for 15 seconds and then goes to another song

    I upgraded to ios 6. Since then, my old songs only play for 15 seconds. Anything purchased after the upgrade, plays the whole song.  Anyone ????

    Sure your gone for the day, but no luck. Still get 15 sec and then on to the next song.

  • Why do some songs in my library now only play for a few seconds and then skip onto another song?

    Some songs that previously played without issue now just play for the first 10 seconds or so and then skip onto the next song

    I wish I could provide you an answer, but I am experiencing the same issue myself. It's somehow iTunes related from what I have been able to figure out.
    Here are a couple of clues I've picked up so far:
    Somewhere between 20-30% of the songs in my library are affected.
    I have only seen AAC encoded songs exhibit the problem (iTunes purchased, not imported).
    I haven't seen the issue with any songs I bought after Jan 20, 2009.
    Playing the same song file in quicktime doesn't reproduce the issue.
    Affected songs skip on both iTunes and the iPod app of my iPhone 4 alike.
    Forcing the song to stop at the end through the song options doesn't resolve the problem.
    Songs skip (end) at random times from song to song, but repeatedly for each song at the same location.
    The biggest clue that I've found is that when I find an affected file, almost all songs I purchased on that date exhibit the same problem. (I have only found a few examples when it does not affect every song on the same purchase date group.)
    Some details about my setup:
    Windows 7 Professional
    iTunes version 10.6.3.25
    iPhone 4 running iOS 5.1.1
    Any help would be greatly appreciated.

  • How to download GUI status and then upload to another system?

    Hi,
    I have a requirement to copy a module pool program to another system (different system, it cannot be transported to that system)
    We have options to download/upload programs/screens in SE38 and SE51. But, I couldn't see any such option in SE41.
    Is there any other way to download GUI status from SE41 and then use that file to upload in other system?
    Thanks in advance.
    Regards,
    Arun Mohan

    Hello Arun,
    If the object's transport order has been released, you can ask your basis person to download and import that request files(Co file + Data file) from the current system to the new system.
    This is the easiest possible way to achieve your requirement.
    Regards,
    Karthik D

  • BPEL or OSB for reading data from db and then writing to another db

    Hi All,
    I have a requirement of reading the data from a table in one database and then writing into the table in another databas.I dont need any transformation on the data.
    I understand that i can do this by creating a BPEL process with DB adapters.
    Is there any better way of implementing this.I am new to OSB and If need to use OSB, then how can we do this in OSB and what are the advantages of using OSB over BPEL in implementing this.
    Thanks,
    ashok

    probably it would be much easier to develop everything in JDeveloper using DBAdapter.
    You can run it inside SOA Suite, but you don't even need BPEL, just use Mediator.
    Otherwise you can export all the JCA and WSDL and XSD paraphernalia from JDeveloper and import into OSB, it should run smoothly.
    How do you trigger the transfer? Polling the DB to look for new rows?

  • Deactivation and then Activation on another computer

    I purchased and then downloaded via internet Adobe Photoshop Elements 9.  Then bought a new computer.  How do I deactivate Adobe Photoshop Elements 9 from one computer and then activate the progam on another computer?

    Choose Help > Deactivate on the first computer and then uninstall the software.
    Install on the second computer. The software should activate automatically.
    See http://kb2.adobe.com/cps/100/1008779.html for details.

  • When I switch on my brand new iPad it asks me to move the slide to begin set-up. A list of languages appear and I tick English and then next. Another list of languages appear but nothing else happens. I press Back and it goes back to the first list and a

    When I switch on my new iPad it asks me to move the slider to begin set-up. A list of languages appears and I tick English then NEXT. Another list of languages appears and the only thing to do is press the home button or BACK. I press BACK and it returns to the first list. I press the home button and a message appears saying that SET-UP was not completed do you wish to retry or continue. I press CONTINUE and nothing happens I press RETRY and it goes back to the message. What am I doing wrong or do I need to connect to I-Tunes to set-up ?

    Try to connect to iTunes during the setup.

  • Why wont the full length of the chapter in my dvd import into imove. Also I tried to cheat by recording it play off my screen and then import that but it wont record it. Any tips please?

    Ive converted my video to imovie compatible format MPEG-4 so why won't the full length of it import into imovie? I cant record it using screen record either, the recording shows me clicking around and trying to record but after a split second of the desired footage shows it then cuts out to white and grey checkers. How can I convert it better or record it when playing off my screen please?

    Do you have a backup that you can restore from? Your old hard drive seems to be the problem.

Maybe you are looking for

  • Excel Report Generator Error

    Hello, I have a test application that uses MS Excel Report toolkit to print the test results using a custom template file. When I try to print the test results I get the following error -2146959355 (see attached picture). Any idea what triggers this?

  • Problems in creating a Value Contract

    Hi, I'm trying to create a value contract using VA41. The process succeeds for one sales organization, but for another sales organization, I am getting a line in the document incompletion log, saying G/L account data is missing. This is despite the f

  • Slow loading of urls

    I have a dsl connection but often the websites load very slowly, often to the point where Safari or Firefox time it out. I have the same problem with either brower or Internet Explore. I have done the permission repair. The provider says everything c

  • IPhoto organization in iTunes? It IS supposed to be a LIBRARY you know.

    When are we going to see some kind of multiple library function in iTunes similar to the way iPhoto is set up with "Events" organizing the photos. Having one gigantic list of songs that is the only way of viewing your main library (no playlists don't

  • "IR date in MIR5"

    Please let me know the name of the transaction/transactions through which I can use the field REINDAT to populate the table rbkp. Rgds Raghu Shetty