[TV] Create new FilterGraph on Channel Switch (1 Viewer)

pal.sch

Portal Member
June 13, 2008
18
2
Home Country
Germany Germany
Started on: 2009-09-28
last update: 2009-09-28

Summary:
Create new FilterGraph and a new TimeShift File on Channel Switch.

Area:
TV

Description:
Hello all,

i get very often the Message "TimeShift cannot be created", or my MediaPortal frezze, or the channel simply doesnt shows anything. In last case the logfile shows this:
... WaitForPMT: waiting for SendPmtToCam 4826 seconds....

This happens when i switch from one to another channel. Mostly when i switch from SP channel to HD channel.
I looked to the log files and saw, that the FilterGraph doesnt change on switching the channels, and this is the reason for my problems.

Then i tryed to stop the tv, anytime i want to switch the channel. I tryed it very long. The result was, that i never get a problem, mentioned above, and all channels were started perfectly.

My question is, why do you dont create a new filtergraph, when the channel changes?

PS: Sorry for my bad english. I hope you unterstand all, what i am saying.
 

CHli

Portal Pro
July 5, 2005
1,251
14
Switzerland
Home Country
Switzerland Switzerland
Your message was very clear... I think some people have already discussed that.

Here is what I understand about the problem :

1. Creating a new filter graph takes quite some time and would be very slow to do for each channel change (zapping speed is one of the most important thing when it comes to WAF or general user acceptance)

See that for someone who proposed something similar (pausing completely the graph when tuning) : https://forum.team-mediaportal.com/...ix-no-pmt-pmt-timout-errors-67487/#post497504

I think it's probably a better solution than just rebuild the whole graph. But I don't think this patch made is way through SVN.

2. Creating a new timeshift file AFAIU is being avoided so that you can also go back to whatever your where watching in case you changed channel by mistake (timeshift buffer is lost only on TV stop)
 

pal.sch

Portal Member
June 13, 2008
18
2
Home Country
Germany Germany
1: Ok, this can be the solution for the problem.

One think i dont unterstand is, how can we use the same graph for different media streams, especially for SD and HD streams.

2: You have right. To leave the Timeshift file between channel switching, is ok.
 

CHli

Portal Pro
July 5, 2005
1,251
14
Switzerland
Home Country
Switzerland Switzerland
The graph contains all the required filters for HD and SD, as selected in MP config. (some will not be connected but still be instantiated)

And the different filters are just being (maybe automatically, I don't know if MP is using DShow automatic filter connection) reconnected when the MediaType change. Someone correct me if I'm wrong.
 

Users who are viewing this thread

Top Bottom