HELP! MP1 can't play HEVC video (1 Viewer)

sunfish

Portal Member
July 18, 2021
5
2
Home Country
United States of America United States of America
For some unknown reason I can't play HEVC encoded video with MP1 on my system. I have tried every trick I know, but nothing works. Video stutters and jumps, audio lags. However these same files WILL play with other media players such as VLC, MPV for Windows, stand alone Windows Media Player, and the MS Movies and TV app. So why, if HEVC plays on Windows Media Player in stand-alone mode, does it not play using MediaPortal?

I have ruled out skins, since changing them does not matter. I prefer StreamedMP.

I have ruled out my wifi connection to my media server (an SSD hardwired to my router), buy attempting to play HEVC directly from the OS Desktop. No change.

I even tried different monitors and nothing changed.

I changed the power settings for performance in the UEFI firmware and OS (probably redundant) and nothing changed.

Here are some of my media computer specs:

Version 10.0.19042 Build 19042
System Type x64-based PC
Processor Intel(R) Atom(TM) x5-Z8350 CPU @ 1.44GHz, 1441 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 1.001, 12/14/2019
SMBIOS Version 3.0
BIOS Mode UEFI
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.93 GB
Available Physical Memory 1.46 GB
Total Virtual Memory 8.32 GB
Available Virtual Memory 2.39 GB
Page File Space 4.39 GB
Page File C:\pagefile.sys
Hyper-V - VM Monitor Mode Extensions Yes
Hyper-V - Second Level Address Translation Extensions Yes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution Protection Yes

I would post a MediaPortal log but I don't know which one is relevant.

Here are some of the HEVC file specs:

