1. Welcome to the official forum for MINIX devices!
    Dismiss Notice

Tutorial Autoframerate detection + switching output in XBMC

Discussion in 'NEO X8-H, X8 Plus & X8 Guides and FAQs' started by jk-nz, Aug 30, 2014.

  1. jk-nz

    jk-nz Developer

    This is a Frequency Switcher.
    It currently supports switching manually (via mapped key) or automatically between refresh rates for these resolutions:
    - 1080p - 24hz, 50hz and 60hz
    - 720p - 50hz and 60hz
    There is a settings page to configure the frequency that specific source framerates automatically switch to.

    Requires firmware beta 8 or higher.

    Updated 12 October: Download version 1.3.1 from: http://ge.tt/4kEZXM12/v/0?c
    Alternate Link: - http://www.minixforum.com/downloads/download.php?file=script.video.fswitch.131.zip

    Installation instructions:
    In XBMC:
    - Programs
    - Get More...
    - ..
    - ..
    - Install from zip file
    - select the downloaded (unextracted) .zip file

    Auto-switching is not enabled by default. You will need to configure first then restart XBMC.

    The configuration menu can be found under Programs - Addons - Frequency Switcher.
    Open via OK on the remote, Enter on a keyboard, or Left Click on mouse (not via the Context menu - Addon settings).

    Change log:
    - Fix for auto switching DVD-ISO and IMG files
    - Improved source frame rate detection
    - Reduced stand down period
    - Added Info mapped key
    - Added 50hz option for playback stop
    - Improved Clean Up
    - Settings shared between profiles
    - Added support for switching on end of playback
    - Prevented switching when playing audio files
    - Removed notification sound
    - Improved Automatic mapped key
    - Service optimization
    - Service startup changed from Login to XBMC Startup
    - Added Clean Up (for use before Uninstall and Disable)
    - added support for key navigation.
    Last edited by a moderator: Oct 16, 2014
    Damir, Onno, SmashD and 9 others like this.

    ENDRJUPL Well-Known Member Super Moderator

    @jk-nz I made a separate thread to discuss your addon here I hope you don't mind.
    jk-nz likes this.
  3. WilfredG

    WilfredG Member

    I have tested 10 to 20 movies and the frequency switching is perfect.
    24 fps, 25 fps and 50 fps movies.
    What a marvelous job!
  4. Waylon

    Waylon Member

    Works brilliantly. Great job.
  5. WilfredG

    WilfredG Member

  6. HardwareGuru

    HardwareGuru Developer Administrator

    yes will do on next weeks update ( after testing it first )
    WilfredG and damca like this.
  7. Dnerve

    Dnerve Active Member

    I kinda noticed the following sometimes not all the time since installed and enabled:

    -XBMC crashes on startup
    -XBMC hangs on exit

    Not sure if it's a messed up install of xbmc as I was experimenting a bit with skins...

    One I can repro all the time tough is if I disable the add-on, XBMC freezes and I have to force close it. @jk-nz, do you want people to post/send logs? Would that be useful to you?

    Thanks again for the brilliant work!
  8. jk-nz

    jk-nz Developer

    Unfortunately due to work commitments, i won't have much time to spend on this over the next two weeks.
    This is the my first attempt at an XBMC addon, there will definitely be room for improvement.

    Try deactivating Frequency Switcher key mappings (if you have made any) as it occurs to me now that these are not deactivated when the plugin is disabled or uninstalled.
  9. Dnerve

    Dnerve Active Member

    No probs, was more reporting as a potential bug rather than demanding a fix and that's exactly why I was asking if you were looking for such info and how you would want it.

    For a 1st attempt it's pretty damn good to say the least! :)
  10. jk-nz

    jk-nz Developer

    Thanks, I understand - welcome all feedback but not quite ready to analyse logs yet.
    If multiple users experience the same issue and I cannot replicate myself then logs will be useful.

    Will release a new version in the next couple of days with these changes (may help with your issue):
    - Service optimization
    - Disable and Uninstall cleanup
    - 'Auto' key mapping improvement
    Fullhdwatcher, damca and HardwareGuru like this.
  11. Justintime

    Justintime Active Member

    Thanks for this great add on!!!
    Also big up from my other halve.

    Now I don't have to interrup the movie (with bad looking faces) , for something she don't see the difference...
    Martin G and WilfredG like this.
  12. Nestor

    Nestor Member Beta Tester


    Since this is an add on to XBMC I guess it will work with NEO x7 as well right?
  13. WilfredG

    WilfredG Member

    Sorry, I don't think so.
  14. Justintime

    Justintime Active Member

    I would say, why don't you try?
  15. Nestor

    Nestor Member Beta Tester

    Yeah, DHL guy has just delivered the box but I'm still in office. Will try it in the evening.
  16. dewettie

    dewettie New Member

    Download link is offline.
  17. Nestor

    Nestor Member Beta Tester

    I've received my X7 mini and everything works well out of the box, no need of this switching tool.
  18. damca

    damca New Member

    I downloaded file now without problem.
  19. Justintime

    Justintime Active Member

    Then you don't know what this add on is about.
    Please do some further investigation on framerates and movie sources.
    And then come back if you still don't need it.
    SmashD likes this.
  20. Nestor

    Nestor Member Beta Tester

    Well, why need to investigate more if I can watch most of my existing movies on the NAS smoothly (most because I didn't try all)?

    A few weeks ago I used another RK3188 devices name CS918 and those movies were not watch-able at all. Guess this is some improvement though.
    Higgs likes this.