Slow Channel change (3 Viewers)

lar282

Portal Pro
July 11, 2004
414
2
Got a prob. Running latest tvserver and client. Got 2 computers. Channel change takes 20-23 sec if running MP on the server but if I watch TV from a client it only takes 1-3 sec. I cannot figure out why but I guess when watching tv on the same machine MP uses different filters to watch tv( I am guessing)

when it takes a long time the logs look like this. It just halts! and then changes the channel.
From 14:32:02 to 14:32:23 it just sits there!!!!
Any ideas?
TV server log
2008-03-10 14:32:02.124520 [9]: card2:dreambox 2 0
2008-03-10 14:32:02.124520 [9]: control1:dreambox 2 0
2008-03-10 14:32:02.124520 [9]: control2:dreambox 2 0
2008-03-10 14:32:23.140548 [9]: card: StartTimeShifting 2 d:\temp\live2-0.ts
2008-03-10 14:32:23.140548 [9]: card: WaitForUnScrambledSignal
2008-03-10 14:32:23.140548 [9]: card: return not scrambled
2008-03-10 14:32:23.140548 [9]: card: WaitForTimeShiftFile
2008-03-10 14:32:23.140548 [9]: card: WaitForUnScrambledSignal
2008-03-10 14:32:23.156174 [9]: card: return not scrambled
2008-03-10 14:32:23.156174 [9]: card: WaitForTimeShiftFile - waiting _eventAudio & _eventVideo
2008-03-10 14:32:23.156174 [9]: card: WaitForTimeShiftFile - start of the video & audio is seen
2008-03-10 14:32:23.359302 [9]: Controller: StartTimeShifting started on card:2 to d:\temp\live2-0.ts

MP log
2008-03-10 14:31:59.858851 [Info.][MPMain]: TVHome.ViewChannelAndCheck(): View channel=TV4
2008-03-10 14:31:59.890102 [Info.][MPMain]: TSReaderPlayer:pause graph
2008-03-10 14:32:23.359302 [Info.][MPMain]: tvhome:confused:eektoEnd(True)
2008-03-10 14:32:23.359302 [Info.][MPMain]: TsReaderPlayer:seekabs:526390000 start:340000 end:526390000
2008-03-10 14:32:23.374928 [Info.][MPMain]: TsReaderPlayer seek done:0
 

lar282

Portal Pro
July 11, 2004
414
2
will add more logs tomorrow.
meantime do u know if its the same mechanism when watching tv from a client than if then client is on the same computer?Same filter ? same stream or do the one use the ts files directly?
 

lar282

Portal Pro
July 11, 2004
414
2
logs

thanks tourette for the answer.

here is the log. Channelchange occured at
2008-03-11 08:21:00.296875
done at
2008-03-11 08:21:23.718750

Wierd 23 sec again....

running XP MCE 2005 latest build, all patches
2 twinhan dvb-T cars with ci +cam
TS files are on a seperate disc than system is
 

lar282

Portal Pro
July 11, 2004
414
2
nobody else have this problem...
I got the same MP version and files on both computers so its a bit strange..

ANY tips where I could start looking?

regards

//Lasse
 

Matty

