Discussion:
[MPlayer-dvb] Input from demux (not dvr)
Andrea
2008-03-10 21:53:08 UTC
Permalink
Hi,

There has been a change recently in v4l-dvb allowing to send the output of a filter to the demux
keeping the TS nature of the stream.

I personally think that it would be very interesting to be able to run mplayer from the demux so
that one can have multiple instance running at the same time.

It goes without saying that there is only 1 frequency.

Still it is possible to set only 1 filter per demux, so to watch video+audio one has to get the
whole TS and select via -aid and -vid.

1) is it possible to set a filter "per program".
2) would it be worth extending the demux driver in kernel to take more that 1 pid per filter?

Anybody interested?

Andrea
Nico Sabbi
2008-03-11 08:45:43 UTC
Permalink
Post by Andrea
Hi,
There has been a change recently in v4l-dvb allowing to send the
output of a filter to the demux keeping the TS nature of the
stream.
I personally think that it would be very interesting to be able to
run mplayer from the demux so that one can have multiple instance
running at the same time.
do you mean that multiple pids can be repeated to multiple client
programs?
If so it's what I've been asking a lot of time in linux-dvb
Post by Andrea
It goes without saying that there is only 1 frequency.
Still it is possible to set only 1 filter per demux, so to watch
video+audio one has to get the whole TS and select via -aid and
-vid.
1) is it possible to set a filter "per program".
2) would it be worth extending the demux driver in kernel to take
more that 1 pid per filter?
Anybody interested?
Andrea
yes. Post a patch, please
Andrea
2008-03-11 22:32:33 UTC
Permalink
Post by Nico Sabbi
do you mean that multiple pids can be repeated to multiple client
programs?
If so it's what I've been asking a lot of time in linux-dvb
That has always been possible (with PES data).
The new feature is multiple TS streams to different clients via the demux.
Beforehand, only the dvr could get TS data, and the dvr can only be opened once.

I have not yet understood how to handle PES streams. I find easier to manage TS streams.
I've been able to play audio PES data via mplayer, no way with video.

I have a problem though: a demux can only get 1 filter so, to get audio pid + video pid

1) get them via 2 different sources (2 demuxes). Can mplayer cope with that?
2) get the whole TS and select audio pid and video pid via the command line arguments -aid -vid
3) extend the dvb kernel driver to accept multiple pid filter for each instance of a demux
4) get only 1 pid...

Is it easier for mplayer to handle TS data or PES data?
Post by Nico Sabbi
yes. Post a patch, please
As soon as I have a clear view.
I have already tried option 2, but I think it is a waste of space...

Any suggestions?

Andrea

Loading...