Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Two processes reading different pids concurrently?
You can't get two different multiplexed streams from the driver, but
different processes can get individual streams from the driver using "PES
filters" and reading the data (in PES format) from /dev/ost/demux.
For example, application 1 can read a multiplexed TS containing PIDS 600 and
601 from /dev/ost/dvr.
At the same time, application 2 can open /dev/ost/demux twice and from each
filehandle read a different PID - i.e. 610 and 611. It should then be
possible to use the functions from mpegtools to remultiplex the streams and
create a TS.
However, I agree with your point - it would be very nice if multiple
applications could concurrently open /dev/ost/dvr and read diffferent (or
even overlapping) subsets of the TS.
The problem can always be solved in user space by having application 1 pass
data onwards to application 2 via a pipe - what exactly are you trying to do?
On Friday 25 January 2002 09:04, Stephen Davies wrote:
> With my "budget" DVB-T card, I would like to run two concurrent processes,
> each capturing different pids off the currently tuned multiplex.
> This would seem possible in theory - especially with the budget card where
> the streams are filtered in software anyway.
> But as far as I can see, the API and device file arrangements don't make
> this achievable.
> Do I understand right, or have I missed something obvious?
To unsubscribe send a mail to email@example.com with "unsubscribe linux-dvb" as subject.
Main Index |