[Configuration] Provide selection of VC-1 decoder (1 Viewer)

rivera

Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Currently only H264 & MPEG decoders can be selected in Configuration.
    I propose to provide the similar choice for VC-1 decoder
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    You know that even those H.264 / MPEG2 codec selections aren't explicit? For example if you load two codecs that both support MPEG2 and H.264 MP is not 100% sure to be using those ones you have selected. The filter merits will step into play in that case (as you have two codecs in the graph that are connected by the DirectShow automation).

    Maybe in MPII we will have fully user configurable codecs...
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Let me imagine how does it work.
    There are splitters & decoders registered in Windows with their merits.
    When GraphEdit attempts to open some media it enumerates all the appropriate splitters and finds the splitter with maximum merit. If there are several appropriate splitters with equal merit - GraphEdit uses any of them.
    Similarly - for decoders.

    In case of Media Player Classic Homecinema, two algorithms work:
    1. First the player attempts to use explicitly defined decoders (in the "Options" dialogue window).
    2. If no appropriate decoders are found, the player chooses some decoder basing on merits like described above.

    And finally I cannot understand how this approach is implemented in MP.
    From one side, there are explicitly defined decoders for H264 & MPEG, for instance.
    At what time merits are used?

    Sorry for possible grammar mistakes :)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    In MediaPortal the graph building works in following way:

    1) MediaPortal loads all configured codecs (that user has selected in player settings) into the diretcshow graph
    2) MediaPortal asks the directshow to render the output pins of the souce filter

    At that point the control is completely on directshow side. Basicy that means that the codec selection is not 100% explicit. For example if the graph has multiple codecs that are able to decode MPEG2 stream it is up to directshow to decide what codec will be connected. Directshow will always prefer the loaded codecs and if none of those are capable of handling the stuff then the non-loaded codecs are checked next. In short following rules are used when connecting the filters (by directshow):

    1. loaded filters are tried to connect by their merits
    2. if there are still undendered pins all available directshow filters are tried to connect (order is again based on the merit values)
     

    rivera

    Retired Team Member
  • Premium Supporter
  • December 1, 2008
    237
    21
    Home Country
    Russian Federation Russian Federation
    Thanks a lot for such a detailed reply!!!
    So, looking forward for the more powerful implementation...
     

    Users who are viewing this thread

    Similar threads

    Hi, I'll move this into an own thread under "feature requests". I like the idea, but I think we can currently not implement this with further changes. I've checked the models and there are no variables, that could be easily called.
    Hi, I'll move this into an own thread under "feature requests". I like the idea, but I think we can currently not implement this...
    MP2 is great, but I‘d rely one change. I can have optional help texts, which are nice for a first time use, but then do not have...
    Replies
    1
    Views
    763
    Debounce Registry Setting For anyone who wants to try the debounce registry setting, this is the setting: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da] "EnableDebounce"=dword:00000001 There are several different values for the...
    Debounce Registry Setting For anyone who wants to try the debounce registry setting, this is the setting: Windows Registry Editor...
    I'm currently testing the new Sofabaton x1 remote control with which I want to replace my Harmony. Everything looks good so far...
    Replies
    4
    Views
    928
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV audiodecoder shows status 'bistreaming' on the output. What is your LAV status?
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    13
    Views
    1K
    The Tv Movie Epg Import really doesn't work. Problem is in missing x64 MS Jet 4.0 Oledb database provider and newer ACE is unable to load old Jet DB. I had to create x86 reader to read the db. Unpack the content from the attached file into your TvServer Plugins folder (replace old TvMovie.dll). The Clickfinder application install...
    The Tv Movie Epg Import really doesn't work. Problem is in missing x64 MS Jet 4.0 Oledb database provider and newer ACE is unable...
    I have decided to rework this post, becouse is no longer relevant. The SharpDX version is already included in MediaPortal since...
    Replies
    966
    Views
    86K
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter to the profile. I'll try to add this option in the next version. PS: please use official thread
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter...
    I have the current (1.0.2.0 level) World Weather Lite plugins installed on x86 and x64 different MP1 copies. When Location is...
    Replies
    7
    Views
    941
    Top Bottom