MediaTomb is an open source (GPL) UPnP MediaServer with a nice
web user interface, it allows you to stream your digital media
through your home network and listen to/watch it on a variety
of UPnP compatible devices.

mediatomb optionally depends on ffmpeg, libmp4v2, lastfmlib and
ffmpegthumbnailer.