New plugin: VideoEffectChanger

Discussion in 'Plugin Development' started by morpheus_xx, March 28, 2015.

  1. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,374
    Likes Received:
    4,551
    Ratings:
    +6,509 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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 :)
     

    Attached Files:

    • Like Like x 7
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Lehmden
    • Team MediaPortal

    Lehmden Test Group

    Joined:
    December 17, 2010
    Messages:
    11,313
    Likes Received:
    2,092
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,467 / 28
    Home Country:
    Germany Germany
    Show System Specs
    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?
     
  4. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,374
    Likes Received:
    4,551
    Ratings:
    +6,509 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Thanks for testing. I don't need log files, the plugin doesn't write to log...
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,374
    Likes Received:
    4,551
    Ratings:
    +6,509 / 11
    Home Country:
    Germany Germany
    Show System Specs
    We now also have a configuration for this feature:
    20150423-VideoEffectConfig.jpg 20150423-VideoEffectConfig_2.jpg

    Changes will be merged into dev soon.
     
    • Like Like x 2
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!