MediaPortal Audio renderer - better video playback quality (1 Viewer)

mironicus

Portal Pro
March 9, 2008
688
44
Country flag
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.
 

Seeco

Portal Pro
October 15, 2007
241
7
Linköping
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?
 

Truri

MP Donator
  • Premium Supporter
  • November 9, 2008
    192
    9
    Germany Germany
    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.
    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.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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.
     

    Truri

    MP Donator
  • Premium Supporter
  • November 9, 2008
    192
    9
    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.
     

    Attachments

    Truri

    MP Donator
  • Premium Supporter
  • November 9, 2008
    192
    9
    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.
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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?
    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
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Italy Italy
    tourettes

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



    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?
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,130
    1,630
    Dresden / Munich / Maastricht
    Germany Germany
    AW: Re: AW: MediaPortal Audio renderer - better video playback quality

    I am having problems to register the renderer :(
    I'm quite helpless when it comes to such error. Basicly there is no code on the filter side when the registration is done (if I remember correctly). I guess we would need to have a call stack at lest to be able to get more info (even better would be to be able to attach a debigger to the crashing process to see if it is some sysem component or audio renderer.)
    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?
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,546
    432
    Germany Germany
    Country flag
    AW: MediaPortal Audio renderer - better video playback quality

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

    Code:
    27-08-2010 18:30:17.243 [ a00] MP Audio Renderer - v0.76
    27-08-2010 18:30:17.243 [ a00] Loading settings from registry
    27-08-2010 18:30:17.243 [ a00] ForceDirectSound: 0
    27-08-2010 18:30:17.243 [ a00] EnableTimestrecthing: 1
    27-08-2010 18:30:17.243 [ a00] WASAPIExclusive: 1
    27-08-2010 18:30:17.243 [ a00] EnableAC3Encoding: 1
    27-08-2010 18:30:17.243 [ a00] AC3bitrate: 448
    27-08-2010 18:30:17.243 [ a00] MaxBias: 11000
    27-08-2010 18:30:17.243 [ a00] MinBias: 9000
    27-08-2010 18:30:17.243 [ a00] LogSampleTimes: 0
    27-08-2010 18:30:17.243 [ a00] DevicePeriod: 500000 (1 == minimal, 0 == driver default, other user defined)
    27-08-2010 18:30:17.243 [ a00] WASAPIPreferredDevice: {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    27-08-2010 18:30:17.243 [ a00] CMPAudioRenderer - instance 0x88fc4b8
    27-08-2010 18:30:17.243 [ a00] WASAPIRenderer::GetAvailableAudioDevices
    27-08-2010 18:30:17.244 [ a00] 
    27-08-2010 18:30:17.244 [ a00] Audio endpoint 0:
    27-08-2010 18:30:17.244 [ a00] Digitalaudio (S/PDIF) (High Definition Audio-Gerät)
    27-08-2010 18:30:17.244 [ a00] {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    27-08-2010 18:30:17.244 [ a00] supports pull mode: 1
    27-08-2010 18:30:17.245 [ a00] 
    27-08-2010 18:30:17.245 [ a00] Audio endpoint 1:
    27-08-2010 18:30:17.245 [ a00] ATI HDMI Output (2- ATI High Definition Audio Device)
    27-08-2010 18:30:17.245 [ a00] {0.0.0.00000000}.{6132eb19-00ef-4c80-9cf4-7f84c8b01d7a}
    27-08-2010 18:30:17.245 [ a00] supports pull mode: 1
    27-08-2010 18:30:17.245 [ a00] 
    27-08-2010 18:30:17.245 [ a00] WASAPIRenderer::StartRendererThread
    27-08-2010 18:30:17.246 [ 13c0] Resampler thread - starting up - thread ID: 5056
    27-08-2010 18:30:17.246 [ d6c] WASAPIRenderer::Render thread - starting up - thread ID: 3436
    27-08-2010 18:30:17.599 [ a00] CheckMediaType
    27-08-2010 18:30:17.599 [ a00] WAVEFORMATEX - CheckMediaType
    27-08-2010 18:30:17.599 [ a00] nAvgBytesPerSec 192000
    27-08-2010 18:30:17.599 [ a00] nBlockAlign 4
    27-08-2010 18:30:17.599 [ a00] nChannels 2
    27-08-2010 18:30:17.599 [ a00] nSamplesPerSec 48000
    27-08-2010 18:30:17.599 [ a00] wBitsPerSample 16
    27-08-2010 18:30:17.599 [ a00] wFormatTag 146
    27-08-2010 18:30:17.599 [ a00] CheckMediaType
    27-08-2010 18:30:17.834 [ a00] Pause
    27-08-2010 18:30:18.204 [ d54] SetBias: 1.0000000000
    27-08-2010 18:30:18.204 [ d54] SetBias - updated SoundTouch tempo
    27-08-2010 18:30:18.204 [ d54] Run
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::Run
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CheckAudioClient
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::GetAudioDevice
    27-08-2010 18:30:18.204 [ d54] Target end point: {0.0.0.00000000}.{39f37a9d-5e1e-413a-989d-98bca339c84e}
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::GetAvailableAudioDevices
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CreateAudioClient
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::CreateAudioClient success
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::StartRendererThread - resuming
    27-08-2010 18:30:18.204 [ d54] WASAPIRenderer::StartAudioClient
    27-08-2010 18:30:18.204 [ d54] start failed (0x88890001)
    27-08-2010 18:30:44.945 [ a00] MP Audio Renderer - destructor - instance 0x15bc7030
    27-08-2010 18:30:44.945 [ a00] Stop
    27-08-2010 18:30:44.945 [ 6ec] Resampler thread - closing down - thread ID: 1772
    27-08-2010 18:30:44.946 [ a00] WASAPIRenderer::StopRendererThread
    27-08-2010 18:30:44.946 [ c7c] WASAPIRenderer::Render thread - closing down - thread ID: 3196
    27-08-2010 18:30:44.946 [ a00] CloseEncoder - Closing AC3 encoder
    27-08-2010 18:30:44.946 [ a00] WASAPIRenderer - destructor - instance 0x88fedc8
    27-08-2010 18:30:44.946 [ a00] WASAPIRenderer - destructor - instance 0x88fedc8 - end
    27-08-2010 18:30:44.946 [ a00] MP Audio Renderer - destructor - instance 0x15bc7030 - end
    27-08-2010 18:30:44.956 [ a00] MP Audio Renderer - destructor - instance 0x15bc3cc8
    27-08-2010 18:30:44.956 [ a00] Stop
    27-08-2010 18:30:44.956 [ 8bc] Resampler thread - closing down - thread ID: 2236
    27-08-2010 18:30:44.956 [ a00] WASAPIRenderer::StopRendererThread
    27-08-2010 18:30:44.956 [ 71c] WASAPIRenderer::Render thread - closing down - thread ID: 1820
    27-08-2010 18:30:44.959 [ a00] CloseEncoder - Closing AC3 encoder
    27-08-2010 18:30:44.959 [ a00] WASAPIRenderer - destructor - instance 0x88fa428
    27-08-2010 18:30:44.959 [ a00] WASAPIRenderer - destructor - instance 0x88fa428 - end
    27-08-2010 18:30:44.959 [ a00] MP Audio Renderer - destructor - instance 0x15bc3cc8 - end
    27-08-2010 18:31:01.478 [ a00] Pause
    27-08-2010 18:31:01.656 [ a00] SetBias: 1.0000000000
    27-08-2010 18:31:01.656 [ a00] SetBias - updated SoundTouch tempo
    27-08-2010 18:31:01.656 [ a00] Run
    27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::Run
    27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::CheckAudioClient
    27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::StartRendererThread - resuming
    27-08-2010 18:31:01.656 [ a00] WASAPIRenderer::StartAudioClient
    27-08-2010 18:31:01.656 [ a00] start failed (0x88890001)
    27-08-2010 18:31:44.769 [ a00] Pause
    27-08-2010 18:31:44.776 [ a00] Stop
    27-08-2010 18:31:44.776 [ a00] WASAPIRenderer::Stop - releasing WASAPI resources
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    S Mediaportal broadcast to Chromecast Audios MediaPortal 1 Talk 1
    A VideoDatabaseV5.db3 lock not released on shutting down PC from MediaPortal Installation, configuration support 0
    ajs [News] MediaPortal 1.26 Pre-Release ready for testing! News and Announcements 0
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    M Add Radio channels and EPG to Mediaportal xmlTV 2
    Symphy Version 0.2.9.0 for MediaPortal 1.25 ASIO music player 0
    doskabouter Installing mediaportal MediaPortal 1 3
    A Mediaportal Allgemeines Support- und Diskussionsforum 0
    G Update von MediaPortal Installationsprobleme? 0
    ajs [News] MediaPortal 1 - 1.25 Released! News and Announcements 1
    horned_reaper Standby is prevented by MediaPortal client General Support 0
    U [solved] MediaPortal crashing on startup General Support 10
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    high [unanswered] Hallo möchte gerne Mediaportal. nutzen kann mich jemand anrufen? contactform feedback and requests 2
    ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
    ajs [Rejected] Mediaportal Codename MediaPortal 1 48
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    N Steam release of MediaPortal MediaPortal 1 Talk 0
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    M Fehlerhafter Link auf der aktuellen MediaPortal Seite Page- und Forumsfeedback 0
    H 1.24.0 MP 1.24 high CPU utilization when 'Keep MediaPortal always on top' option enabled Bugreports 4
    mickb [solved] Mediaportal Stops working General Support 5
    J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
    atlantic How to use Spotify inside Mediaportal? Listen Music 18
    horned_reaper MediaPortal configuration error log message General Support 1
    Similar threads

























    Top Bottom