MediaPortal Audio renderer - better video playback quality | Page 45

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

  1. mironicus

    mironicus Portal Pro

    Joined:
    March 9, 2008
    Messages:
    687
    Likes Received:
    43
    Ratings:
    +46 / 1
    AW: MediaPortal Audio renderer - better video playback quality



    I cannot confirm the looping audio issue. The new audio driver runs fine with my Radeon 5450/5550/5770 on my three systems.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Seeco

    Seeco Portal Pro

    Joined:
    October 15, 2007
    Messages:
    241
    Likes Received:
    7
    Location:
    Linköping
    Ratings:
    +7 / 0
    Home Country:
    Sweden Sweden
    tourettes: When I switch to default audio renderer I get no sound at all, is that normal?

    EDIT:
    So I logged a bit of playback anyway, and the framedrops are there now as well. Same thing, they appear at random occasions. Does this mean that it isn't a renderer issue?
     
  4. Truri
    • Premium Supporter

    Truri MP Donator

    Joined:
    November 9, 2008
    Messages:
    192
    Likes Received:
    8
    Ratings:
    +8 / 0
    Home Country:
    Germany Germany
    AW: MediaPortal Audio renderer - better video playback quality

    Mhm thats strange.
    I just retested it again. The problem doesn't happen all the time or with every video. :mad:
    I can't say it for sure but it happens more often with 1080p files (maybe because of heavier load?!) :confused:
    Fact is, that with the older driver this problem never occured, so I stay with that for now.
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Agian a new (minor) patch release with two new settings

    MaxBias

    Maximum allowed speed that the playback can reach, this value is divided with 10000 to get the real value. Default value is 11000 (1.1x) - 10% speed up at maximum.

    MinBias

    Minimum allowed speed for the playback, this value is divided with 10000 to get the real value. Default value is 9000 (0.9x) - 10% speed down at maximum.

    And following fixes / improvements:

    • Aligned WASAPI buffer to match AC3 frame lenght when AC3 encoding is enabled - should reduce noise when zapping / seeking
    • Fixed a memory / resource leak
    • Added logging for sample allocator failures (during creation)
    • Fixed audio adjustment to be thread safe - earlier it was possible that audio channels would have been out of phase in some cases when speed adjustment was done
    • "Fixed wrong caching of alphablend" changes from mr_hipp incorporated. Render stats re-positioned so they're not covered by the timeline bar.
    • Fixed Last WASAPI buffer before seeking / stop / pause getting cut

    Download as usual: https://forum.team-mediaportal.com/637138-post3.html

    Please try to report even the success cases, those are as important to know as the failures.
     
    • Like Like x 3
  6. Truri
    • Premium Supporter

    Truri MP Donator

    Joined:
    November 9, 2008
    Messages:
    192
    Likes Received:
    8
    Ratings:
    +8 / 0
    Home Country:
    Germany Germany
    AW: MediaPortal Audio renderer - better video playback quality

    Hi,

    I installed the new version yesterday and as far as I can say until now, it's running very good.
    No problems so far.

    AND I have just played "our 24 Bit problem video" without problems.
    ffdshow outputs 16 bit, all is ok

    Selecting in ffdshow 16,24,32 Bit, ffdshow uses 32 Bit and I get no Audio Signal on my Onkyo.
    Selecting in ffdshow 16,24 Bit, ffdshow uses 16 Bit and I get Multichannel PCM as expectet.
    So far so good :) :D

    I attached some logs.
     

    Attached Files:

    • Log 2.rar
      File size:
      3.5 KB
      Uploaded:
      August 27, 2010
      Views:
      33
  7. Truri
    • Premium Supporter

    Truri MP Donator

    Joined:
    November 9, 2008
    Messages:
    192
    Likes Received:
    8
    Ratings:
    +8 / 0
    Home Country:
    Germany Germany
    AW: MediaPortal Audio renderer - better video playback quality

    Well, I'll be damned.
    That can't be.

    I just testet the video via the windows remotedesktop. There all was ok like I wrote.
    Now I retested everything directly on my tv... and there is the same symptom, switching to the second track fails (playback stop).
    Then I thought that it might be a problem with the Refreshrate Changer, so I deaktivatet it. But no change.
    Then I tried it again via Remotedesktop... There is the problem now, too.

    Am I too stupid?!
    Sorry for bothering you with that stupid thing, but maybe it hasn't any connection to the Audiorenderer.
    If I find time today I will investigate that further.
     
  8. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    No, it's not an audio renderer issue (it's not loaded in the graph).

    It look like something earlier in the graph (before the dshowhelper) is having problems - there is a nearly 1s gap in the data around 12:09:18 i.e. the dshowhelper has run out of data, then when the 'late' data arrives it has to drop a chunk of it because the correct 'presentation time' for it has already passed.

    I'd check the CPU load (just in case there are any big spikes at the same time as the frame drops), and try a different H.264 decoder and/or MKV splitter if possible.

    Tony
     
  9. 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
    tourettes

    I tried to set forceDirectSound. It seems to work. As you know with the Xonar DX wasapi not work.

    [​IMG]

    the log is not very good but the sound is ok . only some void after the pause.

    the question is .: but directsound work or not?
     
  10. chefkoch
    • Premium Supporter

    chefkoch Retired Team Member

    Joined:
    October 5, 2004
    Messages:
    3,130
    Likes Received:
    1,456
    Gender:
    Male
    Location:
    Dresden / Munich / Maastricht
    Ratings:
    +1,773 / 1
    Home Country:
    Germany Germany
    AW: Re: AW: MediaPortal Audio renderer - better video playback quality

    Sorry missed your answer here in thread.

    As we talked in IRC some time ago I tried registering again using Windbg.

    windbg log for HTPC, where it fails: Paste2: Next Generation Pastebin - Viewing Paste 965987
    windbg log for Laptop, here all is fine: Paste2: Next Generation Pastebin - Viewing Paste 965999

    I have no idea if it is hardware, renderer or system related. The vcredist is the same on both, latest 9.0, which is included in VS2010.
    It seems it fails in MFC90DEU.DLL, but only on one machine.
    Would symbol files for the renderer help?
     
  11. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: MediaPortal Audio renderer - better video playback quality

    I'm getting this strange error.
    (
    Code (Text):
    1. 27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::StartAudioClient
    2. 27-08-2010 18:31:01.656 [ a00] start failed (0x88890001)
    )
    Any idea?

    Code (Text):
    1.  
    2. 27-08-2010 18:30:17.243 [ a00] MP Audio Renderer - v0.76
    3. 27-08-2010 18:30:17.243 [ a00] Loading settings from registry
    4. 27-08-2010 18:30:17.243 [ a00] ForceDirectSound: 0
    5. 27-08-2010 18:30:17.243 [ a00] EnableTimestrecthing: 1
    6. 27-08-2010 18:30:17.243 [ a00] WASAPIExclusive: 1
    7. 27-08-2010 18:30:17.243 [ a00] EnableAC3Encoding: 1
    8. 27-08-2010 18:30:17.243 [ a00] AC3bitrate: 448
    9. 27-08-2010 18:30:17.243 [ a00] MaxBias: 11000
    10. 27-08-2010 18:30:17.243 [ a00] MinBias: 9000
    11. 27-08-2010 18:30:17.243 [ a00] LogSampleTimes: 0
    12. 27-08-2010 18:30:17.243 [ a00] DevicePeriod: 500000 (1 == minimal, 0 == driver default, other user defined)
    13. 27-08-2010 18:30:17.243 [ a00] WASAPIPreferredDevice: {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    14. 27-08-2010 18:30:17.243 [ a00] CMPAudioRenderer - instance 0x88fc4b8
    15. 27-08-2010 18:30:17.243 [ a00] WASAPIRenderer::GetAvailableAudioDevices
    16. 27-08-2010 18:30:17.244 [ a00]
    17. 27-08-2010 18:30:17.244 [ a00] Audio endpoint 0:
    18. 27-08-2010 18:30:17.244 [ a00] Digitalaudio (S/PDIF) (High Definition Audio-Gerät)
    19. 27-08-2010 18:30:17.244 [ a00] {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    20. 27-08-2010 18:30:17.244 [ a00] supports pull mode: 1
    21. 27-08-2010 18:30:17.245 [ a00]
    22. 27-08-2010 18:30:17.245 [ a00] Audio endpoint 1:
    23. 27-08-2010 18:30:17.245 [ a00] ATI HDMI Output (2- ATI High Definition Audio Device)
    24. 27-08-2010 18:30:17.245 [ a00] {0.0.0.00000000}.{6132eb19-00ef-4c80-9cf4-7f84c8b01d7a}
    25. 27-08-2010 18:30:17.245 [ a00] supports pull mode: 1
    26. 27-08-2010 18:30:17.245 [ a00]
    27. 27-08-2010 18:30:17.245 [ a00] WASAPIRenderer::StartRendererThread
    28. 27-08-2010 18:30:17.246 [ 13c0] Resampler thread - starting up - thread ID: 5056
    29. 27-08-2010 18:30:17.246 [ d6c] WASAPIRenderer::Render thread - starting up - thread ID: 3436
    30. 27-08-2010 18:30:17.599 [ a00] CheckMediaType
    31. 27-08-2010 18:30:17.599 [ a00] WAVEFORMATEX - CheckMediaType
    32. 27-08-2010 18:30:17.599 [ a00] nAvgBytesPerSec 192000
    33. 27-08-2010 18:30:17.599 [ a00] nBlockAlign 4
    34. 27-08-2010 18:30:17.599 [ a00] nChannels 2
    35. 27-08-2010 18:30:17.599 [ a00] nSamplesPerSec 48000
    36. 27-08-2010 18:30:17.599 [ a00] wBitsPerSample 16
    37. 27-08-2010 18:30:17.599 [ a00] wFormatTag 146
    38. 27-08-2010 18:30:17.599 [ a00] CheckMediaType
    39. 27-08-2010 18:30:17.834 [ a00] Pause
    40. 27-08-2010 18:30:18.204 [ d54] SetBias: 1.0000000000
    41. 27-08-2010 18:30:18.204 [ d54] SetBias - updated SoundTouch tempo
    42. 27-08-2010 18:30:18.204 [ d54] Run
    43. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::Run
    44. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CheckAudioClient
    45. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::GetAudioDevice
    46. 27-08-2010 18:30:18.204 [ d54] Target end point: {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    47. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::GetAvailableAudioDevices
    48. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CreateAudioClient
    49. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CreateAudioClient success
    50. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::StartRendererThread - resuming
    51. 27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::StartAudioClient
    52. 27-08-2010 18:30:18.204 [ d54] start failed (0x88890001)
    53. 27-08-2010 18:30:44.945 [ a00] MP Audio Renderer - destructor - instance 0x15bc7030
    54. 27-08-2010 18:30:44.945 [ a00] Stop
    55. 27-08-2010 18:30:44.945 [ 6ec] Resampler thread - closing down - thread ID: 1772
    56. 27-08-2010 18:30:44.946 [ a00] WASAPIRenderer::StopRendererThread
    57. 27-08-2010 18:30:44.946 [ c7c] WASAPIRenderer::Render thread - closing down - thread ID: 3196
    58. 27-08-2010 18:30:44.946 [ a00] CloseEncoder - Closing AC3 encoder
    59. 27-08-2010 18:30:44.946 [ a00] WASAPIRenderer - destructor - instance 0x88fedc8
    60. 27-08-2010 18:30:44.946 [ a00] WASAPIRenderer - destructor - instance 0x88fedc8 - end
    61. 27-08-2010 18:30:44.946 [ a00] MP Audio Renderer - destructor - instance 0x15bc7030 - end
    62. 27-08-2010 18:30:44.956 [ a00] MP Audio Renderer - destructor - instance 0x15bc3cc8
    63. 27-08-2010 18:30:44.956 [ a00] Stop
    64. 27-08-2010 18:30:44.956 [ 8bc] Resampler thread - closing down - thread ID: 2236
    65. 27-08-2010 18:30:44.956 [ a00] WASAPIRenderer::StopRendererThread
    66. 27-08-2010 18:30:44.956 [ 71c] WASAPIRenderer::Render thread - closing down - thread ID: 1820
    67. 27-08-2010 18:30:44.959 [ a00] CloseEncoder - Closing AC3 encoder
    68. 27-08-2010 18:30:44.959 [ a00] WASAPIRenderer - destructor - instance 0x88fa428
    69. 27-08-2010 18:30:44.959 [ a00] WASAPIRenderer - destructor - instance 0x88fa428 - end
    70. 27-08-2010 18:30:44.959 [ a00] MP Audio Renderer - destructor - instance 0x15bc3cc8 - end
    71. 27-08-2010 18:31:01.478 [ a00] Pause
    72. 27-08-2010 18:31:01.656 [ a00] SetBias: 1.0000000000
    73. 27-08-2010 18:31:01.656 [ a00] SetBias - updated SoundTouch tempo
    74. 27-08-2010 18:31:01.656 [ a00] Run
    75. 27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::Run
    76. 27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::CheckAudioClient
    77. 27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::StartRendererThread - resuming
    78. 27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::StartAudioClient
    79. 27-08-2010 18:31:01.656 [ a00] start failed (0x88890001)
    80. 27-08-2010 18:31:44.769 [ a00] Pause
    81. 27-08-2010 18:31:44.776 [ a00] Stop
    82. 27-08-2010 18:31:44.776 [ a00] WASAPIRenderer::Stop - releasing WASAPI resources
    83.  
     
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!