How to install codecs for H.264 in .NET?

We need to play some H.264 / AAC videos in a Winforms project written in C #. This should run on Windows XP SP2 and Linux (using Mono). To do this, the appropriate codecs must be installed on the computer. Does anyone know if there is a way to install codecs as part of installing our project using the MSI installer. Is there a free or paid component that we can use? Ideally in the form of some DLL, which we could somehow register in the system. Or is there a better way?

UPDATE: We found this: http://vlcdotnet.codeplex.com/ So far this is not perfect, but we will try to understand in more detail.

+4
source share
2 answers

In the end, we used this library: http://libvlcnet.codeplex.com/ , which proved that it is exactly what we need. We can play videos and auidos encoded in H.264 / AAC codecs on each system (Win7, Win8, XP and various Linux distributions) with very little effort.

0
source

MPEG-4 codecs are not free (MPEG LA licensing terms apply), so the first thing you need to find is exactly what codecs you are going to redistribute, and check this SDK / with this provider, how to properly install and redistribute their software.

You will find some versions of the codecs listed here on Wikipedia:

+3
source

All Articles