libtsfuncs is a library for mpeg PSI parsing and generation. https://georgi.unixsol.org/programs/libtsfuncs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Georgi Chorbadzhiyski 8c8a28d1b0
Merge pull request #5 from lars18th/neutral-nets
3 years ago
.gitignore makefile: Add dependancy tracking. 9 years ago
LICENSE-MIT.txt The code is under MIT license. 10 years ago
Makefile Make Makefile more friendly to packaging 3 years ago
README Add README file. 10 years ago
TODO Add TODO file. 10 years ago
cat.c Simplify xxx_is_same() functions. 6 years ago
crc.c Fix ts_crc32_section return type 3 years ago
descs.c Fix lcn description decoding 4 years ago
eit.c Simplify xxx_is_same() functions. 6 years ago
eit_desc.c Add init() functions in addition to alloc_init() functions. 9 years ago
log.c The code is under MIT license. 10 years ago
log.h The code is under MIT license. 10 years ago
misc.c Check return value of asprintf() because it could fail 4 years ago
nit.c Simplify xxx_is_same() functions. 6 years ago
nit_desc.c Descriptor 0x62: Support for different deliveries 3 years ago
pat.c Simplify xxx_is_same() functions. 6 years ago
pat_desc.c Add init() functions in addition to alloc_init() functions. 9 years ago
pes.c Fix format string warnings when compiling on 64 bit machine. 9 years ago
pes_data.c The code is under MIT license. 10 years ago
pes_es.c The code is under MIT license. 10 years ago
pmt.c Simplify xxx_is_same() functions. 6 years ago
privsec.c Simplify xxx_is_same() functions. 6 years ago
sdt.c Simplify xxx_is_same() functions. 6 years ago
sdt_desc.c sdt: Change free_ca_mode to default to non encypted service. 9 years ago
secdata.c Fix off-by-one in section gathering. 10 years ago
sections.c Add support for LCN descriptor. 7 years ago
tdt.c Simplify xxx_is_same() functions. 6 years ago
tdt_desc.c Add init() functions in addition to alloc_init() functions. 9 years ago
time.c The code is under MIT license. 10 years ago
tsdata.h Include stdint.h for intXX_t 3 years ago
tsfuncs.c Fixes incorrect check for payload_offset 3 years ago
tsfuncs.h Merge pull request #5 from lars18th/neutral-nets 3 years ago
tstest.c Compile with -Wstrict-prototypes and -std=c99 9 years ago
tstest.test.expect Change section dump format 10 years ago
tstest_valgrind Add test script and expected results 10 years ago

README

libtsfuncs
==========
Collection of routines to work with mpeg PSI tables.

Using it
========
Clone or download libtsfuncs in a directory in your source tree and
look at the example Makefile bellow:

---
TSFUNCS_DIR = libtsfuncs
TSFUNCS_LIB = $(TSFUNCS_DIR)/libtsfuncs.a

all: prog

prog_OBJS = main.o $(TSFUNCS_LIB)

$(TSFUNCS_LIB):
$(MAKE) -s -C $(TSFUNCS_DIR)

prog: $(prog_OBJS)
$(CC) $(CFLAGS) $(prog_OBJS) -o prog
---

In every C file that you need to use it, add

#include "libtsfuncs/tsfuncs.h"

Documentation
=============
There isn't any. I'm too lazy to write proper docs. Maybe some day but
until then just look at the tsfuncs.h, tsdata.h and log.h header files.

Development
===========
The development is tracked using git. The repository is hosted at github
to get it, run the following command:

git clone git://github.com/gfto/libtsfuncs.git

Releases
========
Official releases can be downloaded from libtsfuncs home page which is

http://georgi.unixsol.org/programs/libtsfuncs/

Contact
=======
For patches, bug reports, complaints and so on send e-mail to

Georgi Chorbadzhiyski <georgi@unixsol.org>