MP Donator
  • Premium Supporter
  • January 3, 2007
    63
    1
    59
    Sydney
    Home Country
    Australia Australia
    Rev 18341 with DTV2000H is very slow too.

    Hi,

    I've reloaded my system and have been trying to tune it as bets as possible.
    The biggest issue I now have is very slow channel changes. Attached are my logs from the TV server and single seat client.

    Any suggestion is much appreciated.

    Matt
     

    Matty

    MP Donator
  • Premium Supporter
  • January 3, 2007
    63
    1
    59
    Sydney
    Home Country
    Australia Australia
    dvb:RunGraph very slow.

    Can anyone suggest why the actual running of a graph may be very slow?

    Log extract from previous post.
    --------------------------------------------
    2008-04-07 23:05:44.218750 [15]: Controller: StartTimeShifting Seven HD 5
    2008-04-07 23:05:44.218750 [15]: Controller: find free card for channel 7 HD Digital
    2008-04-07 23:05:44.218750 [15]: Controller: got 1 tuning details for 7 HD Digital
    2008-04-07 23:05:44.218750 [15]: Controller: channel #1 DVBT:tv:confused:even Network 7 HD Digital Freq:177500 ONID:4115 TSID:1282 SID:1316 PMT:240 FTA:True LCN:70 BandWidth:7
    2008-04-07 23:05:44.218750 [15]: Controller: card:1 type:DvbT is available priority:3 #users:0 same transponder:False
    2008-04-07 23:05:44.234375 [15]: Controller: card:2 type:Analog cannot tune to channel
    2008-04-07 23:05:44.234375 [15]: Controller: card:3 type:RadioWebStream cannot tune to channel
    2008-04-07 23:05:44.234375 [15]: Controller: found 1 available
    2008-04-07 23:05:44.234375 [15]: card: CardTune 1 7 HD Digital mediaportal:1:-1
    2008-04-07 23:05:44.234375 [15]: card: Tune 1 to 7 HD Digital
    2008-04-07 23:05:44.234375 [15]: card: user: mediaportal:1:-1 tune DVBT:tv:confused:even Network 7 HD Digital Freq:177500 ONID:4115 TSID:1282 SID:1316 PMT:240 FTA:True LCN:70 BandWidth:7
    2008-04-07 23:05:44.234375 [15]: dvbt: Tune:DVBT:tv:confused:even Network 7 HD Digital Freq:177500 ONID:4115 TSID:1282 SID:1316 PMT:240 FTA:True LCN:70 BandWidth:7
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Assigning oldChannel
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Current channel is null
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Graph is tunning
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Getting default locator
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Putting bandwidth 7
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: put_ONID 4115
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: put_SID 1316
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: put_TSID 1282
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Carrier frequency 177500
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: put_Locator
    2008-04-07 23:05:44.250000 [15]: dvbt: tune: Submitting tune request: SubId -1, channel DVBT:tv:confused:even Network 7 HD Digital Freq:177500 ONID:4115 TSID:1282 SID:1316 PMT:240 FTA:True LCN:70 BandWidth:7
    2008-04-07 23:05:44.265625 [15]: dvbt: tune: Submitting tune request: System.__ComObject
    2008-04-07 23:05:44.265625 [15]: dvb:confused:ubmiting tunerequest Channel:7 HD Digital subChannel:-1
    2008-04-07 23:05:44.265625 [15]: dvb:Getting new subchannel
    2008-04-07 23:05:44.265625 [15]: dvb:GetNewSubChannel:0 #0
    2008-04-07 23:05:44.265625 [15]: dvb:confused:ubmit tunerequest size:1 new:0
    2008-04-07 23:05:44.265625 [15]: subch:0 OnBeforeTune
    2008-04-07 23:05:46.328125 [15]: subch:0 OnAfterTune
    2008-04-07 23:05:46.328125 [15]: dvbt: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel
    2008-04-07 23:05:46.328125 [15]: dvbt: tune: SubChannel 0
    2008-04-07 23:05:46.328125 [15]: subch:0 OnGraphStart
    2008-04-07 23:05:46.328125 [15]: subch0:RunGraph
    2008-04-07 23:05:46.328125 [15]: dvb: RunGraph
    2008-04-07 23:05:51.984375 [15]: subch:0 OnGraphStart

    2008-04-07 23:05:51.984375 [15]: subch:0 RunGraph: already running
    2008-04-07 23:05:52.000000 [15]: subch:0 SetupPmtGrabber:pid 240 sid:524
    2008-04-07 23:05:52.000000 [15]: subch:0 set pmt grabber pmt:240 sid:524
    2008-04-07 23:05:52.000000 [15]: subch:0 wait for pmt 240
    2008-04-07 23:05:52.015625 [15]: subch:0 wait for pmt 240
    2008-04-07 23:05:52.031250 [11]: subch:0 OnPMTReceived() True
    2008-04-07 23:05:52.031250 [11]: subch:0 SendPmt:524 524 FFFFFFFF 17
    2008-04-07 23:05:52.046875 [11]: Decode pmt
    2008-04-07 23:05:52.046875 [11]: Set descriptor data with length 6
    2008-04-07 23:05:52.046875 [11]: Set descriptor data with length 12
    2008-04-07 23:05:52.046875 [11]: subch:0 SendPMT version:23 len:103 1316
    2008-04-07 23:05:52.046875 [15]: subch:0 wait for pmt 240
    2008-04-07 23:05:52.046875 [11]: subch:0 cam flags:True
    2008-04-07 23:05:52.046875 [11]: subch:0 SetMpegPidMapping
    2008-04-07 23:05:52.046875 [11]: subch:0 pid:0 pcr
    2008-04-07 23:05:52.046875 [11]: subch:0 pid:240 pmt
    2008-04-07 23:05:52.046875 [11]: subch:0 pid:241 video type:MPEG-2
    2008-04-07 23:05:52.062500 [11]: subch:0 map pid:241 video type:MPEG-2
    2008-04-07 23:05:52.062500 [11]: subch:0 pid:243 audio lang:eng type:AC3
    2008-04-07 23:05:52.062500 [11]: subch:0 map pid:243 audio lang:eng type:AC3
    2008-04-07 23:05:52.062500 [11]: subch:0 pid:204 teletext type:6
    2008-04-07 23:05:52.062500 [11]: subch:0 map pid:204 teletext type:6
    2008-04-07 23:05:52.062500 [11]: subch:0 stop tif
    2008-04-07 23:05:52.062500 [15]: dvbt: tune: Graph running. Returning TvLibrary.Implementations.DVB.TvDvbChannel
    2008-04-07 23:05:52.062500 [15]: card: tuned user: mediaportal subchannel: 0
    2008-04-07 23:05:52.078125 [15]: user:mediaportal add
    2008-04-07 23:05:52.546875 [15]: card: Tuner locked: True
    2008-04-07 23:05:52.546875 [15]: **************************************************
    2008-04-07 23:05:52.546875 [15]: ***** SIGNAL LEVEL: 99, SIGNAL QUALITY: 99 *****
    2008-04-07 23:05:52.546875 [15]: **************************************************
    2008-04-07 23:05:52.546875 [15]: card2:mediaportal 1 0
    2008-04-07 23:05:52.546875 [15]: control1:mediaportal 1 0
    2008-04-07 23:05:52.546875 [15]: control2:mediaportal 1 0
    2008-04-07 23:05:52.562500 [15]: Controller: delete timeshift files D:\TimeShifting\live1-0.ts
    2008-04-07 23:05:52.562500 [15]: Controller: delete D:\TimeShifting\live1-0.ts.tsbuffer
    2008-04-07 23:05:52.562500 [15]: Controller: delete D:\TimeShifting\live1-0.ts.tsbuffer1.ts
    2008-04-07 23:05:52.562500 [15]: Controller: delete D:\TimeShifting\live1-0.ts.tsbuffer2.ts
    2008-04-07 23:05:52.578125 [15]: card: StartTimeShifting 1 D:\TimeShifting\live1-0.ts
    2008-04-07 23:05:52.578125 [15]: card: WaitForUnScrambledSignal


    ------------------------------------------------------------
    This is consistant with all channel changes in the logs of my previous post.

    :D
     

    lar282

    Portal Pro
    July 11, 2004
    414
    2
    I still have this issue but not on a client that uses streaming. Only have it on the pc that also contains the server. NEver did solve it and I am glad I do not use that pc for viewing tv.
    tried all svn builds since way back and no change.

    //Lasse
     

    Users who are viewing this thread

    Top Bottom