[other] Mediaportal in 64 bit? (1 Viewer)

mpiva

Portal Member
June 29, 2009
20
5
Home Country
Currently mediaportal is marked as 32 bit, I understand that mediaportal uses a lots of dll from third party which are compiled in x86 architecture, which are the limitations of generating a 64 bit version right now. (Posible Incompatible parts).

My question is performance, currently HEVC x86 software decoders are really lagging against their x64 counterparts. x64 version seems to be 2 times faster than x86 version on MPC and LAV decoders.
 

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    I welcome the suggestion.

    However, I believe that this is quite an undertaking, yet an opportunity to clean up some other leftovers, e.g. the installer that uses and outdated .Net version.

    There might also be some older plugins that are no longer maintained and therefore can't be recompiled against x64 libraries.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    normally the x64 app can load x32 assemblies, so that shouldn't be a problem...
    Ah, excellent, thanks for confirming. I was uncertain about this point since my programming skills don't go beyond VBA :barefoot:..
     

    aspik

    Development Group
  • Team MediaPortal
  • April 14, 2008
    1,386
    556
    Wouldn’t be better to make such decision for a future product? Wouldn’t be better to invest the necessary manpower to make a x64 version in a future product? If we all agree that MP2 is the future, wouldn’t be best to do it directly for MP2?

    I don’t see any point of doing it for a previous/current product. This is not a “healthy competition” this is an unhealthy competition...
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    Hi @aspik ,

    While I share your opinion - just look at my recent postings - I don't believe that this thread should now be turned into the routine discussion about resource deployment. Please open a separate thread in the internal section.
     

    aspik

    Development Group
  • Team MediaPortal
  • April 14, 2008
    1,386
    556
    [off-topic]
    @HTPCSourcer
    I know, you’re right, this is not the right place. It was just a desperate shoot ;) I’m up to date with your recent posts and I also agree with you. No, I will not start an another thread, there are already so many, without any effect :(
    [/off-topic]
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,752
    7,115
    Home Country
    Germany Germany
    Country flag
    normally the x64 app can load x32 assemblies, so that shouldn't be a problem...
    This is not that easy:
    If process runs in x64 mode (AnyCPU), you will fail to load pure x86 assemblies. If assemblies are also AnyCPU it works fine of course. But this is only the minor issue in the .NET world.
    All other unmanaged dlls need to be available in 64 bit as well (and there a few used in MP1/2). If such a dll is available in 64bit, you still make sure that P/Invoke calls use correct marshalling settings (i.e. pointer sizes are different).

    Last but not least, the whole DirectShow chain (Source Filter, Video Decoders, Renderers) need to be available as x64 as well.

    I did some tests before with MP2 but already stumbled upon multiple missing libraries for x64.

    For regular GUI rendering etc. I don't expect any advantages to switch to x64 (i.e. considering some data structures are bigger). Maybe the video decoding would be more performant, but only in software decoding mode (HW decoders are probably not affected in performance terms).


    For server process (MP2-Server/ TvService) it would also mean to have TV card / drivers / filter support for x64 as well, which I expect to be not always the case.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    For regular GUI rendering etc. I don't expect any advantages to switch to x64 (i.e. considering some data structures are bigger). Maybe the video decoding would be more performant, but only in software decoding mode (HW decoders are probably not affected in performance terms).
    That's an important point. the OP stated that x64 is two times faster when it comes to video codec application such as LAV. As I said above, I believe that recompiling MP1 to x64 is a major task and it should be well balanced in terms of effort vs. results. I would also believe that the performance increase, if any, is limited as long as MP is running as a single thread application, yet I may of course be wrong here.

    For server process (MP2-Server/ TvService) it would also mean to have TV card / drivers / filter support for x64 as well, which I expect to be not always the case.
    The majority of hardware drivers etc. should exist as a x64 version also. Obviously there will always be some stuff that is no longer be supported. That said, I would also expect that at some point evolution turns towards more modern solutions - provided that there is a true advantage.

    Out of curiosity: Is MP2 x86 or x64?
     

    Users who are viewing this thread

    Similar threads

    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the link below, run reg.bat as an admin to install it and change the HEVC Video settings in MediaPortal Configuration/Codecs and Renderer...
    Many people found the Lentoid decoder better optimised than LAV for software decoding. If you want to try it, download it from the...
    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...
    Replies
    10
    Views
    351
    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my keyboard just fine (also lightspeed wireless). Suggestions?
    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my...
    Good evening, having just fresh installed media portal 2.3.2. Looking at trialing again as it now seems to support what I am...
    Replies
    1
    Views
    92
    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
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common user requirements out of the box. Aside from its support for Live TV and Radio, it offers a complete media server for music, movies, and TV shows. Info is automatically downloaded from various sources to...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    We are proud to present MediaPortal 2.3.1 MediaPortal 2.3.1 is a full-blown media center software that addresses the most common...
    Replies
    0
    Views
    829
    Ok TV Stream works, i activated the RTPS Stream Option in Kodi and now the Player starts. Is there any Problem with RTSP? Cause in any description i read, it must be disabled. But still one Problem stays, i can't stream two TV Streams, cause the first stream stops when i started the second. This Problem is with MP2 and with Kodi the...
    Ok TV Stream works, i activated the RTPS Stream Option in Kodi and now the Player starts. Is there any Problem with RTSP? Cause in...
    Hi. After realizing that the most recent TVServerKodi Plugin is not even working with the most recent MP2 "official" release 2.1.3...
    Replies
    35
    Views
    14K
    Top Bottom