Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] API changes (was: C/A routing Question)
Hi,
>Yes, this should be the responsibility of the demux.
>Just add capability ioctls there. The frontend could be rather dumb.
>Syncing to TS boundaries, etc. can also be handled by the demux. It
>will have to do that anyway for budget cards which deliver unaligned
>data (e.g. Bt878/fusion cards). Demux hardware usually does it by itself.
In the latest Fusion code i've pushed all the sync handling down to the
(soft) demux. It needs some tweaks here and there but it basically works.
>> I.e. open("/dev/.../dvrN"), then DMX_DVR_SET_PIDS(int num, int16_t
pids[])?
>
>Yes. This should make recording all PIDs of one service very easy. A
software
>filter implementation should also be simple. Now this kind of filter even
seems
>to fit perfectly to some hardware
>as Rob McConnell described in his mail.
IMHO the dvr is comletely useless. Instead of adding more and more features
to it we should remove it. At the same time we have to change the demux API
to allow more than one pid filter per fd. If it is possible to route more
than one pid into the same buffer you will basically get the functions the
dvr device provides. If we do it carefully we're able to extend the API
without loosing compatibility.
I dont know alot about hw that provides dvr units. But the hw/driver should
be able to deal with that internally without forcing the user to know about
wether it has dvr support or not. If there is any reason why the hw or sw
requires a dvr device please elaborate why. Thx!
For the PES/PTS/Subtitle problem i would suggest the following: Lets extent
the demux interface to deliver PES headers only. Adding DMX_OUT_PES_HDR_TAP
or someting like this. Should be easy to implement (if hw supports it) and
doesnt break anyting. (Hopefully :)
Just my 2 cents.
Bye,
Florian
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index