home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Slow starting and stopping TV-channels IPTV
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1213802" data-attributes="member: 82144"><p>Mmmmm, it's very easy to waste a lot of time if you don't proceed logically with the aid of the log files.</p><p></p><p></p><p>Lets take the last change in the log files as an example.</p><p></p><p>End-to-end timing seems to be ~7.5 seconds:</p><p>[2017-02-25 15:14:23,110] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Disney Channel HD</p><p>...</p><p>[2017-02-25 15:14:30,553] [Log ] [25 ] [DEBUG] - TvHome.OnVideoReceived() 3</p><p></p><p>Of that ~7.5 seconds, ~4 seconds is spent tuning on the server side:</p><p>[2017-02-25 15:14:26,939] [Log ] [MPMain ] [INFO ] - succeeded<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ucceeded TvControl.VirtualCard</p><p></p><p>Within that ~4 seconds, most of the time (~3.5 seconds) is loading and tuning the IPTV source:</p><p>[2017-02-25 15:14:23,142] [Log ] [18 ] [INFO ] - dvbip: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel</p><p>[2017-02-25 15:14:23,143] [Log ] [18 ] [INFO ] - dvbip: tune: SubChannel 0</p><p>[2017-02-25 15:14:23,490] [Log ] [18 ] [INFO ] - subch:0 OnGraphStopped</p><p>[2017-02-25 15:14:23,492] [Log ] [18 ] [INFO ] - subch:0 OnGraphStart</p><p>[2017-02-25 15:14:24,044] [Log ] [18 ] [INFO ] - dvbip:Add MediaPortal IPTV Source Filter</p><p>[2017-02-25 15:14:25,802] [Log ] [18 ] [INFO ] - dvb: Render [source]->[inftee]</p><p>[2017-02-25 15:14:25,874] [Log ] [18 ] [INFO ] - dvb: RunGraph</p><p>[2017-02-25 15:14:26,448] [Log ] [18 ] [INFO ] - subch:0 OnGraphStarted</p><p></p><p>You can probably save a second or two by disabling the IPTV plugins that you don't use.</p><p>Explanation... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>The standard IPTV source (MPIPTVSource.ax) comes with 5 plugins:</p><ul> <li data-xf-list-type="ul">file (MPIPTV_FILE.dll)<br /> </li> <li data-xf-list-type="ul">HTTP (MPIPTV_HTTP.dll)</li> <li data-xf-list-type="ul">RTP (MPIPTV_RTP.dll) - depends on the UDP plugin<br /> </li> <li data-xf-list-type="ul">RTSP (MPIPTV_RTSP.dll) - depends on the UDP plugin<br /> </li> <li data-xf-list-type="ul">UDP (MPIPTV_UDP.dll)</li> </ul><p>For SAT>IP support you need the RTSP plugin, and the RTSP plugin needs the UDP plugin. So, you could disable the file, HTTP and RTP plugins.</p><p>To disable a plugin, stop the TV service, then simply:</p><ul> <li data-xf-list-type="ul">rename the corresponding DLL in the TV Server install folder (default c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server) so the name is no longer "MPIPTV_...dll", OR...</li> <li data-xf-list-type="ul">move the corresponding DLL to any folder outside the TV Server install folder</li> </ul><p>P.S. In your log file I see that the IPTV source is loading 6 plugins instead of 5 because you have "MPIPTV_UDP - kopie.dll". If that plugin/file is a backup, you should definitely disable it. It's slowing the IPTV source loading/tuning.</p><p></p><p>The other ~3.5 seconds [out of 7.5 seconds] spent on the client side may be harder to optimise (...or at least, the delay isn't clearly shown in the log files). However, one very obvious thing you haven't done that should <u>always</u> be done before seriously attempting to use MediaPortal is to configure codec settings. Using default/automatic settings can be slow and error prone. In short: it's asking for trouble; a big mistake.</p><p></p><p>In this case, the <a href="https://www.team-mediaportal.com/wiki/display/MediaPortal1/TV+Codecs" target="_blank">TV codec settings</a> are most relevant. The current default/automatic choice is Microsoft DTV-DVD and/or MPEG audio decoder (<strong>known cause of many problems!!!</strong>):</p><p>[2017-02-25 15:14:07,874] [Log ] [MPMain ] [DEBUG] - Check graph connections for: MPEG Audio Decoder</p><p>...</p><p>[2017-02-25 15:14:30,378] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Enhanced Video Renderer</p><p>[2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Default DirectSound Device</p><p>[2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Microsoft DTV-DVD Audio Decoder</p><p>[2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Microsoft DTV-DVD Video Decoder</p><p>[2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: TsReader</p><p></p><p>I'd recommend using the LAV codecs instead. You've already installed them, so it's only a matter of telling MP to use them.</p><p></p><p>I guess this might save another second, bringing total savings to three seconds.</p><p></p><p>Finally, it's really important to make sure you've configured any security software (Windows Defender etc.) properly. Security software can really slow down MP and/or TV Server. I'm not sure if disabling real-time scanning is sufficient config for Windows Defender. It might be better to configure Defender to trust MP and TV Server, and exclude the time-shifting and/or recording folders from scanning.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1213802, member: 82144"] Mmmmm, it's very easy to waste a lot of time if you don't proceed logically with the aid of the log files. Lets take the last change in the log files as an example. End-to-end timing seems to be ~7.5 seconds: [2017-02-25 15:14:23,110] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Disney Channel HD ... [2017-02-25 15:14:30,553] [Log ] [25 ] [DEBUG] - TvHome.OnVideoReceived() 3 Of that ~7.5 seconds, ~4 seconds is spent tuning on the server side: [2017-02-25 15:14:26,939] [Log ] [MPMain ] [INFO ] - succeeded:confused:ucceeded TvControl.VirtualCard Within that ~4 seconds, most of the time (~3.5 seconds) is loading and tuning the IPTV source: [2017-02-25 15:14:23,142] [Log ] [18 ] [INFO ] - dvbip: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel [2017-02-25 15:14:23,143] [Log ] [18 ] [INFO ] - dvbip: tune: SubChannel 0 [2017-02-25 15:14:23,490] [Log ] [18 ] [INFO ] - subch:0 OnGraphStopped [2017-02-25 15:14:23,492] [Log ] [18 ] [INFO ] - subch:0 OnGraphStart [2017-02-25 15:14:24,044] [Log ] [18 ] [INFO ] - dvbip:Add MediaPortal IPTV Source Filter [2017-02-25 15:14:25,802] [Log ] [18 ] [INFO ] - dvb: Render [source]->[inftee] [2017-02-25 15:14:25,874] [Log ] [18 ] [INFO ] - dvb: RunGraph [2017-02-25 15:14:26,448] [Log ] [18 ] [INFO ] - subch:0 OnGraphStarted You can probably save a second or two by disabling the IPTV plugins that you don't use. Explanation... :) The standard IPTV source (MPIPTVSource.ax) comes with 5 plugins: [LIST] [*]file (MPIPTV_FILE.dll) [*]HTTP (MPIPTV_HTTP.dll) [*]RTP (MPIPTV_RTP.dll) - depends on the UDP plugin [*]RTSP (MPIPTV_RTSP.dll) - depends on the UDP plugin [*]UDP (MPIPTV_UDP.dll) [/LIST] For SAT>IP support you need the RTSP plugin, and the RTSP plugin needs the UDP plugin. So, you could disable the file, HTTP and RTP plugins. To disable a plugin, stop the TV service, then simply: [LIST] [*]rename the corresponding DLL in the TV Server install folder (default c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server) so the name is no longer "MPIPTV_...dll", OR... [*]move the corresponding DLL to any folder outside the TV Server install folder [/LIST] P.S. In your log file I see that the IPTV source is loading 6 plugins instead of 5 because you have "MPIPTV_UDP - kopie.dll". If that plugin/file is a backup, you should definitely disable it. It's slowing the IPTV source loading/tuning. The other ~3.5 seconds [out of 7.5 seconds] spent on the client side may be harder to optimise (...or at least, the delay isn't clearly shown in the log files). However, one very obvious thing you haven't done that should [U]always[/U] be done before seriously attempting to use MediaPortal is to configure codec settings. Using default/automatic settings can be slow and error prone. In short: it's asking for trouble; a big mistake. In this case, the [URL='https://www.team-mediaportal.com/wiki/display/MediaPortal1/TV+Codecs']TV codec settings[/URL] are most relevant. The current default/automatic choice is Microsoft DTV-DVD and/or MPEG audio decoder ([B]known cause of many problems!!![/B]): [2017-02-25 15:14:07,874] [Log ] [MPMain ] [DEBUG] - Check graph connections for: MPEG Audio Decoder ... [2017-02-25 15:14:30,378] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Enhanced Video Renderer [2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Default DirectSound Device [2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Microsoft DTV-DVD Audio Decoder [2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: Microsoft DTV-DVD Video Decoder [2017-02-25 15:14:30,379] [Log ] [MPMain ] [DEBUG] - Check graph connections for: TsReader I'd recommend using the LAV codecs instead. You've already installed them, so it's only a matter of telling MP to use them. I guess this might save another second, bringing total savings to three seconds. Finally, it's really important to make sure you've configured any security software (Windows Defender etc.) properly. Security software can really slow down MP and/or TV Server. I'm not sure if disabling real-time scanning is sufficient config for Windows Defender. It might be better to configure Defender to trust MP and TV Server, and exclude the time-shifting and/or recording folders from scanning. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Slow starting and stopping TV-channels IPTV
Contact us
RSS
Top
Bottom