"Source Direct" Video Output

  • Is it possible to configure Kodi / LibreElec via a RPi 4/5 to automatically change its output to whatever matches the file being played? Basically, if the file is 1280x720@60Hz, the output would switch to match when the file is launched, then default back to a basic resolution (480p, 1080p?) when it's done?

    I think this could be done manually if I was able to create an EDID for each individual resolution per this thread: [RPi] Adding Custom Refresh Rates

    ...but it's tricky to make an EDID file for resolutions like 640x480 @ 24Hz created from inverse telecined DVD's, which is a file type more common then you'd expect.

    This would be really helpful for going into video processors or displays that have scaling features not available in Kodi, so we can send them the original file with no transcoding done. "Source Direct" players are definitely for video enthusiasts, but they're very hard to find and Kodi already does such an awesome job with tons of different file types.

  • Setup a whitelist and enable "Adjust refresh rate" - see eg here https://wiki.libreelec.tv/configuration/4k-hdr (it applies to non-4k setups as well).

    Also enable "allow double refresh rates" and/or "Allow 3:2 pulldown" if needed - this can help kodi picking the correct resolution if it doesn't have an exact match (but has 2 or 3:2 times the refresh rate).

    If kodi can't find any matching resolution/refresh rate it will use the one that you configured for the GUI.

    so long,

    Hias

  • Usualy you should fill the mode whitelist with the resolutions/refresh rate combinations you want that KODI switches to if the media format matches. The available combinations depend on the EDID data provided. Maybe there are some limitations which combinations are supported by RPi4/5 hardware.

    It should be enough to set: "Settings \ Player \ Videos \ Adjust display refresh rate = Start/Stop". This prevents that KODI switches back to the default if OSD is open during playback and ensures the best match of your whitelist is used.

    EDIT:
    race condition, HiassofT was faster... ;)