[confirm] - Why oh Why :( Read() no open file | Page 2

Discussion in 'MediaPortal 1.2.0 ALPHA' started by mylle, January 20, 2011.

  1. pilehave
    • Premium Supporter

    pilehave Community Skin Designer

    Joined:
    April 2, 2008
    Messages:
    2,566
    Likes Received:
    500
    Gender:
    Male
    Occupation:
    Technical consultant, marketing
    Location:
    Hornslet
    Ratings:
    +517 / 0
    Home Country:
    Denmark Denmark
    To ensure that the file is visible on the network, perhaps it could be accessed by the client ie. 10 seconds before it should be visible? This should ensure that Windows has the path cached, right?

    Maybe this is already your idea :)

    :D


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. miroslav22
    • Team MediaPortal

    miroslav22 Development Group Member

    Joined:
    September 4, 2009
    Messages:
    703
    Likes Received:
    459
    Gender:
    Male
    Location:
    Warwick
    Ratings:
    +459 / 0
    Home Country:
    United Kingdom United Kingdom
    Hopefully a similar change won't be needed for tsreader, but we'll see how it goes :) Shouldn't be difficult if needed
     
  4. mylle

    mylle Portal Pro

    Joined:
    April 14, 2005
    Messages:
    574
    Likes Received:
    54
    Location:
    Denmark
    Ratings:
    +68 / 0
    Home Country:
    Denmark Denmark
    OK,

    Seems timeshifting to a ram drive does not make a difference with my setup :(

    Hopefully V4 of the patch will be ready soon :)

    regards
    Jacob
     
  5. tompa
    • Premium Supporter

    tompa MP Donator

    Joined:
    October 3, 2005
    Messages:
    665
    Likes Received:
    35
    Gender:
    Male
    Location:
    Stockholm
    Ratings:
    +35 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    mylle, thanks for reporting this!

    Iv seen the same thing at my setup for version 1.1.2

    /tompa
     
  6. miroslav22
    • Team MediaPortal

    miroslav22 Development Group Member

    Joined:
    September 4, 2009
    Messages:
    703
    Likes Received:
    459
    Gender:
    Male
    Location:
    Warwick
    Ratings:
    +459 / 0
    Home Country:
    United Kingdom United Kingdom
    Hi,

    Unfortunately i've not been able to replicate this problem so can't confirm this will help. V4 of the attached patch contains the code that creates the next buffer file in advance. Would anyone mind testing it to see if it helps and post back either way?

    Thanks :)
     

    Attached Files:

    • Like Like x 2
  7. romuz
    • Team MediaPortal

    romuz Retired Team Member

    Joined:
    July 26, 2008
    Messages:
    1,045
    Likes Received:
    125
    Location:
    Moskau
    Ratings:
    +126 / 0
    Home Country:
    Russian Federation Russian Federation
    Hi applied that patch
    and now im geting stops of live tv (using unc)
    tsreader log contains new errors

    23-01-2011 20:36:54.891 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:36:55.898 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:36:56.904 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:36:57.911 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:36:58.920 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:36:59.929 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:00.935 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:01.942 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:02.948 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:03.954 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:04.962 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:05.969 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:06.977 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:07.984 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:08.993 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:09.999 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:11.008 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:12.018 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:13.026 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:14.033 [a18]FileReader::Read() read to less bytes
    23-01-2011 20:37:15.042 [a18]FileReader::Read() read to less bytes

    + discontinuites
     
  8. mylle

    mylle Portal Pro

    Joined:
    April 14, 2005
    Messages:
    574
    Likes Received:
    54
    Location:
    Denmark
    Ratings:
    +68 / 0
    Home Country:
    Denmark Denmark
    I will wait and see what reply miroslav has to romuz findings.

    regards
    Jacob
     
  9. miroslav22
    • Team MediaPortal

    miroslav22 Development Group Member

    Joined:
    September 4, 2009
    Messages:
    703
    Likes Received:
    459
    Gender:
    Male
    Location:
    Warwick
    Ratings:
    +459 / 0
    Home Country:
    United Kingdom United Kingdom
    Thanks Romuz, i'll try again :)

    Would everyone mind posting what their network setup is like? Mine's all fully wired 1gbps which might be why i'm not seeing these problems.

    Does anyone use wireless or homeplug/powerline adaptors?
     
  10. romuz
    • Team MediaPortal

    romuz Retired Team Member

    Joined:
    July 26, 2008
    Messages:
    1,045
    Likes Received:
    125
    Location:
    Moskau
    Ratings:
    +126 / 0
    Home Country:
    Russian Federation Russian Federation
    Mine 1gbps wired too
    additional info

    23-01-2011 22:06:07.861 [d70]FileReader::Read() read to less bytes
    23-01-2011 22:06:08.868 [d70]FileReader::Read() read to less bytes
    23-01-2011 22:06:09.877 [d70]FileReader::Read() read to less bytes
    23-01-2011 22:06:10.886 [d70]FileReader::Read() read to less bytes
    23-01-2011 22:06:11.893 [d70]FileReader::Read() read to less bytes
    23-01-2011 22:06:12.903 [d70]FileReader::Read() read to less bytes
    this errors happens even right after skip back for 15 sec so it is not related with network files caching

    BUT imho my main issue related to that tsreader are too close to the end of the buffer
    because after skiping back logs like this

    23-01-2011 21:55:51.562 [710]Demux : Video to render 0.899 Sec
    23-01-2011 21:55:51.564 [710]Demux : Audio to render 0.603 Sec
    23-01-2011 21:55:55.175 [710]Demux : Audio to render 0.590 Sec
    23-01-2011 21:55:55.415 [710]Demux : Audio to render 0.578 Sec
    23-01-2011 21:55:56.017 [710]Demux : Video to render 0.768 Sec
    23-01-2011 21:55:56.020 [710]Demux : Audio to render 0.464 Sec
    23-01-2011 21:56:30.565 [710]Demux : Audio to render 0.354 Sec
    23-01-2011 21:56:32.988 [710]Demux : Audio to render 0.326 Sec
    23-01-2011 21:56:36.737 [710]Demux : Video to render 0.750 Sec
    23-01-2011 21:56:46.137 [710]Demux : Audio to render 0.263 Sec
    23-01-2011 21:56:53.813 [710]Demux : Video to render 0.671 Sec
    23-01-2011 21:58:17.776 [710]Audio Continuity error... 1 ( prev e )
    23-01-2011 21:58:39.181 [710]Demux : Audio to render 0.116 Sec
    23-01-2011 21:58:39.182 [710]Demux : Video to render 0.477 Sec
    23-01-2011 21:58:46.258 [710]Audio Continuity error... 2 ( prev 0 )
    23-01-2011 21:58:46.260 [710]Video Continuity error... f ( prev c )

    are gone and all works perefectly
    even with FileReader::Read() read to less bytes
    it is not produce any visual issues
     
  11. tompa
    • Premium Supporter

    tompa MP Donator

    Joined:
    October 3, 2005
    Messages:
    665
    Likes Received:
    35
    Gender:
    Male
    Location:
    Stockholm
    Ratings:
    +35 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!