[fixed] - New TVLibrary.dll makes changing channel very slow

Discussion in 'MediaPortal 1.2.0 ALPHA' started by nip.nyborg, December 24, 2010.

  1. nip.nyborg

    nip.nyborg Portal Pro

    Joined:
    January 12, 2007
    Messages:
    98
    Likes Received:
    9
    Gender:
    Male
    Ratings:
    +9 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    MediaPortal Version: MP 1.2.0 SVN 27119
    MediaPortal Skin: Blue 3 Wide
    Windows Version: Windows 7 Ultimat 64
    CPU Type: AMD Athlon 64 X2 4000+
    HDD: Samsung SP 500GB/250GB
    Memory: 2 GB DDR2 PC2-5300
    Motherboard: Gigabyte GA-M57 SLI-S4
    Video Card: Asus 8600GT Magic
    Video Card Driver:
    Sound Card: HDA Mystique AC3 Optical
    Sound Card AC3: Optical out
    Sound Card Driver:
    1. TV Card: Floppy DTV DVB-C
    1. TV Card Type: DVB-C
    1. TV Card Driver:
    2. TV Card: Floppy DTV DVB-C
    2. TV Card Type: DVB-C
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Cyberlink 10
    MPEG2 Audio Codec: FFDSHOW
    h.264 Video Codec: Cyberlink 10
    Satelite/CableTV Provider: TDC / You See Denmark
    HTPC Case:
    Cooling:
    Power Supply:
    Remote:
    TV: Samsung LED UE40B6000
    TV - HTPC Connection: DVI-HDMI

    I don´n know if this is a bug or not, but now I have reported my tests, and maby you can use it.
    Between SVN 27007 and 27028 (and forward) something happened with TVLibrary, channel-change between some channels takes very long time (10-20 sec.).
    It seems to happen when changing from an unscrambled SD, to a scrambled HD channel, and back. Between unscrambled SD channels it is fine, and also between some HD.
    When I use the TVLibrary.dll from SVN-27007, problem is gone. (1-2 sec.)
    I even made a clean install, to be sure it was not my system.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,729
    Ratings:
    +8,195 / 17
    Home Country:
    New Zealand New Zealand
    Hi there

    I believe I have identified the problem. If I am correct, the issue is introduced in 27020. What revision are you using at the moment?
     
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,729
    Ratings:
    +8,195 / 17
    Home Country:
    New Zealand New Zealand
    Hi again

    In fact I think the issue is already fixed in a later revision. Try updating to revision 27110 or greater and see if the problem still exists...
     
  5. nip.nyborg

    nip.nyborg Portal Pro

    Joined:
    January 12, 2007
    Messages:
    98
    Likes Received:
    9
    Gender:
    Male
    Ratings:
    +9 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Hi mm1352000

    This test is on 27119, (See systeminfo) and it is still the same.
     
  6. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,729
    Ratings:
    +8,195 / 17
    Home Country:
    New Zealand New Zealand
    Hi again

    Can you try the attached DLL:

    1. Stop the TV service.
    2. Take a backup of the TVLibrary.dll in your TV Server folder.
    3. Download and extract the attached DLL into your TV Server folder.
    4. Clear your TV Server logs.
    5. Start the TV service.
    6. Perform the same tests as before.
    7. Post the logs here.
     

    Attached Files:

    • TVLibrary.zip
      File size:
      156.7 KB
      Uploaded:
      December 24, 2010
      Views:
      216
    • Like Like x 1
  7. nip.nyborg

    nip.nyborg Portal Pro

    Joined:
    January 12, 2007
    Messages:
    98
    Likes Received:
    9
    Gender:
    Male
    Ratings:
    +9 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Hi mm1352000

    Man you are fast.
    Your TVlibrary.dll works great, don´t know what you did, but thanks alot.
     
    • Like Like x 1
  8. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,729
    Ratings:
    +8,195 / 17
    Home Country:
    New Zealand New Zealand
    Hi again

    Happy Christmas to you :)
    I think I've identified a relatively serious problem that the team really needs to address, so thank you for reporting the issue and thank you for the logs :D
     
  9. nip.nyborg

    nip.nyborg Portal Pro

    Joined:
    January 12, 2007
    Messages:
    98
    Likes Received:
    9
    Gender:
    Male
    Ratings:
    +9 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    Happy Christmas to you too.

    Thanks again for looking into this, and I`m glad if this can be off any help.
     
  10. sunedane

    sunedane Portal Member

    Joined:
    November 30, 2008
    Messages:
    16
    Likes Received:
    5
    Occupation:
    Software developer
    Ratings:
    +5 / 0
    Home Country:
    Denmark Denmark
    I can confirm that your new TVLibrary.dll fixes the channel change delay of the current SVN.

    Will the fix go into SVN soon or can we get a patch?

    /sd
     
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,729
    Ratings:
    +8,195 / 17
    Home Country:
    New Zealand New Zealand
    Hi there

    The "fix" won't go into SVN because it is simply a workaround and confirmed where the problem was for me. There is an internal team discussion going on at the moment about how we're going to solve the problem properly as it is relatively serious and requires careful consideration. I guess you both compile your own builds? A simple and quick hack is to comment out the call to PersistPCRtoDataBase(channel) in TvEngine3\TVLibary\TVLibrary\Implementations\DVB\Graphs\TvDvbChannel.cs (there is only one of these at approximately line 1140. After that, rebuild the TVLibrary project and take the TVLibrary.dll and place it in your TV Server install folder.
     
    • 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!