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

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

  1. mylle

    mylle Portal Pro

    Joined:
    April 14, 2005
    Messages:
    574
    Likes Received:
    54
    Location:
    Denmark
    Ratings:
    +68 / 0
    Home Country:
    Denmark Denmark
    1Gbit wired network.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. miroslav22
    • Premium Supporter

    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 :)

    At least that narrows it down a bit further. Very strange though whatever I do on my system I can't get it to happen. It ran quite happily on its own for hours with just the odd few late frames every few minutes.

    I'll keep prying
     
  4. romuz
    • Premium Supporter

    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
    Here logs like

    23-01-2011 21:55:48.846 [710]Demux : Video to render 1.003 Sec
    23-01-2011 21:55:49.135 [710]Demux : Video to render 0.964 Sec
    23-01-2011 21:55:49.135 [710]Demux : Audio to render 0.628 Sec
    23-01-2011 21:55:50.431 [710]Demux : Video to render 0.959 Sec
    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
    Happens right after a switch to channel so i dont need to wait :)
     
  5. miroslav22
    • Premium Supporter

    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
    I'm not 100% sure what those entries indicate (I don't think they're necessarily errors). I do see a lot of those recorded (via UNC or RTSP) without any problems with the picture or sound.
     
  6. romuz
    • Premium Supporter

    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
    Yep but only till it do not come to 0.
    But it is not important, main finding is step back fixes it and discontinuities

    http://paste2.org/p/1207934

    This shows the difference
    its is viewing after switching and at 23-01-2011 22:05:45.080 i have done step back
     
    • Like Like x 1
  7. miroslav22
    • Premium Supporter

    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
    Ah right, so it seems to run ok once you've stepped back 15 seconds?

    Apart from all the:

    FileReader::Read() read to less bytes

    :D
     
  8. romuz
    • Premium Supporter

    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
    Yes it runs perfect after skip

    FileReader::Read() read to less bytes has no effect
     
    • Like Like x 1
  9. miroslav22
    • Premium Supporter

    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 that's a big help :D

    Now it makes sense - it must be that tsreader is running too close to the live write point. The packets probably arn't available when it needs them (as they are appended much less frequently with the patch)

    Hopefully i'll be able to change the code to replicate it now :D
     
    • Like Like x 1
  10. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: Why oh Why :( Read() no open file

    that would be perfect - any idea on how to solve this? Problem would be that channel switching is slower? Shouldn't Tswriter at least be one buffer ahead tsreader?
     
  11. miroslav22
    • Premium Supporter

    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 guys,

    Very sorry to disappoint but it doesn't look like i'm going to be able to fix the issues over UNC. I've tried everything I can think of but the initial stuttering and the file open problem I just cannot replicate.

    I'm seeing all SD channels run quite well but some HD channels run very badly. There seems to be little difference in performance for me if the patch is used or not.

    I've asked in the team forum for advice on the best way forward. The only solution I can propose is to have an option to switch tsreader/tswriter back to use the old method in the patch.

    :sorry:
     
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!