Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Driver API problem
This is possibly a newbie problem...
I'm trying to get the raw unfiltered transport stream
to userspace. I'm using the dvb driver version 28.9.2001
What I've done so far:
filterpar.pid = 0;
filterpar.input = DMX_IN_FRONTEND;
filterpar.output = DMX_OUT_TS_TAP;
filterpar.pesType = DMX_PES_OTHER;
filterpar.flags = DMX_IMMEDIATE_START;
ioctl(fd_demux, DMX_SET_PES_FILTER, &filterpar);
and then read from /dev/ost/dvr0. That way I'm getting
transport stream packets with PID 0.
/dev/ost/dvr0 is not documented in the API documentation,
however. From it, I got the impression that I have to
read from demux0, but that doesn't work (read blocks or returns
EAGAIN, depending on O_NONBLOCK).
Also, how do I access the unfiltered transport stream?
Furthermore, I cannot get poll doing anything sensible on
dvr0. It just returns with POLLIN set, but a subsequent
read either blocks or returns EAGAIN...
Tom
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index