skip buffering (1 Viewer)

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Hi. Great idea to add this feature. May I suggest another optimization for the Online Vids plugin? For me case is as follows:
    Videos are buffered to compensate for NW issues to guarantee smooth playback. Thats why we buffer a part of the stream before we start playing, right?

    So maybe we can make this calculation a little smarter. Can you read out the MB/sec that a stream has (on VBR use an average value)? If so we sould say buffer the minimum of 2% or x seconds of video (x can be configured, should default to something like 2-3 seconds).

    Or even better, add another option for maximum bandwith, resulting in the following calculation:

    br = Bitrate of the video
    size = total size of video
    size/br = duration of video
    x = config option, how many seconds of video should be buffered
    y = config option, what is the download speed of your internet connection

    if br>y then
    buffer = size - ((size/br + x)*y); // We need to download most of the video because bit rate is higher than our download speed.
    // Assume that we can start playing as soon as the leftover time is enough to download the rest and add the buffer seconds to that
    else
    buffer = min(size/50,br*x); // Buffer 2% or configured number of seconds, whichever is the lowest
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    AW: skip buffering

    Sry to tell you, but the bitrate (and all other details about the video) is only known to the filter playing the video. Onlinevideos does have no knowledge of that (all we have is an url) , so I can't do your magic calculation ;)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    AW: Re: skip buffering

    I don't know any standarized interface for that (don't think there is one).
    No way to query the filters about that? Pity.

    PLAY button on MCE:
    I just found the action needed to get the PLAY button on remotes working as well. So with next version (0.29) this will be fixed.

    Freezing MP:
    Another thing I noticed: The freezing of MediaPortal on videos from cinemassacre (or screwattack) is coming from the PowerDVD10 FLV Splitter. If I use the FLVSpltter I attached in another post of this forum - it will at least play the video (working with skipping of buffering) and if you press stop before it actually ends, it won't freeze. It will freeze if you let it play out, but that is due to the 2 GB setting from their servers.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    AW: skip buffering

    The splitter you are using is pretty old. You can replace it with the one I posted in the thread you mentioned, it is based on the same source with a few enhancements.
     

    Users who are viewing this thread

    Similar threads

    @Greenhorn7 If you want to shutdown the PC by mapping a single button, you can do following. Go to settings/plugins/launcher/add application and add following application: Now go to settings/plugins/launcher/application menu and link sleep to the e.g. "Menu 1" Now map in settings/input devices/action shortcuts the configured...
    @Greenhorn7 If you want to shutdown the PC by mapping a single button, you can do following. Go to settings/plugins/launcher/add...
    Dear forum, I am having an issue with Flirc connected to MP2. Most keys are working fine, but when pressing the OK button, I am...
    Replies
    8
    Views
    1K
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video signal") on the TV I suspect the AVR has something to do with that. If I manually put the TV only into standby when TV is playing but paused then on wakeup I could not immediately take it out of pause and...
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video...
    Hi all, I´m using MP 1.30 at the moment and have a problem which also exists on my system on previous versions. So I don´t think...
    Replies
    3
    Views
    841
    MP1 MP2 Odd Standby issue DE
    Since I played around with all the settings as per the previous posts and despite putting everything back to how it was, as far as I can tell, now when my HTPC wakes up to make a recording it no longer does so in away mode. I will probably do a restore from a backup in the hope that that will resolve the issue.:mad:
    Since I played around with all the settings as per the previous posts and despite putting everything back to how it was, as far as...
    Generally standby is working well on My Mp 1.32 x64 pre set up. I just have one issue, which was also present on earlier x86...
    Replies
    35
    Views
    4K
    • Sticky
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
    MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
    Replies
    7
    Views
    765
    (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
    Top Bottom