How to increase video cache buffer ? (1 Viewer)

staticx

Portal Pro
March 22, 2009
140
13
Home Country
Israel Israel
Hi

Is there a way to define video cache size?
(on slow internet connections sometimes the video freeze to load the next frame...)

thanks.
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    This is a directshow codec problem. Nothing in the plugin you can configure to change that.
     

    staticx

    Portal Pro
    March 22, 2009
    140
    13
    Home Country
    Israel Israel
    are you sure? cause for example, at XBMC you can define the size of the video cache to preload before playing...
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I have no idea how XBMC plays the files. It might always save them to disk before, or use something like VLC or MPC-HC as player. These two have their own source filter implementation, so they CAN change the buffer.
    This plugin is not responsible for playback, it only provides access to the urls and then builds the directshow graph with system filters, to play that url. This mean the cache would be a value of the filters used as source filter.
     

    staticx

    Portal Pro
    March 22, 2009
    140
    13
    Home Country
    Israel Israel
    which filter Online Videos is using? ffdshow?
    maybe as you say, at the filter itself there will be an option to change the buffer
     

    moryoav

    Portal Pro
    December 2, 2008
    236
    86
    Home Country
    Israel Israel
    And so the question remains, how do I know exactly which codec was chosen for a given file? is it written in a log somewhere?
    I was trying to watch a clip on YouTube, it was completely unwatchable, very choppy. Then I loaded the browser and watched the exact same clip - ran smoothly. So this is definitely a codec issue, we just need to figure out which one...


    In most cases the graph will start with this filter:
    File Source (URL) Filter

    What codec is used for playback totally depends on the file to play.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,387
    4,451
    Nuenen
    Home Country
    Netherlands Netherlands
    You can try it with graphstudio.
    When you start mediaportal and graphstudio, there is an option to connect to a remote program
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I found out that the File Source (URL) Filter that is used on all http sources as source filter for the graph supports another interface that can be used to ask how much of the file to be played is already downloaded in memory. I implemented a way to use this information to delay the start of playback in MediaPortal until a percentage (configurable, default 2% now) is downloaded. This will be in the next version (0.20).
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    980
    you are right.. I spotted why it's not working. For what ever reason, the 3x recently added / watched for TV series, etc was killing it.. I've removed it for now and it's started working again. I'll have to dig a little deeper as to why it's happened all of a sudden.
    you are right.. I spotted why it's not working. For what ever reason, the 3x recently added / watched for TV series, etc was...
    Hi Guys... Long time fan. using MP for over 20 years. Currently running MediaPortal x64 v1.38.3.0 on Win11 with all recent windows...
    Replies
    2
    Views
    568
    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    2K
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that these were never part of the install package itself, but rather downloaded during the install, and that link no longer exists. Shame that the installer doesn't indicate this. Last time when I installed the...
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that...
    Hi all, I've recently retired my MP2 setup for my main HTPC and gone back to separates, but I wanted to retain the ability to play...
    Replies
    4
    Views
    970
    Hi mate, As usual, you are always first up with an offer of assistance, and I really appreciate it. So sorry I haven't replied. I'll send you a PM now. Cheers, Steve.
    Hi mate, As usual, you are always first up with an offer of assistance, and I really appreciate it. So sorry I haven't replied...
    It appears that MP somehow caches previously used subtitle files for subsequent use next time the same video is played. My problem...
    Replies
    2
    Views
    3K
    Top Bottom