A fork of https://github.com/woodruffw/ff2mpv which add the option to set the maximum resolution of the video.