New plugin: VideoEffectChanger (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    MP2 supports different video effect shaders shader for post processing the video frames. The most useful shader is IMO "sharpen_complex", which does a decent job in sharpening SD videos.

    When watching TV and switching between HD and SD channels user would be required to manually chose the effect from player menu.

    Now there is a new small plugin that takes care for this:
    "VideoEffectChanger".

    How does it work?
    On player start and in interval of 1 second the plugin checks all open video players. If the resolution (video height) is equal or smaller than 576px it selects the "sharpen_comlex" filter. Otherwise it selects "none" (normal playback without processing).

    Installation
    Download and extract to MP2-Client\Plugins folder

    Configuration
    There is currently none. When it's in Plugin folder it is enabled by default and uses "sharpen_complex" for SD and "none" for HD.

    Further steps planned:
    Add configuration to:
    • enable/disable plugin
    • set the height for selecting effect (default 576)
    • select an effect for <= height (SD)
    • select an effect for > height (HD)
    In theory we could define more rules, but I wanted to keep it at a simple level for now.

    @Testers and @Developers should check this out :)
     

    Attachments

    • VideoEffectChanger.7z
      4.3 KB

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,562
    3,944
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Tried it this evening. Seems to work as expected. On SD Video material (no matter which source) the "sharpen_complex" filter is activated and on HD material it is not. Could not see any issues so far. Do you need logs also all is working?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #3
    Thanks for testing. I don't need log files, the plugin doesn't write to log...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #4
    We now also have a configuration for this feature:
    20150423-VideoEffectConfig.jpg 20150423-VideoEffectConfig_2.jpg

    Changes will be merged into dev soon.
     

    Users who are viewing this thread

    Top Bottom