MP2 - V2.3.1 MP2 - V2.3 HEVC playback stutter in MP2.3 and 2.3.1 (1 Viewer)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    7,383
    2,639
    Stuttgart
    Home Country
    Germany Germany
    Country flag
    @Scheibes you have a multi seat setup with at least 1 from server separated client. Did you ever face issues in playback of HEVC encoded videos or appearance of subtitles? @Man Pang could confirm it on 2 clients, so at least a hardware issue seems not feasible. His network is also fine, so it could be an systematic issue of MP2.
     

    Man Pang

    Portal Pro
    May 25, 2015
    63
    35
    Home Country
    United Kingdom United Kingdom
    Country flag
    @Man Pang any difference between x86 or x64 client of MP2.
    Looking into an older thread the x64 version seemed to solve the issue for @JSchuricht. His client was also on another machine separated from server.
    [fixed] - 4k HEVC DXVA2 not playing correctly in MP2
    @JSchuricht can you confirm the behavior with MP2.3.1?


    I read that thread several months ago and it was created prior to MP2 v.2.3. At the time, I was having issues with black screen when playing HEVC files in MP2 and was reading that thread for further information. My current issues are different. I no longer see a black screen when viewing HEVC encoded content but the different behaviour from my 2 scenarios show that there is an issue here. My recent discovery of subtitles not being shown further highlights the difference in behaviour between the 2 scenarios (having the Home Server on another machine as opposed to Home Server on the same machine).
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    7,383
    2,639
    Stuttgart
    Home Country
    Germany Germany
    Country flag
    I read that thread several months ago and it was created prior to MP2 v.2.3. At the time, I was having issues with black screen when playing HEVC files in MP2 and was reading that thread for further information. My current issues are different. I no longer see a black screen when viewing HEVC encoded content but the different behaviour from my 2 scenarios show that there is an issue here. My recent discovery of subtitles not being shown further highlights the difference in behaviour between the 2 scenarios (having the Home Server on another machine as opposed to Home Server on the same machine).
    Yes, that is clear. Anyway I have the question, if you have exactly the same behavior between x86 and x64 clients to rule this path fully out.
     

    Man Pang

    Portal Pro
    May 25, 2015
    63
    35
    Home Country
    United Kingdom United Kingdom
    Country flag
    Yes, that is clear. Anyway I have the question, if you have exactly the same behavior between x86 and x64 clients to rule this path fully out.

    Sorry, I forgot to mention that. The behaviour is exactly the same, no matter I use x64 client or x86 client.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    @Man Pang
    Can you create logfiles in DEBUG mode, start a playback of HEVC video on client and finally use the log collector on client and server and attach logs here?
     

    Man Pang

    Portal Pro
    May 25, 2015
    63
    35
    Home Country
    United Kingdom United Kingdom
    Country flag
    @Man Pang
    Can you create logfiles in DEBUG mode, start a playback of HEVC video on client and finally use the log collector on client and server and attach logs here?

    Hi Morhpeus, please find attached Client and Server logs. The client was set to output debug level logging prior to producing the log files. I did notice with debug level logging, the stutter was more pronounced. It looks like at client side, processing is taking longer than the time required per frame of video content and is worsened by logging but no idea why the captions and subtitles are not showing.
     

    Attachments

    • Client MediaPortal2-Logs-2020-12-29-09.28.33.zip
      204.5 KB · Views: 0
    • Server MediaPortal2-Logs-2020-12-29-09.28.57.zip
      278.6 KB · Views: 0

    Man Pang

    Portal Pro
    May 25, 2015
    63
    35
    Home Country
    United Kingdom United Kingdom
    Country flag
    Hmmm, it appears upnp is required to be enabled in the router settings. I will try it later but I hope there is an alternative to upnp as I am not prepared to leave this setting enabled.

    EDIT: Disapled upnp and no difference.
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    @Man Pang there are some points to check, the logs contain errors from different kinds.

    Can you confirm that:
    1. Server has 7 (?) IPv4 addresses?
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.137.10
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.31.1
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.80.1
      [2020-12-29 09:21:56,322] [13350 ] [TVService] [INFO ] - Controller: local ip address:172.24.16.1
      [2020-12-29 09:21:56,322] [13350 ] [TVService] [INFO ] - Controller: local ip address:172.24.112.1
      [2020-12-29 09:21:56,323] [13351 ] [TVService] [INFO ] - Controller: local ip address:172.18.80.1
      [2020-12-29 09:21:56,323] [13351 ] [TVService] [INFO ] - Controller: local ip address:192.168.160.1
      [2020-12-29 09:21:56,325] [13353 ] [TVService] [INFO ] - Controller: server running on MPMEDIACENTRE
    2. Client has both 3 IPv4 and 3 IPv6 addresses enabled?
      [2020-12-29 09:24:38,130] [3489 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '127.0.0.1', search port is 1900
      [2020-12-29 09:24:38,136] [3495 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::8cad:cea5:5773:e39a', search port is 1900
      [2020-12-29 09:24:38,141] [3500 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::dc88:bc08:1885:41c7', search port is 1900
      [2020-12-29 09:24:38,145] [3504 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::f4f2:773a:7764:b0e3', search port is 1900
      [2020-12-29 09:24:38,148] [3507 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.32.1', search port is 1900
      [2020-12-29 09:24:38,151] [3510 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.140.1', search port is 1900
      [2020-12-29 09:24:38,153] [3512 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.137.8', search port is 1900
    3. Your setup seems to have a conflict with DOKAN versions, seen in client.log:
      [2020-12-29 09:24:39,121] [4480 ] [Dokan ] [WARN ] - Dokan: DokanMain returned with error code -7 - Requested an incompatible version. Remote resources may not be available in this session
    4. Client log shows errors from settings related to MediaServer / Transcoding. This plugin should not be included in 2.3.1 release version. Did you install it manually before?
      [2020-12-29 09:25:15,476] [40834 ] [InputMgr ] [ERROR] - Error loading configuration class 'MediaPortal.Extensions.TranscodingService.Client.Settings.Configuration.HardwareAccelerationSetting'UPnP.Infrastructure.CP.UPnPException: Error invoking action 'Load' ---> UPnP.Infrastructure.CP.UPnPRemoteException: Action Failed
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.AsyncActionCallResult.GetOutParams()
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result)
      --- End of inner exception stack trace ---
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result)
      at MediaPortal.Plugins.ServerSettings.UPnP.ServerSettingsProxy.Load(String settingsTypeName)
      at MediaPortal.Plugins.ServerSettings.UPnP.ServerSettingsProxy.Load[SettingsType]()
      at MediaPortal.Extensions.TranscodingService.Client.Settings.Configuration.HardwareAccelerationSetting.Load()
      at MediaPortal.Configuration.ConfigurationManagement.ConfigurationNode.Instantiate(ConfigBaseMetadata metadata, PluginRuntime pluginRuntime)
    5. Client log shows errors about fanart loading from server, it's an internal server error, but server log does not show a reason:
      [2020-12-29 09:28:15,404] [220763 ] [40 ] [DEBUG] - AsyncWebLoadOperation: Failed to download http://[fe80::e84b:9407:80b3:4eb9]:55555/MediaPortal/Server/FanartService?mediatype=Movie&fanarttype=Poster&name=98112543-c6f1-42ce-9122-44e12dba7ef8&width=334&height=500 - The remote server returned an error: (500) Internal Server Error.
    6. Fanart loading is done by IPv6, although server doesn't has it enabled?
    7. Video playback takes 15 seconds to initialize:
      [2020-12-29 09:26:14,834] [100193 ] [InputMgr ] [DEBUG] - VideoPlayer: Initializing for file system media item '2018d25e-0fb1-4ae1-a4c9-aeef84946bc0:{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///A:/My Videos/Casino/Casino.mkv'[2020-12-29 09:26:20,498] [105856 ] [DX Render] [2020-12-29 09:26:30,520] [115878 ] [InputMgr ] [DEBUG] - VideoPlayer: Set subtitle renderer
    After seeing those errors I recommend on client:
    1. Uninstall MP2.3.1
    2. Check for leftovers under C:\Program Files (x86)\Team MediaPortal. Delete/move any folders away from here.
    3. Uninstall DOKAN from Control Panel/Applications(!)
    4. Reboot
    5. Install MP2.3.1 again. This should install a compatible DOKAN version
    6. Disable IPv6 on client if it is not needed
    I also recommend to avoid server-local files, where the DOKAN/HTTP remote bridge is required. Better would be to setup a server-based share like "\\MPMEDIACENTRE\Movies" and configure this UNC path as media source. This bypasses DOKAN and enables client to start playback directly.
     

    Man Pang

    Portal Pro
    May 25, 2015
    63
    35
    Home Country
    United Kingdom United Kingdom
    Country flag
    @Man Pang there are some points to check, the logs contain errors from different kinds.

    Can you confirm that:
    1. Server has 7 (?) IPv4 addresses?
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.137.10
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.31.1
      [2020-12-29 09:21:56,321] [13349 ] [TVService] [INFO ] - Controller: local ip address:192.168.80.1
      [2020-12-29 09:21:56,322] [13350 ] [TVService] [INFO ] - Controller: local ip address:172.24.16.1
      [2020-12-29 09:21:56,322] [13350 ] [TVService] [INFO ] - Controller: local ip address:172.24.112.1
      [2020-12-29 09:21:56,323] [13351 ] [TVService] [INFO ] - Controller: local ip address:172.18.80.1
      [2020-12-29 09:21:56,323] [13351 ] [TVService] [INFO ] - Controller: local ip address:192.168.160.1
      [2020-12-29 09:21:56,325] [13353 ] [TVService] [INFO ] - Controller: server running on MPMEDIACENTRE
    2. Client has both 3 IPv4 and 3 IPv6 addresses enabled?
      [2020-12-29 09:24:38,130] [3489 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '127.0.0.1', search port is 1900
      [2020-12-29 09:24:38,136] [3495 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::8cad:cea5:5773:e39a', search port is 1900
      [2020-12-29 09:24:38,141] [3500 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::dc88:bc08:1885:41c7', search port is 1900
      [2020-12-29 09:24:38,145] [3504 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::f4f2:773a:7764:b0e3', search port is 1900
      [2020-12-29 09:24:38,148] [3507 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.32.1', search port is 1900
      [2020-12-29 09:24:38,151] [3510 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.140.1', search port is 1900
      [2020-12-29 09:24:38,153] [3512 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.137.8', search port is 1900
    3. Your setup seems to have a conflict with DOKAN versions, seen in client.log:
      [2020-12-29 09:24:39,121] [4480 ] [Dokan ] [WARN ] - Dokan: DokanMain returned with error code -7 - Requested an incompatible version. Remote resources may not be available in this session
    4. Client log shows errors from settings related to MediaServer / Transcoding. This plugin should not be included in 2.3.1 release version. Did you install it manually before?
      [2020-12-29 09:25:15,476] [40834 ] [InputMgr ] [ERROR] - Error loading configuration class 'MediaPortal.Extensions.TranscodingService.Client.Settings.Configuration.HardwareAccelerationSetting'UPnP.Infrastructure.CP.UPnPException: Error invoking action 'Load' ---> UPnP.Infrastructure.CP.UPnPRemoteException: Action Failed
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.AsyncActionCallResult.GetOutParams()
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result)
      --- End of inner exception stack trace ---
      at UPnP.Infrastructure.CP.DeviceTree.CpAction.EndInvokeAction(IAsyncResult result)
      at MediaPortal.Plugins.ServerSettings.UPnP.ServerSettingsProxy.Load(String settingsTypeName)
      at MediaPortal.Plugins.ServerSettings.UPnP.ServerSettingsProxy.Load[SettingsType]()
      at MediaPortal.Extensions.TranscodingService.Client.Settings.Configuration.HardwareAccelerationSetting.Load()
      at MediaPortal.Configuration.ConfigurationManagement.ConfigurationNode.Instantiate(ConfigBaseMetadata metadata, PluginRuntime pluginRuntime)
    5. Client log shows errors about fanart loading from server, it's an internal server error, but server log does not show a reason:
      [2020-12-29 09:28:15,404] [220763 ] [40 ] [DEBUG] - AsyncWebLoadOperation: Failed to download http://[fe80::e84b:9407:80b3:4eb9]:55555/MediaPortal/Server/FanartService?mediatype=Movie&fanarttype=Poster&name=98112543-c6f1-42ce-9122-44e12dba7ef8&width=334&height=500 - The remote server returned an error: (500) Internal Server Error.
    6. Fanart loading is done by IPv6, although server doesn't has it enabled?
    7. Video playback takes 15 seconds to initialize:
      [2020-12-29 09:26:14,834] [100193 ] [InputMgr ] [DEBUG] - VideoPlayer: Initializing for file system media item '2018d25e-0fb1-4ae1-a4c9-aeef84946bc0:{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///A:/My Videos/Casino/Casino.mkv'[2020-12-29 09:26:20,498] [105856 ] [DX Render] [2020-12-29 09:26:30,520] [115878 ] [InputMgr ] [DEBUG] - VideoPlayer: Set subtitle renderer
    After seeing those errors I recommend on client:
    1. Uninstall MP2.3.1
    2. Check for leftovers under C:\Program Files (x86)\Team MediaPortal. Delete/move any folders away from here.
    3. Uninstall DOKAN from Control Panel/Applications(!)
    4. Reboot
    5. Install MP2.3.1 again. This should install a compatible DOKAN version
    6. Disable IPv6 on client if it is not needed
    I also recommend to avoid server-local files, where the DOKAN/HTTP remote bridge is required. Better would be to setup a server-based share like "\\MPMEDIACENTRE\Movies" and configure this UNC path as media source. This bypasses DOKAN and enables client to start playback directly.


    Thanks for looking into this. The Dokan library was installed as part of SeaDrive Client (a client for access to a self hosted cloud server called Seafile). I will go through the above checklist and see how things go.

    Regarding the number of local IPv4 addresses, they are virtual network adapters used for VMWare and HyperV.

    Once again, thanks for looking into this!
     

    Users who are viewing this thread

    Similar threads

    Ah that could be a problem. I took a look at the Gigabyte website, they offer the 1050 and Ti version in a "low profile" format, not sure if that works with mini itx though, all the AMD RX cards are listed as ATX format. Another consideration is power Gigabyte recommend a 300W psu for the 1050Ti and 500W+ for the AMD RX range. There...
    Ah that could be a problem. I took a look at the Gigabyte website, they offer the 1050 and Ti version in a "low profile" format...
    Hello everyone, recently I tried to reproduce a video coded in HEVC UHD 2160p into MePo. The video is not smooth, it stumbles and...
    Replies
    8
    Views
    1K
    Skip forward/backword works well for me in 2.3 with the WMC skin using the mouse. I can also FF at X2. All I'm missing is the ability to speed up replay with sound!
    Skip forward/backword works well for me in 2.3 with the WMC skin using the mouse. I can also FF at X2. All I'm missing is the...
    Sorry to ask a question again that I can see has been asked before, but I just cannot find an answer and so many of thew wiki links...
    Replies
    9
    Views
    872
    found the cause of high cpu utilization in interrupts, after resuming from ACPI S3 sleep state, to be the WOL be enabled on Realtek ethernet adapter. i updated the Realtek drivers to latest but made no change, have disabled WOL, and issue now resolved....
    found the cause of high cpu utilization in interrupts, after resuming from ACPI S3 sleep state, to be the WOL be enabled on Realtek...
    Hello MP team, I've been using MP since 1.21. I recently updated my Windows 7 system to MP final 1.24, and am experiencing a new...
    Replies
    4
    Views
    1K
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    2K
    A year and a half later, I can report that the micro stutter still exists and changing hardware to use a Gemini Lake board results in very similar issues. I decided to have a go using Kodi and playback is fine. Also playback with MPC-HC is fine too (using the same LAV decoders and same settings).
    A year and a half later, I can report that the micro stutter still exists and changing hardware to use a Gemini Lake board results...
    I am interested to hear about users' reports on 4K HEVC HDR10 performance in MediaPortal1 using Apollo Lake and Gemini Lake SoCs. I...
    Replies
    1
    Views
    3K
    Top Bottom