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 968352d1ec Add init() functions in addition to alloc_init() functions. 12 years ago
.gitignore makefile: Add dependancy tracking. 12 years ago
LICENSE-MIT.txt The code is under MIT license. 12 years ago
Makefile Do not build tstest by default. 12 years ago
README Add README file. 12 years ago
TODO Add TODO file. 12 years ago
cat.c Fix PUSI check. 12 years ago
crc.c Compile with -Wstrict-prototypes and -std=c99 12 years ago
descs.c Fix decoding of descriptor 0x58 12 years ago
eit.c Fix PUSI check. 12 years ago
eit_desc.c Add init() functions in addition to alloc_init() functions. 12 years ago
log.c The code is under MIT license. 12 years ago
log.h The code is under MIT license. 12 years ago
misc.c The code is under MIT license. 12 years ago
nit.c Fix PUSI check. 12 years ago
nit_desc.c Add init() functions in addition to alloc_init() functions. 12 years ago
pat.c Fix PUSI check. 12 years ago
pat_desc.c Add init() functions in addition to alloc_init() functions. 12 years ago
pes.c Fix format string warnings when compiling on 64 bit machine. 12 years ago
pes_data.c The code is under MIT license. 12 years ago
pes_es.c The code is under MIT license. 12 years ago
pmt.c Fix PUSI check. 12 years ago
privsec.c Fix PUSI check. 12 years ago
sdt.c Fix PUSI check. 12 years ago
sdt_desc.c Add init() functions in addition to alloc_init() functions. 12 years ago
secdata.c Fix off-by-one in section gathering. 12 years ago
sections.c The code is under MIT license. 12 years ago
tdt.c Fix PUSI check. 12 years ago
tdt_desc.c Add init() functions in addition to alloc_init() functions. 12 years ago
time.c The code is under MIT license. 12 years ago
tsdata.h Add support for more CA systems. 12 years ago
tsfuncs.c Fix off-by-one in ts_packet_get_payload_offset(). 12 years ago
tsfuncs.h Add init() functions in addition to alloc_init() functions. 12 years ago
tstest.c Compile with -Wstrict-prototypes and -std=c99 12 years ago
tstest.test.expect Change section dump format 12 years ago
tstest_valgrind Add test script and expected results 12 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>