Dreambox version of Linux DVB API: documentation?

The forum for our foreign guests... Please post in English
dilbengineer
Neugieriger
Neugieriger
Beiträge: 11
Registriert: Dienstag 27. Juni 2006, 23:39

Dreambox version of Linux DVB API: documentation?

Beitrag von dilbengineer »

Is there documentation for the Linux DVB API for the Dreambox? It doesn’t seem to be Version 1 or Version 3, but a hybrid of the two.

Are there patches to (or re-writes of) standard utilities like “dvbtune” that support Dreambox’s own version of the Linux DVB API? In lieu of documentation, that might provide an explanation as to how tuning is supposed to work with the Dreambox.

BTW, “streamts.c” (part of the CDK) is what I’m using at the moment to try to figure out the API for reading transport packets.

Does a dummy PID of 8192 work to enable the whole transport stream to be read?

Thanks.
dilbengineer
Neugieriger
Neugieriger
Beiträge: 11
Registriert: Dienstag 27. Juni 2006, 23:39

Beitrag von dilbengineer »

Answering some of my own questions:

Don't use the modern Linux DVB API (#include <dvb/frontend.h>, etc.).

The Dreambox implementation simply isn't that current.

The various programs within the CDK use a hodge podge of various vintage and style include files. I've counted around seven.

The copy within the CDK that seems to work (at least with the stuff I've written so far) is:

./driver/include/ost

For my project, I just made a local copy of these include files, and re-coded the #include in my code to point directly to this local copy.

The comments in the files suggest that is around a 2000 vintage. Note that unlike other "ost" implementations, the device files are "/dev/dvb/card0", not "/dev/ost".

If you do a Google search for "linux_dvb_api-20010917.pdf", this API document (v0.9.4) seems to correspond, at least approximately, with the Dreambox implementation.

I still haven't answered the whole transport stream question.
rasc
Senior Member
Beiträge: 5071
Registriert: Dienstag 18. September 2001, 00:00

Beitrag von rasc »

AFAIK the old API didn't have the pseudo pid 0x2000 to read a raw TS.
dilbengineer
Neugieriger
Neugieriger
Beiträge: 11
Registriert: Dienstag 27. Juni 2006, 23:39

Beitrag von dilbengineer »

Danke schön.

It would have been a useful feature to have.
rasc
Senior Member
Beiträge: 5071
Registriert: Dienstag 18. September 2001, 00:00

Beitrag von rasc »

yep, but API 1 (not talking of 0.9) is obsolete...