libtsfuncs is a library for mpeg PSI parsing and generation.
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.


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)


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

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

#include "libtsfuncs/tsfuncs.h"

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.

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

git clone git://

Official releases can be downloaded from libtsfuncs home page which is

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

Georgi Chorbadzhiyski <>