Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: libsi



> 
> Hi, 
> My idea is to use lisi to obtain to parse the DVB-SI stream.
> In all function of libsi i read 
> u_char Buffer 
> Who is Buffer?How to use the libsi?
> thanks in advance
> Felice
> 
Hi Felice,

'libsi' is an integral part of VDR and DTV, and provides parser routines
for the data structures (EIT, SDT, PAT, PMT, TDT) received from a DVB-SI
channel. The input to these parsers always consists in a buffer (pointed
to by char *buffer), which was filled in by a properly configured
read()-call to /dev/ost/demux. The parser returns one of the data
structures defined in libsi.h, which usually means a chained list of
elements (Programs, Events, or similar). To understand what all these
tables and descriptors are used for, it would be best to read the
corresponding ETSI standard EN 300 468 (free of charge from
www.etsi.org), and additionally the ISO 13818-1 (MPEG2 system layer).
After this you should have a look at the 'dvb_si.c' source code of DTV
(http://hesdvb.sf.net), which contains one way of 'interpreting' the
received data.
'libsi' does the parsing and integrity checking job, but you have to
decide what to do with the data !!

Best regards and have much fun,

Rolf




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index