Format : Matroska
Format version : Version 4
File size : 594 MiB
Duration : 23 min 39 s
Overall bit rate : 3 508 kb/s
Encoded date : UTC 2021-07-02 01:10:12
Writing application : mkvmerge v58.0.0 ('Supper's Ready') 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 23 min 39 s
Bit rate : 3 251 kb/s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.085
Stream size : 550 MiB (93%)
Writing library : x265 3.5+20-4c4aee0bc:[DJATOM's Mod][Windows][GCC 10.2.1][64 bit] 10bit

Audio
ID : 2
Format : E-AC-3
Format/Info : Enhanced AC-3
Commercial name : Dolby Digital Plus
Codec ID : A_EAC3
Duration : 23 min 39 s
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 43.3 MiB (7%)
Language : English
 

joecrow

Test Group
  • Team MediaPortal
  • August 9, 2012
    2,051
    1,437
    Home Country
    Germany Germany
    Can you take a look in Task Manager and let us know how much CPU usage you have when trying to play the vid. in MP and also the same when playing with VLC. Also what graphics do you use and/or does your CPU have integrated graphics?
     

    sunfish

    Portal Member
    July 18, 2021
    5
    2
    Home Country
    United States of America United States of America
    Playing MP v 1.28

    H265 cpu usage 100%
    H264 cpu usage 70%

    Playing VLC

    H265 cpu usage 76%
    H264 cpu usage 22%

    Looks like the CPU is overloaded. The graphics is integrated Intel HD Graphics, whatever that means. My guess is that if there is hardware acceleration MP is not using it.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    14,138
    8,690
    Kyiv
    Home Country
    Ukraine Ukraine
    My guess is that if there is hardware acceleration MP is not using it.
    MP in contrast to VLC, itself does not play files, it all depends on the codec and its settings.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    You need to set up LAV video and correct hardware acceleration :)
    MP use GUI that take a lot of GPU memory too

    1627411671610.png


    Like you can see, DXVA2 is used for HEVC 4K video ;)
     
    Last edited:

    sunfish

    Portal Member
    July 18, 2021
    5
    2
    Home Country
    United States of America United States of America
    OK. Two things.
    ajs is right. MP is not a player, but it must use a lot of overhead that Windows Media Player (default player, right?) needs to play H265 files. VLC does not have that overhead, but it doesn't have the nifty database and UI. Same goes for MPV player.

    Sebastiii suggests that I need to set up my LAV codec as he has. I don't have an Nvidia graphics card and I'm not trying to play HEVC 4K video, just plain old 720 or 1020. I have tried different video decoder options but none of them seem to make any difference. I am using LAV 0.75 with all my boxes checked as you have them.
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,051
    1,437
    Home Country
    Germany Germany
    Sebastiii suggests that I need to set up my LAV codec as he has. I don't have an Nvidia graphics card and I'm not trying to play HEVC 4K video, just plain old 720 or 1020. I have tried different video decoder options but none of them seem to make any difference. I am using LAV 0.75 with all my boxes checked as you have them.

    I think @Sebastiii was just showing you an example of a working setup in LAV, as I have done with the screenshot below but with my AMD graphics card. You need to see if any of the decoders, highlighted in yellow, will give you a "Active Hardware Accelerator" result when playing HEVC as highlighted in green for your selected GPU in red. If you do not get that then it is highly likely that your graphics does not support HEVC decoding in which case the CPU usage you are seeing is typical, prior to having a GPU with H265 decoder capability I could not play HEVC content on a 3.8 Ghz 8 core AMD CPU it always stuttered with 100% usage!
    The bottom line is you most likely need to install a GPU that has an H265 decoder, failing that you can always set up MP1 to use VLC as an external video player and even enable it only for a specific file type if you wish, see 2nd screenshot below.

    hevc2.jpghevc3.jpg
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    Thanks @joecrow you are totally right :)

    @sunfish, MP1 use direct show 32 filters, where VLC not, it use directly FFMpeg but those can use hardware acceleration too, LAV is based on FFMpeg for direct show codec by magic done from Nevcariel :)

    And yep MP eat more memory for the GUI, etc.
    So if your GPU is able to handle HEVC, it should work with LAV Video.

    Also, to proper bug report, like I have tagged you in first post, you should grab debug log from watchdog.
    Setup MP as debug and start watchdog first option and play your video ;)

    1627460527337.png


    1627460624073.png
     

    Jasmeet_181

    Portal Pro
    September 5, 2007
    418
    336
    Home Country
    United Kingdom United Kingdom
    Video decode hardware acceleration including support for H.263, MPEG4, H.264, H.265 (HEVC,8bit), VP8, VP9, MVC, MPEG2, VC1, JPEG.

    The video is HEVC 10-bit but the Atom x5-Z8350's IGPU only has hardware acceleration for HEVC 8-bit and no hybrid decoding.
     

    sunfish

    Portal Member
    July 18, 2021
    5
    2
    Home Country
    United States of America United States of America
    The video is HEVC 10-bit but the Atom x5-Z8350's IGPU only has hardware acceleration for HEVC 8-bit and no hybrid decoding.

    That kinda says it all. I'm going to set MPV as an external player and be done with it.
     

    Users who are viewing this thread

    Similar threads

    That seems likely. I tried the h264 ts cutter (found here) and it sort of works with HEVC/x265. The Preview has problems decoding the image, but if you know the area where to cut you can find a place. I had to change the settings (as a dialogbox suggested) to I-Frames as Cut-In-Points and All-Frames as Cut-Out-Points or else the...
    That seems likely. I tried the h264 ts cutter (found here) and it sort of works with HEVC/x265. The Preview has problems decoding...
    Hi there, I have a strange problem with mkvmerge when processing some recordings from german DVB-T2. So what's happening: I...
    Replies
    2
    Views
    840
    Been testing and mostly solved by using Automatic - yet this morning the TV recording of BBC1 Andrew Marr went out of sync. Windows 7 worked lovely windows 10 on Intel NUC seems to have all sorts of issues (Mostly Windows 10 - MS deciding that it knows best and I got a update/reboot when I'd told it not too!)
    Been testing and mostly solved by using Automatic - yet this morning the TV recording of BBC1 Andrew Marr went out of sync...
    Have an issue with several AAC 2.0 files going out of sync Video plays fine, audio gets delayed. that is video is ahead of sound -...
    Replies
    2
    Views
    2K
    Hello and welcome to the forum :), It's not a bug but something specific to your system that prevents the DirectX 9 Web-installer to download the package. I will therefore move this thread to the general support section. Please have a look at the installation part of our Wiki. As described there it is important that your Windows is...
    Hello and welcome to the forum :), It's not a bug but something specific to your system that prevents the DirectX 9 Web-installer...
    : Description I just found out about MediaPortal tonight. I downloaded 2.1, and every time I attempt to install it, it fails...
    Replies
    1
    Views
    3K
    I am trying to play LiveTV video within RadioTime plug-in and can't get any video channels to play. All the radio channels play fine. Most of the video files are Windows Media Video v8/9/10 I made sure both wmv3 wmv10 codecs in LAV and FFDshow are checked. I see that RadioTime is now a new software company called TuneIn How do I find...
    I am trying to play LiveTV video within RadioTime plug-in and can't get any video channels to play. All the radio channels play...
    I am trying to play LiveTV video within RadioTime plug-in and can't get any video channels to play. All the radio channels play...
    Replies
    0
    Views
    1K
    BTW, realized I never replied back on this one, in case anyone else runs into it. @Stéphane Lenclud Got me pointed in the right direction. My TV Has an option HD Deep Color Mode, turning this on or off will get the desired results.
    BTW, realized I never replied back on this one, in case anyone else runs into it. @Stéphane Lenclud Got me pointed in the right...
    Okay, I am having some issues. i will try and go to as much detail in text as I can but the attached short video shows what I am...
    Replies
    16
    Views
    4K
    Top Bottom