Live stream problem with FMS 4.5 + FMLE

Hi,
I've got a live stream (and DVR) setup using FMS 4.5 and FMLE.
The hardware for the FMS server we use is 2x Xeon E5645 2.4GHz, 32GB RAM, OCZ RevoDrive R3 X2 PCI-e SSD. Installed OS is CentOS 5.8.
We have 6 workstation PCs, each equiped with 4 BlackMagic Intensity PRO capture cards and FMLE 3.2. Using these PCs we stream Live video to FMS server.
Video stream is grabbed from HDMI cable, to BlackMagic Cards, which are encoding by FMLE using H.264 format, 700kbps bitrate per stream.
Video stream is published to server through RTMP stream, which is later saved for DVR in RAW format. We only keep 3 days of recording and delete the old ones.
Server and Encoder PCs are in the same network, connected by gigabit managed switch.
The problem I'm having is that after 10-15 hours FMLE starts to drop frames, because video buffer is increased. What I observed is that this happens immediately when Server CPU load increases above 60%.
Based on the above observation I decreased the number of channels streamed by the server to 10, which reduced CPU load. But the problem still persists.
Whenever I restart FMS and delete all DVR data, the CPU load (when streaming 10 live channels) is only 1%, but after 2 days CPU load increases to 50-60%.
Whenever I restart FMS and don't delete DVR data, the CPU load is 5-10%, and after 2 days it still increases to 60-70%.
Another thing I observed is that there is only single fmscore process running, but it has lots of threads which are switched on and off in split seconds. These threads are launched on different CPU cores, but at any given point in time the distribution of the load isn't equal among CPU cores. This leads certain CPU cores being loaded by more than 60% and frame drops start to occur.
For the moment there are just 10 users watching this service, so I don't think this load accounts for the problem.
Has anybody had similar problem, or know how can I optimize or finetune the system to run without problem? I would appreciate any suggestions.
Another thing I noted through last couple of days:
When I was restarting FMS the CPU load was reduced to 30%, but after 1 week past when I restart it CPU load only goes down to 75%. Everything is the same, nothing has been changed and there is no disk IO issues involved.
P.S. I've modified application.xml using these values:
<Scope>vhost</Scope>
<Distribute numprocs="5">app</Distribute>
<LifeTime>
<RollOver></RollOver>
<MaxCores></MaxCores>
</LifeTime>

Hi
How many channels are you publishing?
If there are too many channels, it is recommended to have one  FMSCore process start for each of them. To do so, you will have to change the scope to app.
---snippet---
<Application>
<Process>
    <Scope>app</Scope>
   <Distribute numprocs="3">inst</Distribute>
</Process>
</Application>
Also, to delete older content, you will have to enable disk management. Refer http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSec225f632fa00875-23954b6f1300b641158-8000 for more info.

