GPU acceleration with LAV Filters sometimes bypassed? | Page 2

Discussion in 'OnlineVideos' started by BushLin, June 27, 2013.

  1. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    'motion not perfect', suggests maybe your machine was struggling to play the content on the iplayer website as well as within mediaportal.


     
    Last edited: June 27, 2013
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. BushLin

    BushLin Portal Member

    Joined:
    December 1, 2012
    Messages:
    19
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Great Britain (UK) Great Britain (UK)
    Show System Specs
    I was being hyper critical about the motion since my eyes are scanning for any differences between the playback on that system compared to a far more powerful PC, I'd happily live with such quality as I use iPlayer is for shows I forgot to record.
    If I look at the CPU usage when playing via IE it hovers around 65% but when playing back with MP/OnlineVideos/LAV it swings from 55%-100% and you can guess when the stuttering happens.

    It doesn't look like the flash plugin is using the GPU as much as it could. However, in MP if I choose to download the video first then that eliminates some of the background processes and playback improves... massively; in this state CPU usage sits between 20-35%. If I'm going through menus without downloading first then I can induce the stuttering as the CPU load is critical.

    I'm not in a position to upgrade at the moment and lots of new low power hardware is about to hit the shelves but what I'm starting to wonder whether the content providers are such a moving target that investing in hardware to use a system they consider unsupported method is folly.
    Perhaps I should just put up with waiting for my PS3 to power up and load when wanting to access catch up services or get a sofa friendly keyboard/mouse rather than relying on the likes of the BBC not closing off their platform to OnlineVideos as has happened with 4oD.
    My hardware in this box is far from great but fills the purpose of replacing a Sky+ box with something more silent and flexible but no monthly fee, just steaming from the internet has it stumped at the moment.
    If you do think of anything which could lower the CPU load though, I'd be very interested.
     
    Last edited: June 27, 2013
  4. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    There are lower cpu usage non dxva h264 codecs such as coreavc. Other options include increasing MP processor priority and disabling un-needed services and applications through msconfig and services.msc .... Another approach is to format your pc and only install MP + LAV + essential drivers. Ultimately though you may have to accept that your cpu is too slow for some non dxva complaint video in mp. Some other people maybe able to suggest other things... (This is assuming that dxva is working in MP+LAV, however on these particular videos dxva turns off as they are not dxva complaint)
     
    Last edited: June 27, 2013
  5. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Also disable Virus Scanner for the MPUrlSourcefilter cache folder as mentioned in the faq and other threads - this helps a lot on slower PCs.
     
  6. BushLin

    BushLin Portal Member

    Joined:
    December 1, 2012
    Messages:
    19
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Great Britain (UK) Great Britain (UK)
    Show System Specs
    I've not tried CoreAVC, that's something for me to investigate but with regards to slimming down the build... I don't even have anti-virus installed; It's just drivers and mediaportal on this box with a fair few windows components disabled, after testing I'll be restoring my backup to before I installed flash player.
     
  7. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    ahh ok, running a really clean system certainly helps a lot, so it's good you are doing that :)
     
  8. BushLin

    BushLin Portal Member

    Joined:
    December 1, 2012
    Messages:
    19
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Great Britain (UK) Great Britain (UK)
    Show System Specs
    Tried raising the process priority but the problem persists, it's so odd that when running the same stream locally it runs flawlessly... if I were to skip forwards it snappily takes me to my desired point but if I were to try the same thing when playing back the internet streamed version it'd take a good few seconds to stop glitching even though it had already downloaded many minutes further than requested.
     
  9. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    I think there is more going on with when using MediaPortal = more cpu needed.
     
  10. BushLin

    BushLin Portal Member

    Joined:
    December 1, 2012
    Messages:
    19
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Great Britain (UK) Great Britain (UK)
    Show System Specs
    That is when using MediaPortal, just using the 'Downloaded Videos' function of OnlineVideos rather than streaming through the net. I'm not going to ask the author to recode his plugin just for me to avoid the spikes when downloading, just wondering if there's anything that can be done. Sadly, downloading in advance doesn't even come close to saturating a fibre connection, they don't let you grab faster than about 1MB/s :(
     
  11. BushLin

    BushLin Portal Member

    Joined:
    December 1, 2012
    Messages:
    19
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Great Britain (UK) Great Britain (UK)
    Show System Specs
    Disabling "Dynamic Refresh Rate Control" made a marginal improvement, as did disabling windows features like "remote differential compression" but in practical terms it just meant there's a slightly lower baseline from where the spike in CPU usage starts.
    Having poked through the logs I can see the content is VC1 and it's documented that a VP2 class Nvidia card can't accelerate that.
    Playing locally shows that a 720p video I'm struggling with is using about 30% or less CPU power and therefore I assume the rest is being munched up by either the process of dynamically downloading and playing a stream (perhaps it works with big chunks of video at a time in separate scripts) OR potentially some DRM mechanism having a nose around to inspect what's going on.
    When running Task Manager or Process Explorer (with admin rights) I couldn't see any process or service suddenly increase in usage when playback stuttered, they were nearly always consuming less than 1%; fairly consistently it was the MediaPortal process suddenly jumping from below 50% usage to max and this would happen fairly randomly and sometimes infrequently but you can tell the system is struggling as skipping back 15secs means the system takes a while to settle back.

    I should point out that I don't want to say "this is fact, you should fix it", I'm not pretending to 100% understand precisely what element(s) of mediaportal or the plugin manifests itself in my use case but am trying to be as scientific as possible in providing feedback. I'm very grateful to everyone who works on Mediaportal and it's many supporting tentacles, I fully intend to donate when I'm in a less restricted financial situation and not even close to complaining at something provided for free especially when I have workarounds to hand.

    Over and out, I'm going to leave this alone for at least the rest of today.
     
    Last edited: June 27, 2013
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!