HandBrake

HandBrake is primarily used to transcode or convert video files from one format to another—for example, from less common formats like AVI or WMV (which your TV might not recognize) to something universally compatible like MP4. It’s also an excellent tool for reducing the file size of large videos without noticeable loss in quality. In fact, it’s one of the most popular video processing tools among home media server users running Plex or Jellyfin, as well as YouTubers and professional video editors.

https://handbrake.fr/