[WiP] - Timeshifting in a single looping .ts file | Page 9

Discussion in 'Submit: code patches (MediaPortal/TV-Server/etc.)' started by dvdfreak, February 6, 2011.

  1. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: Timeshifting in a single looping .ts file



    tourettes
    i can post a single diff tonight if you want. Strangely also dvdfreak doesn't 100% know what the cause. He cleaned up / restructured the tsreader read method and then it was working.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. dvdfreak

    dvdfreak Portal Pro

    Joined:
    June 13, 2006
    Messages:
    979
    Likes Received:
    178
    Ratings:
    +178 / 0
    Home Country:
    Belgium Belgium
    Re: AW: Timeshifting in a single looping .ts file

    If only I knew... ;) I cleaned up the SetFilePointer() and Read() methods and added some logging. And it all worked fine after I did so. Just to be sure it was not a timing issue, I disabled the logging again, and it remained working :D So whatever it was, seems I fixed it by cleaning up the code -- I always guessed it was something subtle.
     
  4. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: Timeshifting in a single looping .ts file

    dvdfreak
    do you think it would make sense to check for the same things in the actual plain SVN tsreader? Perhaps it will also solve there the issues we're seeing?
     
  5. elliottmc
    • Premium Supporter

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Re: AW: Timeshifting in a single looping .ts file

    What do you mean? I use rtsp streaming in multi-seat, and it works fine. 99% of my TV viewing is on a network client. What is not working?

    Mark
     
  6. mcrob83
    • Premium Supporter

    mcrob83 MP Donator

    Joined:
    November 10, 2009
    Messages:
    206
    Likes Received:
    12
    Occupation:
    student
    Location:
    St.Marienkirchen, Eferding
    Ratings:
    +12 / 0
    Home Country:
    Austria Austria
    AW: Re: AW: Timeshifting in a single looping .ts file

    Streaming over rtsp is currently quite slow compared to streaming over rtsp. Thatswhy that work makes great sense.
     
  7. mylle

    mylle Portal Pro

    Joined:
    April 14, 2005
    Messages:
    574
    Likes Received:
    54
    Location:
    Denmark
    Ratings:
    +68 / 0
    Home Country:
    Denmark Denmark
    Also I can confirm what dvdfreak wrote earlier in this thread:

    "Important to say: sometimes it zaps fine. But most of the times it zaps, then shows a freezed frame of the old channel for a second or so, after which the new channel shows up, but totally messed up (showing video and audio continuity errors in the log) -- and it stays messed up until you skip back like described above.

    Other times it zaps, freezes momentarily and then shows the new channel after some messed up frames (to it seems to recover)"

    This happens to me also, and zapping is slower with RTSP

    regards
    Jacob
     
  8. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: Timeshifting in a single looping .ts file

    mylle
    but what dvdfreak has written was regarding THIS patch. It is solved by a new one posted by me yesterday. It was not a descpription of the current MP implementation.
     
  9. mylle

    mylle Portal Pro

    Joined:
    April 14, 2005
    Messages:
    574
    Likes Received:
    54
    Location:
    Denmark
    Ratings:
    +68 / 0
    Home Country:
    Denmark Denmark
    Ahh. You are right sorry.

    I got confused because this is exactly what im seing when using regular RTSP.

    "it shows a freezed frame of the old channel for a second or so, after which the new channel shows up"
     
  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: Timeshifting in a single looping .ts file

    devs
    would it be OK to post here a SVN based MP und TVServer install? so people like mylle can test this patch also and see if it helps is his sitation. The build would contain Disaster123 build in all logs so you were able to detect this special build if there were support requests.
     
  11. dvdfreak

    dvdfreak Portal Pro

    Joined:
    June 13, 2006
    Messages:
    979
    Likes Received:
    178
    Ratings:
    +178 / 0
    Home Country:
    Belgium Belgium
    Re: AW: Timeshifting in a single looping .ts file

    I'm going to be posting a For The Record BETA 7 this evening to our BETA forum, and I'm going to include a separate download for a pre-patched TsReader.ax and MP. So people can test with that too. It will be real interesting to hear the result from those that had UNC issues before :)
     
    • Like Like x 1
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!