Similar Messages

  • Sending Live Stream from one FMS to another FMS

    Hey,
    Here's what I would like to do:
    1. The Flash Media Encoder sends a live stream to FMS 1
    2. On FMS 1, a connection to FMS 2 is set up and the live
    stream is sent to FMS 2.
    3. Every second, a message with metadata is sent to FMS 2
    using Stream.send()
    4. A Client connecting to FMS 2 receives the stream and the
    metadata that was sent along with it.
    I know this sounds pretty confusing, but the main problem is,
    that I don't have access to the FMS 2, so I can't call
    Stream.send() there. First I thought the solution would be using
    Stream.play() with a remote connection, but when I call the
    Stream.send() method nothing happens on the client side.
    Then I thought I could do the whole thing by using a client
    side application that connects to FMS 1, receives the stream,
    embeds the metadata and publishes it to FMS 2. Here's the code I
    used:
    // Connect to FMS 1 to get stream
    client_nc.connect("rtmp://localhost/encoder_stream/room_01",
    "Client");
    // Create input stream
    in_ns = new NetStream(client_nc);
    // Connect to FMS 2
    akamai_nc.connect("rtmp://localhost/akamai/room_01",
    "Client");
    // Create new stream, feed with in_ns and send to FMS2
    out_ns = new NetStream(akamai_nc);
    out_ns.publish("stream");
    out_ns.attachVideo(in_ns);
    Unfortunately the attachVideo method only accepts a camera
    and not a netstream object.
    So this is where I'm standing now... anyone any ideas?
    thanks

    Hello,
    i've asked our Akamai contact and they say it's not possible
    to install any scripts on their servers. I think the only way is to
    push the stream from FMS1 to FMS2, but since FMS doesn't support a
    push method, there i have to find another way *sigh*
    I've heard about FMS version 3 coming up soon, and I'd really
    like to play around with the alpha version. Any idea where you can
    get it from? On Steve Wolkoffs blog it says the new FMS is going to
    support a push method:
    http://blogs.adobe.com/dreaming/2006/10/fmsnext_feature_open_thread.html
    I've also played around with the Red5 server, but I couldn't
    find anything there to achieve a server side push method. Does
    anyone have any experience with Red5 and live streaming?
    Cheers!

  • Dynamic Streaming - problems with MP4 (h.264)

    Hey Flash Guru's
    Im wondering if anyone have had any similar problems with the MP4 (H.264) format when implementing Dynamic Streaming using a FMS server?
    Basicly we developed a player that detects the users bandwidth and plays the appropiate VOD stream (500, 1000 or 1500 kb/sec). Its tested with NetLimiter and works perfectly switching bitrates/files during the movie with both MP4 (h.264) and FLV (On2Vp6).
    The problem occurs when you seek (jumps in the progressbar). When playing the MP4 files the player often uses 2-10 seconds to start the stream again. But when using FLV files the seeking is seamless and starts the stream within 2 seconds everytime.
    So my question is if the FMS servers, Flash or the Dynamic Streaming got an issue with MP4 files?
    Any help would be appreciated.
    Best regards
    Bo
    Denmark

    H264 content does take quite a few images to get rolling before playback starts.  That's normal but it shouldn't take 10 seconds - it sounds like your buffer length might be overly long and it's taking a while to fill up after the seek.  Consider keeping a short buffer like as small as 0.1 seconds for playback starts.  Once you get your Play.Start or your Buffer.Full message then you can adjust the buffer length on the fly to something longer to handle the bumps.
    It's also possible that you're getting the high bandwidth stream again when you seek by mistake.  Check your server logs to see that you're getting the play that you're expecting there.
    Asa
    FMS

  • FMSS3 Live Streaming Problem

    I developed an application which streams a live video. It works fine with FMS 3.5(developer edition) but doesnt work with FMSS3 (full version). Can any one tell me where I might have went wrong?

    Thanks Jay Charles.
    I dont have any application code files. With Flash Live Media Encoder 3 I am encoding live video and am streaming it to FMSS 3. Then I have a SWF file which has only a flv playback which connects to that stream with rtmp, isLive parameter is set to true. And the same swf (only source of the flvplayback has been edited) works fine with FMS 3.5 but not with FMSS 3. Canyou tell me where I went wrong?

  • Live Data / Problem with file permissions

    Just trying out an old version of Dreamweaver MX 2004. I am
    using my webhosting service for remote server/testing server
    duties. It is running PHP 4.3.10 and MySQL 3.23.58. I was able to
    set up the database connection and test-retrieve a recordset with
    no problems. In following the tutorial I found that Livedata
    wouldn't work, it just giving me a warning about file permissions
    being wrong. It turns out that when Dreamweaver creates a temporary
    file of the work-in-progress to upload to the remote server the
    file is created on the server with owner=rw, group=rw, world=r
    which explains why it won't run - group has to be set to group=r.
    The file is created on the fly and then immediately deleted by
    Dreamweaver so it is impossible to manually set the permission on
    the server and probably fairly pointless too.
    I tried just saving the file and previewing in the browser
    which again causes it to be uploaded to the remote server. The
    first time this resulted in the browser offering a file download
    box instead of running the page. The reason is - again - that
    Dreamweaver is setting the uploaded file permissions to include
    group=rw. If I manually set the permission for group to group=r it
    runs fine.
    It turns out that Dreamweaver is always setting the file
    permissions on file uploads (checked php and html) to the
    remote/testing server to include group=rw. Once I set it manually
    on the remote/testing server to group=r for a php file everything
    is fine and subsequent uploads of the same file do not change it
    again.
    I checked with the webhosting company and their second-line
    have reported back to me that the default file permission they set
    on uploaded files includes group=r so it must be DW that is causing
    the problem by setting group=rw the first time. I confirmed this by
    using WS-FTP to upload the same file (renamed) to the same target
    directory and the permissions set were owner=rw, group=r, world=r.
    So
    Can anyone please tell me how to change the permissions DW
    sets on files written to a remote server because I have spent
    countless hours on it without success. From looking at other posts
    in this forum it could be that other users are hitting the same
    kind of problem with DW8

    Stop using Live Data with a hosting account. Set up PHP and
    MySQL locally on
    your machine. That is how it's supposed to work. You
    shouldn't test files on
    the fly on a host as you write them. Change your test account
    in DW to use
    the local server. Upload your files to your remote server
    after they are
    fully tested.
    Tom Muck
    http://www.tom-muck.com/
    "nigelssuk" <[email protected]> wrote in
    message
    news:[email protected]...
    > Just trying out an old version of Dreamweaver MX 2004. I
    am using my
    > webhosting
    > service for remote server/testing server duties. It is
    running PHP 4.3.10
    > and
    > MySQL 3.23.58. I was able to set up the database
    connection and
    > test-retrieve a
    > recordset with no problems. In following the tutorial I
    found that
    > Livedata
    > wouldn't work, it just giving me a warning about file
    permissions being
    > wrong.
    > It turns out that when Dreamweaver creates a temporary
    file of the
    > work-in-progress to upload to the remote server the file
    is created on the
    > server with owner=rw, group=rw, world=r which explains
    why it won't run -
    > group
    > has to be set to group=r. The file is created on the fly
    and then
    > immediately
    > deleted by Dreamweaver so it is impossible to manually
    set the permission
    > on
    > the server and probably fairly pointless too.
    >
    > I tried just saving the file and previewing in the
    browser which again
    > causes
    > it to be uploaded to the remote server. The first time
    this resulted in
    > the
    > browser offering a file download box instead of running
    the page. The
    > reason is
    > - again - that Dreamweaver is setting the uploaded file
    permissions to
    > include
    > group=rw. If I manually set the permission for group to
    group=r it runs
    > fine.
    >
    > It turns out that Dreamweaver is always setting the file
    permissions on
    > file
    > uploads (checked php and html) to the remote/testing
    server to include
    > group=rw. Once I set it manually on the remote/testing
    server to group=r
    > for a
    > php file everything is fine and subsequent uploads of
    the same file do not
    > change it again.
    >
    > I checked with the webhosting company and their
    second-line have reported
    > back
    > to me that the default file permission they set on
    uploaded files includes
    > group=r so it must be DW that is causing the problem by
    setting group=rw
    > the
    > first time. I confirmed this by using WS-FTP to upload
    the same file
    > (renamed)
    > to the same target directory and the permissions set
    were owner=rw,
    > group=r,
    > world=r.
    >
    > So
    >
    > Can anyone please tell me how to change the permissions
    DW sets on files
    > written to a remote server because I have spent
    countless hours on it
    > without
    > success. From looking at other posts in this forum it
    could be that other
    > users
    > are hitting the same kind of problem with DW8
    >

  • Streaming problems with C7000 40 inches samsung led tv for netflix and utube

    hi
    i have led 40 inch c7000 samsung tv. first 3 days i dont have any issues for netflix and utube streaming.
    after three days problems started for streaming. intermittently disconnecting .
    i thought it is problem with wireless router and i bought linksys E3000 series  wireless router but still the problem exists.
    please let me know is there any problem with tv

    Is it disconnecting or buffering (where it has to wait for the stream to catch up)?  If it is buffereing it may have to do with time of day and what source you are using.  I was playing around with Amazon Video on Demand Saturday night and while trying to watch an HD preview there was a lot of buffereing going on, when we rented a movie today (Sunday early afternoon) the movie didn't buffer once.  In doing some research on various video on demand services it appears some of them have streaming issues based on time of day (Friday and Saturday nights).  There could also be an issue with your internet service provider.  Depending on what level of service you have your connect speed may not be fast enough so that at times it works, but when their network is busy they throttle your connection speed down and you get buffering.
    If you were watching over this past weekend, there were probably a lot of people firing up their new TV's/blu ray players and streaming video (Amazon and Vudu are both handing out credits for new subscribers) which could have slowed things down.
    Do you have a computer hooked up wirelessly to the router?  If you do Vudu has a speed test website (google "Vudu speed test") that does an extended download which will give you a good idea of your average download speed.  When I have tried it at different times of the day it has given different results.  Vudu also has info on what speeds you need for different qualities of video streaming.
    Henry

  • Lumia 720 YouTube live streaming problem

    I've problem in playing live YouTube videos in Lumia 720 even im using a wifi connection..... Error : sorry, video cannot be played on your device

    I am having the same problem with all three windows phone 8 devices. Videos on youtube play fine on 3G/H/H+ network status. But fails to play while connected through wifi. I have set the preference in internet explorer browser for mobile version of webpages. 
    On cellular network when I type youtube in bing and searched, it automatically sends me to the mobile version of youtube. I searched for videos in youtube srarch window and the results also open in mobile page format. so playing a video from there is not a problem.
    Over wifi connection I searched the same on bing and as usually landed on mobile version of youtube page. Upto this everything is fine. But when i browse for videos on youtube page surprisingly it redirects me to desktop webpage format and never redirects to mobile page and in desktop version of youtube, most of the videos (almost all videos) will not play without Adobe flashplayer.
    The same problem is occurring for all of my three windows mobile 8 devices.
    I think this is a "nasty trick designed by youtube" to receive (steal?) information what kind of networks as well as devices people are using and behave that way, irrespective of the fact that I am using a mobile phone, they will treat me as viewing videos in a desktop computer.
    Nokia and Microsoft must look into the matter seriously and should provide us a solution.
    Attachments:
    youtube problem.jpg ‏42 KB

  • Netflix Streaming Problem with new AppleTV 1080

    Hi there,
    I have had a AppleTV 2 720 for two years. It has been working perfectly with Netflix. I have a new AppleTV 1080 and the streaming from Netflix is awful. The picture drops definition and the audio goes out of sync and sometimes it just comes up with an error message. I have BT Infinity (30+mbps) and never have any issues streaming from Netflix via two or three devices at any one time. I have searched forums with no solution. I have tried lowering from 1080 to 720 on AppleTV, (kind of negates the purchase of a 1080 device though, eh), restarted and restored the AppleTV, logged out and into Netflix. The super HD picture when working is great but not sure if AppleTV 1080 is suited to Netflix. Surely I can't be the only sufferer here, please help! Thank you....

    I found this hidden away on the forum:
    This is what worked for me. It was posted by BenFinklea so he deserves the credit. Since I've done these steps I've had no streaming issues. I agree that it's an Apple issue and not a Netfix one. All my other devices on and off the same network stream just fine. To test this I even bought a Roku LT which I love, especially for the money and it streamed flawlessly. I perfer the format of my Apple TV so I was glad to have it operational again! Good luck.
    Use Google’s Public DNS Server To Fix Apple TV Streaming Problems
    1. Navigate to Settings >> General >> Network and select Configure TCP/IP.
    2. Select “Manually” next to Configure IP.
    3. Dont change the IP address or the Subnet Mask and Router Address. Just click "Done".
    4. Set the DNS Address screen with the following: 008.008.008.008 and click “Done.”
    You should now be able to stream Netflix on your Apple TV.
    I moved the Apple TV unit away from other electronics and rebooted the router/BT Hub and restarted Apple TV. I did the fix as above and it seems to be ok. Will update soon! Thanks Winston....

  • Apple TV streaming problems with itunes

    Apple TV streaming problems. Since recent last update to AppleTV when I try to streams movie or tv show from iTunes sometimes it is fine sometimes it takes hours (Hd or Sd). No problem with netflix. Wifi is not super strong in location but this was not a problem at all before update. Any suggestions?
    Paul

    ok.
    this is not a solution to your problem, but you didn't need to do that just to remove it from appletv. you could have simply unticked the item in your library and that would have made it not available to appletv. you could also have amended your sync options. you don't need to delete something from your library just to remove it from appletv.
    however back to your problem. it sounds like the appletv is not syncing the changes to your library. you should restart your appletv and see if that forces the change.

  • Live Stream Issues with FP 11.2

    We're seeing lots of bugs within the NetStream when connecting live streams and publishing/playing the stream via direct peer connections.
    Specifically when attaching a new Camera the receiving peer can no longer see the video stream. Also when toggling publish(bull) publish(streamName) from the publisher side and similarly toggling play(null) and play(streamName) from the subscriber side the streams don't play (render video) anymore even though i can see through the netwrok that the bytes are coming through.
    Along with this we seem to be getting new kinds of NetStatus errors ever since we started testing - "NetConnection.Call.BadVersion" was one we've seen but can't make any sense out of given we're using DIRECT peer to peer connections for the netstream classes.
    Lastly on general we're seeing lots of instability issues with on the h264settings applied to the nestream is this still in BETA? Instibility = crashing browser mostly when showing multiple video such as in a group video chat.
    Are any of you seeing this as well?

    Hi Damorgan,
    As you suggested, I did fresh 11.2.0.2 installation and find the mentioned components are valid from v$registry.
    Only desupported component is UltraSearch that I was asked to remove during upgrade and I did so.
    COMP_NAME VERSION STATUS
    OLAP Catalog 11.2.0.2.0 VALID
    Spatia 11.2.0.2.0 VALID
    OLAP Analytic Workspace 11.2.0.2.0 VALID
    Also the metalink note: ID 270588.1 indicates that mentioned components exists for 11gR2.
    DBUA was asking to install these component prior upgrading. My first note has that DBUA instruction.
    Is there any way to select mentioned components with "software only" installation prior upgrading?
    Thanks.

  • HTTP Live Streaming Problem

    Dear iPhone Dev members.
    I'm streaming live media over HTTP to iPhone 3.0 from my web server.
    I read draft-pantos-http-live-streaming-01.txt and create test files.
    I succeeded in the video playback a normal playlist(i.m3u8 and i-1.ts) very well.
    But my iPhone could not play a encriptyed media file(j.m3u8 and j-1.ts).
    Though iPhone acquires data by HTTP requests, it returns to Safari's screen at once.
    How I can resolve this?
    Thank you.
    # I do not have a Segmenter beta.
    # 'https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bun dleID=20333' is not available ;-<
    -----i.m3u8-----
    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:30
    #EXTINF:30,
    /i-1.ts
    #EXT-X-ENDLIST
    i.m3u8 ... Playlist file.
    i-1.ts ... Media files.
    -----j.m3u8-----
    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:30
    #EXT-X-KEY:METHOD=AES-128,URI="/key.dat"
    #EXTINF:30,
    /j-1.ts
    #EXT-X-ENDLIST
    i.m3u8 ... Playlist file with EXT-X-KEY.
    j-1.ts ... Encrypted media files.
    key.dat ... Key file.
    ### Dump my key file(NOTICE: od command's format is little endian)
    % od -xv key.dat
    0000000 0201 0403 0605 0807 0201 0403 0605 0807
    0000020
    ### Create encrypted media files.
    % openssl enc -aes-128-cbc -e -in i-1.ts -out j-1.ts \
    -p -nosalt \
    -iv 00000000000000000000000000000001 \
    -K 01020304050607080102030405060708 \
    -nopad

    sorry, you're in the wrong forum. i believe you need to go to developer.apple.com.

  • tv streaming problems with AirDisk

    Hi all.
    I have an AirPort Extreme g network running with my MacBook Core Duo and my tv. There is an extensive video library on two external AirDisks attached to the AirPort Extreme. Streaming works fine for all media and for used to work pretty well for most of the videos. Recently, however, is is more a rule than an exception that video streams stutter and have to rebuffer, and this is really unusable. I don't know what have changed, I have perused the forums for some concrete advice, but not found any that could help me. I have been toying with my ethernet cable to see if wiring the MacBook would help, but it didn't.
    Is there a problem with the network as such? Do I need to tweek the configurations in AirPort Utility, and if so, what should I tweek?
    Are there any tips out there that might help me?
    Thanks in advance,
    Rikard

    I don't have anything encouraging to add to the conversation, but I thought my experience trying to do what you are might be helpful.
    In short it never really worked. When I tried to use a setup almost exactly like you describe, I finally gave up because even with the video encoded at an average bit rate of 1800 Kbps (slightly higher than the iTunes Store sells) the video was never smooth, it constantly had to re-buffer every few seconds and iTunes locked up a lot. In my opinion, what you want to do simply isn't possible.
    I ended up settling for having the external HDD that contains my video directly connected to my MBP via FireWire. Now, it works perfectly. I can stream video from my MBP to my Apple TV with almost no stutters or buffering.

  • Retrieving List of Live Streams Names with Status Publishing

    I want to retrieve the list of live stream name. Can any one please give me any idea or any sample.
    Thanks,

    You would like to check the admin API .. http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/help.html?content=00000482.html

  • Timecode/TimeStamp in RTMP live streaming using Adobe Media Server and FMLE

    HI There,
    Am trying to stream a video on to Adobe media server(using RTMP) through FMLE and play it on my web site using JWPlayer. i could stream the video successfully, but know i want to get the timestamp/timecode on the stream. does Adobe media server and FMLE support this kind of use-case ? if not is there any other way to achieve the same. any comments/suggestion/pointers appreciated .
    Thanks in Advance
    Regards
    Deepak

    If you're talking about nonstop, continuous streaming, your subscribing client will need to close and reconnect the stream every couple of days, as the server will run out of timestamps for the stream.

  • HELP!!! Problem with FMS on port 80 is shutting down Apache on my server!

    Hello all,
    I own FMIS 3.5. I had it installed on a VPS earlier this year and it worked fine. I later uninstalled it and moved to a NEW VPS with the same hosting comoany (Lunar Pages). Again, it worked fine.
    NOW...
    They are telling me that because FMIS is listening on port 80 (when I installed FMIS, I left the port settings as recommended, 1935,80 and 1111 for the admin) that it is shutting down Apache. For what it's worth, I did not install Apache when I installed FMIs on my NEW VPS because I figured I didn't need it as I was installing to a server.
    The conflicting application is fmsedge which is running on port 80. Can ANYONE recommend an alternate port for fmsedge?
    I am completely at a standstill with this, all my sites are down. The host tells me that Apache needs to run on port 80.
    I am developing several websites that will use FMIS for RTMP streaming.
    The worst part is that this worked before and suddenly is causing a problem
    PLEASE help if you can. I am stuck.
    Thank you in advance for your help!!!
    Sincerely,
    wordman

    Graeme,
    Thank you as usual!
    FMS is set up on 1935 and 80, but I do have a second IP and will try that approach.
    Will let you know how it goes!
    Thank you!!!
    Sincerely,
    wordman

Maybe you are looking for

  • Note copied and pasted itself from Iphone 5 to Mac Book Pro

    Hi there, OK, I have the most strangest event to report am really freaking out as Im not too sure of how it was possible but I am sure that there is someone out there who may! I will outline below exactly the circumstances in which this bizarre occur

  • How do I install a game on the mac pro?

    I cant figure it out. I'm trying to install half life 2. Can someone help me. And how do u know if you can play a game on a mac without downloading windows?

  • SQL Server reporting services error "URl has already been reserved" while doing upgrade from SQL server 2008 R2 to SQL server 2012

    "URl has already been reserved". Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgra

  • Photoshop CS2 installation issue

    I had to clone my hard drive, and then CS2 didn't work anymore. I downloaded the individual programs from http://www.adobe.com/downloads/cs2_downloads/index.html, and they installed and ran OK except for Photoshop. At the end of the install I got thi

  • Error while executing CMP

    Hi , While i try to execute a cmp bean with tabel Account associated with TXDataSource which has JNDI name as "Account", i got an exception like, "java.lang.NullPointerException at weblogic.rmi.internal.BasicServerRef.associateTxContext(BasicServerRe