[fixed] BassPlayer bug (2 Viewers)

l337

MP Donator
  • Premium Supporter
  • December 18, 2012
    238
    73
    Home Country
    Germany Germany
    then why do I need so much buffer when it is no forward / back coil is possible, and yes of course I need something that could have the first cassette recorder 20 years ago "incredible here"
    what is the default value of the buffer?
     
    Last edited:

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    IT WORKS.

    Several users, including the thread starter, have confirmed that using the right buffer size the problem is gone. So what?

    I cannot do anything against too high buffer usage.
    And there are other ways to circumvent that.

    How often do you do a FF / REW?
    I am mainly using MP for music only and NEVER do FF / REW.

    And if i would do it, i would use skip steps.

    The only way to get around that is to remove the ability to set the buffer in Config and let MP set it the way it works.
    And i am sure that some other people will then start a similar thread to demand back the buffer settings.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    This is a valid workaround... but if the FF/RW option is available people will attempt to use it, and IMO it should "just work".
    Agreed, this should just work. If we have issues that require tinkering we would make skip steps the default behavior and have a wiki article about ffwd/rew.

    I am still not 100% clear what the issue is. If you have 2s of audio in the buffer and press ffwd to go to 2x are we saying that the point it wants to jump to is already in the buffer so it goes there then the next jump is not in the buffer and it somehow jumps back to the original point? Is the buffer kept filled when playing at faster speeds or if we need to get to a point after the buffer does it then jump to the right point kind of like skip steps?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    IT WORKS.



    Several users, including the thread starter, have confirmed that using the right buffer size the problem is gone. So what?
    Yep, I understand that. :)
    The answer to "so what" is that FF/RW doesn't work out-of-the-box with BASS - that is the issue from my perspective.
    In other words, I think we need to do something to fix the out-of box experience. For example, changing the default buffer setting and documentation/warning in the wiki for people that decide to change the buffer setting.

    People expect MP to "just work", and there is little patience when it doesn't. Most people don't know, understand or care about why something like this doesn't work. They'll think "stupid MP doesn't work properly" and use it as one more excuse to switch to other software. ;)



    I cannot do anything against too high buffer usage.
    Okay... but why is the default buffer value set in such a way as to make FF/RW not work? That seems wrong to me. :)
    Wiki says:
    Buffering is the amount of seconds MediaPortal reads ahead to avoid stuttering. Change if you experience any stuttering.
    Natural inclination with sliders for such a setting is to think "more is better"... but actually, we see here that is not actually the case.
    The wiki says why the setting is available, but it doesn't warn about the consequences of increasing the setting to max. That also seems wrong to me. :)



    How often do you do a FF / REW?
    I don't use music in MP. I use Winamp because I find the ability to search and shuffle better.
    I don't use FF/RW with Winamp - I drag the slider to the position that I want.
    ...but that is beside the point! :)
    If we offer the feature, it should work... or we should have a clear explanation why it doesn't work.


    I am mainly using MP for music only and NEVER do FF / REW.

    And if i would do it, i would use skip steps.
    Fair enough, but other people are free to use it because it is there... and for them it should work. Not everyone is the same. :)




    The only way to get around that is to remove the ability to set the buffer in Config and let MP set it the way it works.

    And i am sure that some other people will then start a similar thread to demand back the buffer settings.

    Okay, we can't remove the setting then. No problem... but can we fix the default value and add some comments in the wiki?
    :)
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    The answer to "so what" is that FF/RW doesn't work out-of-the-box with BASS - that is the issue from my perspective.
    In other words, I think we need to do something to fix the out-of box experience. For example, changing the default buffer setting and documentation/warning in the wiki for people that decide to change the buffer setting.

    People expect MP to "just work", and there is little patience when it doesn't. Most people don't know, understand or care about why something like this doesn't work. They'll think "stupid MP doesn't work properly" and use it as one more excuse to switch to other software. ;)
    As above this is exactly why this should work out the box (even if that out the box solution was skip steps)

    T
    I cannot do anything against too high buffer usage.
    Okay... but why is the default buffer value set in such a way as to make FF/RW not work? That seems wrong to me. :)
    Wiki says:
    Buffering is the amount of seconds MediaPortal reads ahead to avoid stuttering. Change if you experience any stuttering.
    Natural inclination with sliders for such a setting is to think "more is better"... but actually, we see here that is not actually the case.
    The wiki says why the setting is available, but it doesn't warn about the consequences of increasing the setting to max. That also seems wrong to me. :)
    I started looking at this but I am confused as to what is actually happening here. If I press ffwd when playing (even at say x4 or x8) then time actually goes forward in real time but the audio is played at the speed expected and then the clock jumps backwards.
    I will post a video as my explanation is terrible :)


    What I don't get is why this is happening. Are we saying that it is speeding up playback but only of what is already in the buffer? If there was no enough data getting through I could see it stuttering but the fact it jumps back in time has me very confused...
    @hwahrmann can you explain what the issue is with the buffer
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    There seems to be an issue when we jump to a position, which is already in the buffer.
    we seek 80ms * speed.
    there seems to be no issue when the speed is 8 or higher, but for lower speeds there seems to be a loop.

    This was introduced instead of the skip steps in 1.2.
    Then the users were crying to get skip steps back.
    Now they are back and i think we should use it.
     
    Last edited:

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    ok. i've found a way to make it work with even 2 seconds of buffer.

    Mantis 4446.
    Branch created and code is in Git.
    please test

    Seems to work great for FFWD but not for REW at slower speeds.
    It is as if the stream is still moving on so when you REW at low speed you are skipping back at the same speed as the stream is moving on so you get stuck at the same point
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    ok. i've found a way to make it work with even 2 seconds of buffer.

    Mantis 4446.
    Branch created and code is in Git.
    please test

    Seems to work great for FFWD but not for REW at slower speeds.
    It is as if the stream is still moving on so when you REW at low speed you are skipping back at the same speed as the stream is moving on so you get stuck at the same point


    I confirm REW seems to not work (and do a like a refresh screen) :)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Seems to work great for FFWD but not for REW at slower speeds. It is as if the stream is still moving on so when you REW at low speed you are skipping back at the same speed as the stream is moving on so you get stuck at the same point

    of course you will get some troubles on REW.
    Since at lower speeds, we only jump back 80ms * _speed

    so for double rewind it is only 160ms and the stream continues immediately to play from this position.

    If you ask me, i would get rid of this crap and use skip steps only.
    I can#t see any reason, why we would need this.
     

    Users who are viewing this thread

    Similar threads

    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs have played. If I press Next, it will start playing the next song. This happens with BASS and Wasapi players. It does not happen if I use Internal dshow player (which doesn't sound as good as either of...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Replies
    0
    Views
    465
    It appears that the links on the page for the downloads of pre-release 1.33 and 1.33 x64 are reversed. I just accidentally installed x64. My bad for not looking closely.
    It appears that the links on the page for the downloads of pre-release 1.33 and 1.33 x64 are reversed. I just accidentally...
    It appears that the links on the page for the downloads of pre-release 1.33 and 1.33 x64 are reversed. I just accidentally...
    Replies
    0
    Views
    493
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    Hi, I have just upgraded from MP 2.2.2 to MP 2.4.1, and now the client won't start. I see the splash screen, and then it just...
    Replies
    3
    Views
    915
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    40
    Views
    4K
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV audiodecoder shows status 'bistreaming' on the output. What is your LAV status?
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    13
    Views
    1K
    Top Bottom