[1.3.0.0] YT Videos frequently don't start on first attempt (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Here you go. First attempted playback failed. So logs are as short as they can get. :)

    27-11-2012 21:21:13.846 [ 12e0] Buffering... 0.372
    27-11-2012 21:21:13.848 [ cb4] Run - 0.224

    Looks ok - maybe it is the source filter that OV is using and it wont be able to handle the buffering properly? Just a quess, but other source filters haven't had any issues with the MPAR's code:

    Code:
    STDMETHODIMP CMPAudioRenderer::GetState(DWORD dwMSecs, FILTER_STATE* State)
    {
      CheckPointer(State, E_POINTER);
      if (m_pRenderer->BufferredDataDuration() <= 2500000 &&        // 250 ms
          GetCurrentTimestamp() - m_lastSampleArrivalTime < 500000) // 50 ms
      {
        NotifyEvent(EC_STARVATION, 0, 0);
        *State = State_Paused;
        
        return VFW_S_STATE_INTERMEDIATE;
      }
      return CBaseRenderer::GetState(dwMSecs, State);
    }
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    From OnlineVideos log it's buffered approx. 2 MB of data before creating graph:
    Code:
    [11-27 21:21:13,053] [OnlineVideos] [DEBUG] Buffering: 2476/17258 KB (14%)

    Edit: From where can I download MPAR? I test it in my debug environment.
     
    Last edited:

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    From OnlineVideos log it's buffered approx. 2 MB of data before creating graph:
    Code:
    [11-27 21:21:13,053] [OnlineVideos] [DEBUG] Buffering: 2476/17258 KB (14%)

    Edit: From where can I download MPAR? I test it in my debug environment.

    1.3.0 alpha contains MPAR already.

    CMPAudioRenderer::GetState() is good place to check if MPAR has managed to buffer.
     
    Last edited:

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    @georgius @tourettes
    Anyone of you had time to take a look? Would highly appreciate it! :)

    Currently always switching back to the default audio renderer when watching YT-videos in OnlineVideos and playback works flawlessly that way.
    I am a bit confused that I seem to be the first person to report this issues of OV in combination with MPAR. :confused:https://forum.team-mediaportal.com/members/tourettes.10858/
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    @georgius @tourettes
    Anyone of you had time to take a look? Would highly appreciate it! :)

    Currently always switching back to the default audio renderer when watching YT-videos in OnlineVideos and playback works flawlessly that way.
    I am a bit confused that I seem to be the first person to report this issues of OV in combination with MPAR. :confused:
    Going to investigate.
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    Bad news. I tried many YT videos and several from other sites, but nothing :( Each video starts playing without any problem.
     

    Jelmo

    Portal Pro
    September 8, 2007
    711
    55
    Home Country
    Germany Germany
    @georgius @tourettes
    Anyone of you had time to take a look? Would highly appreciate it! :)

    Currently always switching back to the default audio renderer when watching YT-videos in OnlineVideos and playback works flawlessly that way.
    I am a bit confused that I seem to be the first person to report this issues of OV in combination with MPAR. :confused:

    You are not alone. I have posted this before here : https://forum.team-mediaportal.com/...ixes-for-1-3-0-beta.109738/page-3#post-921809
     

    Users who are viewing this thread

    Top Bottom