Channel Change fails due to Service ID change

Discussion in '1.1.x and SVN Builds' started by jimbeam128, March 16, 2011.

  1. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    MediaPortal Version: 1.1
    MediaPortal Skin: Bleazle Wide V8
    Windows Version: XP SP3
    CPU Type: Athlon X2 4850e
    HDD: 32 GB SSD + 500 GB HDD
    Memory: 2 GB DDR2
    Motherboard: Asus M3N78-VM
    Video Card: Gainward Geforce 9400 GT 1 GB
    Video Card Driver:
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card:
    1. TV Card Type: DVB-C
    1. TV Card Driver: 1.01.01.501
    2. TV Card: Terratec Cinergy C PCI HD
    2. TV Card Type:
    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: Power DVD 9
    MPEG2 Audio Codec: AC3Filter
    h.264 Video Codec: PowerDVD9
    Satelite/CableTV Provider: Unitymedia NRW
    HTPC Case: Suitcase out of Hardware-Store
    Cooling: 2 low noise Fans
    Power Supply: Silentmaxx 350w
    Remote: Logitech 525
    TV: Samsung 32" LCD
    TV - HTPC Connection: HDMI

    Hello,

    we already discussed the Problem in this Thread:

    https://forum.team-mediaportal.com/general-support-51/tv-server-log-tv-server-log-pmt-pid-wasnt-found-pat-94233/#post724214

    The Problem is, that after pressing the button for changing the channel, we get the error:

    "Graph could not be started" "Timeshift could not be started"



    This seems to be due to the change of the Service ID of the channel. The TV-Server does not recognize the change and after switching to the channel with the new SID, channel change fails.

    Logs of TV-Server are also already attached here:

    https://forum.team-mediaportal.com/general-support-51/graph-could-not-started-94261/
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    In DVB terms, the SID is the channel though. If this changes then MP by design will treat this as a different channel.

    You mention you are using IPTV in the other thread but above your specs say DVB-C. Am I right in thinking that this is only a problem with IPTV?
     
  4. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Channel Change fails due to Service ID change

    Hello and thanks for your reply,

    no, I am using DVB-C as source. But I think this seems to be a general problem then - DVB-S - DVB-C - IPTV ....


    When something in the channel "information" is changing, we all seem to have the same problem that the channel cannot be tuned.

    In my case I "simply" have to retune the channel - the new information seems to be grabbed then - and I can watch TV then...

    But - if possible - the channel information (PID and SID) should be checked when we are swichting to another channel and the infomation of the new channel should be used... Or something like that. I don´t know what would be the "best solution" for this problem...
     
  5. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    But the issue here is that the SID is what determines what a channel is. If this changes MP has no other option but to assume it is a new channel. You can not use channel name as you mentioned in another thread as this is not unique.

    eg. this is my DVB-S details (Astra 2A / Astra 2B / Astra 2D / Eurobird 1 (28.2°E) - All transmissions - frequencies - KingOfSat) if you look at the first transponder there are several regional versions of Channel 4 which all have the name Channel 4 when scanned. The only way to identify these channels separately is by the SID.

    The SID is what is used to read the DVB tables and figure out which video and audio streams to use.

    The question here is why is your provider changing SIDs all the time? What provider is this?
     
  6. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Channel Change fails due to Service ID change

    My Provider is Unitymedia in Germany.

    I don´t know if the PID is really changing.

    Here an extraction of my ts-log:

    Code (Text):
    1. 15-03-2011 20:02:41.718 pmtgrabber: serviceid mismatch 5e2c != 2f47
    2. 15-03-2011 20:02:41.750 pmtgrabber: set callback:d8ffb8
    3. 15-03-2011 20:02:41.750 pmtgrabber: search pmt from PAT for sid:2f47
    4. 15-03-2011 20:02:41.765 PMT Pid wasn't found on the PAT. Channel may have moved, try a new channel scan.

    It says the service-ID mismatches. So I think the Service-ID seems to change. Whatever it is - I don´t know.

    The PID seems to be always the same. Here an extraction of the log after channel change:

    Code (Text):
    1. 15-03-2011 20:02:56.171 pmtgrabber: PMT pids changed to:
    2. 15-03-2011 20:02:56.171  pcr      pid:  21f
    3. 15-03-2011 20:02:56.171  pmt      pid:  104
    4. 15-03-2011 20:02:56.171  video    pid:  21f type: MPEG2
    5. 15-03-2011 20:02:56.171  audio    pid:  220 language: deu type: MPEG1 - audio
    6. 15-03-2011 20:02:56.171  audio    pid:  222 language: deu type: AC3
    7. 15-03-2011 20:02:56.171 pmtgrabber: got new pmt version:19 ffffffff, service_id:2f47
    8. 15-03-2011 20:02:56.171 pmtgrabber: do callback pid 104
    It seems to be always "104"

    I think there has already been something implemented in the past for PID-Problems from Mantis:

    0002422: TSWriter doesnt dynamically change the PMT pid - MediaPortal Bugtracker

    So maybe there maybe have to be implemented a similar solution for SID´s? - That´s my question.
     
  7. jameson_uk
    • Team MediaPortal

    jameson_uk Retired Team Member

    Joined:
    January 27, 2005
    Messages:
    7,258
    Likes Received:
    2,228
    Gender:
    Male
    Occupation:
    Data Warehousing Consultant
    Location:
    Birmingham
    Ratings:
    +2,403 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Re: AW: Channel Change fails due to Service ID change

    My understanding (and hopefully one of the devs who understands this better than me can confirm) is that was implemented basically changed way we lookup the PMT data. Before that change we assumed the PMT did not change and stored that value in the database. The PMT is obtained by looking for the correct details in the PAT based on the SID. The only reason the PMT was stored was to make it a little quicker rather than having to look it up on every tune.

    So with this option turned on the we can find the correct PMT by looking for the SID in the PAT. (enough three letter acronyms there ???) We can not do this the other way around though as the SID is the data we are looking up.

    So basically we are only storing the PMT value for performance and we can look this up dynamically but the SID is how we identify the channel so we can not look this up dynamically
     
  8. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Channel Change fails due to Service ID change

    Hello again,

    so I´ve searched arround in the forum and this seems to be an "aged" problem. Here a quote of this thread (Page 3):

    https://forum.team-mediaportal.com/mediaportal-1-1-0-rc-3-6-519/some-channels-fail-tume-unable-start-graph-rc6-84224/index3.html


    So, in that thread they discuss the same Issue I have. So I think channel change in General seems not to be very reliable....


    I don´t know what we have to focus on - PAT - PMT - PID - SID..... - But I can report as many information as I can (logs and behaviour) to debug and locate the source of this Issue and to improve this situation for us.
     
  9. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Channel Change fails due to Service ID change

    Hello again,

    I´ve read the above metioned thread to the end and recognized this hint from Joystick:

    I also enabled this option and so far it did not happen. I will go on testing and come back in two or three days and will report if this option solves the issue.

    Hope so.
     
  10. jimbeam128

    jimbeam128 Portal Pro

    Joined:
    December 16, 2008
    Messages:
    165
    Likes Received:
    19
    Ratings:
    +19 / 0
    Home Country:
    Germany Germany
    Show System Specs
    AW: Channel Change fails due to Service ID change

    OK, I am running the TV-Server with the debug option for some days now and there are no errors in the log as described before.

    So I think this seems to work.

    BUT, unfortunately channel change still fails randomly with the messages:

    "Timeshift could not be started"
    "Graph could not be started"


    And I cannot locate something special in the logs. Attached a log with the new configuration implemented.

    Maybe someone lese has the same Issue?
     
  11. 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
    Attach all logs.
     
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!