CoverFlow with Smooth Streaming

4 posts, 0 answers
  1. Stanescu Mihai
    Stanescu Mihai avatar
    33 posts
    Member since:
    Aug 2009

    Posted 11 Feb 2010 Link to this post

    Hello,

             I recently started working with coverflow and Smooth Streaming Media Element from IiS.net.
             I created a coverflow control that works great with about 10% CPU usage. Then using SSME I created a player for which I encoded some full HD trailers to play at 3000 Kb bitrate and 1080p. After this i tried to combine the two, on the coverflow, having a link to launch the according player an stream the trailers. If I play the trailers without using the coverflow it works at maximum capacity with about 40-50% CPU usage but when I launch it from coverflow it increases the CPU usage to almost 100% and the quality of the stream is almost minimal.
            
              P.S: When I click the link in coverflow it creates a Silverlight Popup (System.Windows.Controls.Primitives) which loads the SSME .xaml file.

              I would like to know if there are any known issues for this usage, any tips I can try to reduce CPU usage. Maybe this is not a problem with coverflow, but with the Popup, anything would be appreciated. Also, I have reduced the maxFrameRate to 30 and the enableGPUAcceleration set to true/false with less then impressive results.

    Edit: While writing this post I had an ideea that it may be the Silvelright Popup and so I went on a mission (a very short one) to see if this indeed was the problem, what I did was create a blank project with a button, clicking the button would create a Popup as mentioned above. My finds were that the issue is not with it (or not entirely with it). It may be that the 3 combined become Ares, Odin and Mars and wage war with me.

    Regard, Michael.
            
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 11 Feb 2010 Link to this post

    Hi Michael,

    RadCoverFlow uses Projection transformations to provide the 3D effects. Actually, everything that RadCoverFlow does is to calculate how to configure the projections of its items. I guess that the projections are the most probable reason for the problem. You could try to set the Projection property of the SSME with a Matrix3DProjection with some random settings, just to try to isolate the real problem. If this leads to the same effect, I suppose you should contact Microsoft about a solution. Meanwhile we will setup a similar solution and try to reproduce the problem on our side.

    All the best,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Stanescu Mihai
    Stanescu Mihai avatar
    33 posts
    Member since:
    Aug 2009

    Posted 12 Feb 2010 Link to this post

               One more question, is it possible to completely shutdown coverflow after I have opened the popup? I do believe I can destroy it when popup is created and re-created when the popup is closed, but if I can can disable it's projection transformations without destroying it, should be a plus.
  5. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 22 Feb 2010 Link to this post

    Hi Stanescu Mihai,

    You can try playing with the visibility of the CoverFlow control. This should point you out whether the issue comes from the CoverFlow control rendering or something else. Meanwhile we are researching the issues, and do our best to reproduce it. If your case is easy to isolate, we would be more than happy to investigate the issue right out of your project. In this way, we will at least give you some hint how to minimize the performance issues you face.

    Thank you for contacting us and we look forward to resolving your issue as soon as possible. And take our apologies for delaying this issue so much.

    Greetings,
    Hristo Borisov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top