The demultiplexing is done because all of the hardware encoding cards output some form of program stream. The TV Server uses a transport stream. So, the server demultiplexes the (maybe compliant, maybe not) program stream into the elementary streams and the Live555 library classes multiplex those into the transport stream which is a more fault tolerant way of streaming mpeg2.I'm also wondering why the TvServer tries to get a video and audio multiplexed stream and than demultiplexes it, before it get multiplexed again and connects to MPFileWriter. I'm just asking myself, for which reason this demultiplexing step is needed. I see in the code that in some cases it is useful for differing between tv and radio, but in many cases this goal could be achieved in a better way.
Any help is very welcome, especially testers are needed, when I have finished the new version But I would like to see this patch included in SVN before the new version is ready, because my work will be based on it.
MisterD