Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: How do I watch TV ?
Alexandre CONRAD writes:
> [1 <text/plain; us-ascii (7bit)>]
> > it's pretty easy to extend the scan utility wo write any other channel
> > list format, e.g. VDR or tuxzap channel lists. Feel free to do so and
> > send a patch when you're done.
>
> Humm...
>
> What I'm asking it pretty simple. I want to watch TV. I'm not a
> programmer, and I'm a little new to linux and satellite technologies.
> What I just need is to have a moving picture on my screen from a command
> line. ;)
>
> I want to do for example "./szap -n 001 [enter key]", and there, it
> switches to a channel, and I can see on picture on my TV screen comming
> from the Satellite card TV output. The "scan" utility doesn't seem to
> get anything here.
>
Scanning an unknown satellite without knowing at least the
transponders can take a long time and hang the ARM on occasion.
I got the list I posted for the W3, by writing a File like:
LNB ID 0 TYPE 1 LOF1 9750000 LOF2 10600000 SLOF 11700000 DISEQCNR 2
SAT ID 7 NAME "W3" LNBID 0 FMIN 10700000 FMAX 12700000
TRANSPONDER ID 0001 SATID 0007 TYPE 0 FREQ 11175000 POL V SRATE 27500000 FEC 3/4
TRANSPONDER ID 0002 SATID 0007 TYPE 0 FREQ 11283000 POL V SRATE 27500000 FEC 3/4
TRANSPONDER ID 0003 SATID 0007 TYPE 0 FREQ 11324000 POL V SRATE 27500000 FEC 1/2
TRANSPONDER ID 0004 SATID 0007 TYPE 0 FREQ 11492000 POL V SRATE 30000000 FEC 3/4
TRANSPONDER ID 0005 SATID 0007 TYPE 0 FREQ 11534000 POL V SRATE 30000000 FEC 3/4
which I got from the PDF you posted and than I wrote a little program
using the libdvb (found on http://www.metzlerbros.org/dvb).
#include <iostream.h>
#include "DVB.hh"
int main(int argc, char **argv)
{
ifstream con(argv[1]);
DVB dvbd(0);
con >> dvbd;
for (int j=0; j<dvbd.num[TRANS]; j++) {
dvbd.SetTP(dvbd.tps[j].id,dvbd.tps[j].satid);
int l = dvbd.search_in_TP(dvbd.tps[j].id,dvbd.tps[j].satid);
}
cout << dvbd;
}
It used to be much easier when you could still get the sat lists for
the nokia receivers from lyngsat.com. In that case n/r/tuxzap could
read that list directly. The programs should also be able to read the
xml format of dvbtune.
Marcus
--
/--------------------------------------------------------------------\
| Dr. Marcus O.C. Metzler | |
|--------------------------------|-----------------------------------|
| mocm@metzlerbros.de | http://www.metzlerbros.de/ |
\--------------------------------------------------------------------/
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index