Re: extract multiple elementary streams using one tsdemux element?
In the current implementation, tsdemux element demuxes only the elementary
streams of the configured program through program-number property.
I also remember a request some time back on demuxing through PID rather than
specifying program number, in which case it should be possible to do that.
Such a change is not impossible but will involve good amount of design and
code changes. You can file a bug and post a patch for the same. Anybody else
working on it looks unlikely, since what you want can be achieved by using
tee and multiple demuxer as you have quoted(though suboptimal)