MediaPortal Audio renderer - better video playback quality | Page 30

Discussion in 'General Development (no feature request here!)' started by tourettes, July 12, 2010.

  1. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Just not to keep this thread too quiet, here is a small status etc. update:



    • WASAPI shared (non-exclusive mode) is now fixed.
    • NVIDIA has some driver bug that wont allow their HDMI drivers to work in WASAPI exclusive mode with the event / pull mode buffer filling (I have decided not to support the earlier polling based way - it is just too unreliable from quality point of view) - I'm currently trying to get some NVIDIA driver developers attention to that issue, but you know how hard it will be... I have received no answer (and to be honest I don't even expect to receive).
    • 24 / 32 bit samples should be supported now.
    • Multiple minor fixes (including some minor lipsync correction on skipping)

    So, if anyone has any contect details (or friend(s) at Nvidia :)) for NVIDIA driver developers I'm more than happy to receive such.
     
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. micko

    micko Portal Pro

    Joined:
    May 27, 2006
    Messages:
    258
    Likes Received:
    24
    Ratings:
    +51 / 0
    Home Country:
    Finland Finland
    Show System Specs
    I'm trying to test your renderer on my secondary htpc, but it won't load. Is it always bitstreaming method used with my GPU's (ASUS EAH5450) internal HDMI/DP-audio chip? Trying to get audio out via HDMI. In that case cannot use this renderer- right?

    Logs showing that MP is really trying to insert this renderer, but then comes some memory protection exceptions. Am I missing something (nothing new I mean :D)?
     

    Attached Files:

    • mediainfo.txt
      File size:
      2.1 KB
      Uploaded:
      August 8, 2010
      Views:
      43
  4. Seeco

    Seeco Portal Pro

    Joined:
    October 15, 2007
    Messages:
    241
    Likes Received:
    7
    Location:
    Linköping
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    Tourettes: About your latest reply, does it mean that you updated the renderer before posting? I'm having some lipsync troubles here and there, that's why I'm interested.
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Bitstreaming will happen only when audio renderer will do such on purpose.

    What ffdshow version you are using (or what audio codec)? chemelli had similar crash with older ffdshow revision.
     
  6. micko

    micko Portal Pro

    Joined:
    May 27, 2006
    Messages:
    258
    Likes Received:
    24
    Ratings:
    +51 / 0
    Home Country:
    Finland Finland
    Show System Specs
    Ok, thanks.. I wasn't familiar with that before.

    I'm using ffdshow tryouts revision 3351, Apr 8 2010. I try to update that first.

    EDIT: That didn't help. Now using ffdshow revision 3507, Jul 07 2010. Catalyst driver is the latest that ASUS provides 8.711 (that includes audio driver). Btw, Should this work with software based EVR (using XP on that comp.)?
     
  7. red5goahead
    • Premium Supporter

    red5goahead MP Donator

    Joined:
    November 24, 2007
    Messages:
    695
    Likes Received:
    96
    Gender:
    Male
    Occupation:
    Software engineering
    Location:
    Italy, North West
    Ratings:
    +144 / 1
    Home Country:
    Italy Italy
    Show System Specs
  8. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Try using the registry setting to force the DirectSound into use. It could be that there is some WASAPI related code that is tried to be run on XP (unintentionaly).
     
  9. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    No public build is available that has lip sync improvements. Currently it is targeted that the next build would be done when the multi channel and AC3 encoding would be ready.
     
    • Like Like x 1
  10. micko

    micko Portal Pro

    Joined:
    May 27, 2006
    Messages:
    258
    Likes Received:
    24
    Ratings:
    +51 / 0
    Home Country:
    Finland Finland
    Show System Specs
    Thanks, that did the trick :)

    Test results:
    Video and audio are perfectly in sync and video is played smoothly. Some tearing is visible and Audiorenderer.log is full of messages 'receiveSamples: Output sample queue was empty!'. If I disable timestretching tearing and those messages are gone (but so is perfect play too of course). Logs attached...
     
  11. davidf
    • Team MediaPortal

    davidf Development Group

    Joined:
    April 3, 2006
    Messages:
    796
    Likes Received:
    310
    Occupation:
    Application Architect
    Location:
    Scotland
    Ratings:
    +336 / 0
    Home Country:
    Scotland Scotland
    Show System Specs
    Tourettes,

    I took a play with Matthew van Eerde's exclusive WASAPI code on the Nvidia HDMI drivers and I have to admit defeat - I can't get anything to go past the initialization in exclusive mode (0x80070057). The drivers do provide proper errors e.g. 0x88890008 for formats which aren't allowed. When I try the same tests on an intel and AMD based chipset I do get my test sound outs so it doesn't look like anything I've done is wrong - and that's always a real possibility. So I suspect the drivers (at least v1.0.15.0) don't work particularly well and it may be a lost cause trying to make it work without Nvidia fixing some of the bugs in the driver.

    The only Nvidia machine is the main living room machine so I'll try to revert the drivers to older ones to see if any of the versions work when my wife is not using it (break TV = unhappy wife).

    David
     
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!