I have a Linux machine and I intend to only run code on it that is open source.
I know, it's almost impossible (binary blobs in the Linux kernel, drivers, firmware, ...), but i want to keep it at a minimum.
So, a lot of video/audio formats are patented and I don't know what, so that you can't find any video players supporting formats like mkv in the "free" repositories of Linux distributions.
And sure enough after installing Fedora on my machine without enabling non-free repos, I can't play video files like avi, mp4 and mkv (at least I don't get video output, I did get the audio for avi and mkv, though) and I even found some YouTube videos that I could not play. According to my research this is because I'm missing certain codecs.
I guess my question is, are there open source codecs/players for these video formats (especially mkv, mp4 and avi) or are they legally forced to be closed source because of some patent/licensing nonsense?
I know that the formats that I'm asking about are container formats and that I'm generalizing a lot. Basically I just need the most common constellations of avi, mp4 and mkv files to work, if that makes sense.