This article explains how to watch videos from a computer on Apple TV using the VLC for Mobile app. It includes information on using VLC to watch streaming content on Apple TV.
VLC Media Streaming App for Apple TV 4K | How to Access Your Media
Apple TV is an excellent streaming entertainment solution, but it is limited in the number of media formats it can play. There are, however, apps available that can play these other formats, including Plex, Infuse, and VLC media player, which are explained here.
Maybe you just want to play files in various file formats that you have stored on your computer. You can play almost anything that you can play on your computer on your Apple TV.
Download the VLC for mobile app from the Apple TV App Store.