Reply to thread

I agree that it perhaps would be good to move all encoding, multiplexing filters into the db and give them a priority. An improvement would also be when the user could choose between automatic selection of these filter or select specific ones.

I think that putting all other filters (tuner, capture etc.) into the db isn't the right way, because they are automatically detected. I think there are two solutions, how we can improve the detection of all cards:

1.) Normally the server uses the automatic detection algorithm, but it also have an additional CaputreCardDefinitions.xml or something similar for those special cards like yours.

2.) The main problem of the graph building that all cases are handled in one class (~2000 lines of code). I think it would be better if there is something like a factory/plugin system. There is one standard case and all special cases that are depending on some filter names are handled in separated classes. But this is a really complicated and time consuming job. A plugin system would perhaps also help, because than the community users could write those special cases too.




OK, now I understand what's going on. The main problem is your driver, because it reports the server that it already has an MPEG2 program stream on the capture filter, which isn't true. Therefor no software encoders are added.


I could a condition that ignore this result for your capture filter, but I'm pretty sure that than the TvServer wouldn't find the video pin when trying to add the video encoder. This would than need a special detection of this pin too.


MisterD


Top Bottom