With Media Video Options you can use the power of ffmpeg for transcode videos.
An extra row in ACP -> Options -> XenForo Media Gallery give ffmpeg some additional video parameters.
The default parameter in this addon scale all videos to 720p. But you can use many other parameters like...