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.
Dmitry Marakasov 848acf5a92
Fix ts_crc32_section return type
6 years ago
.gitignore makefile: Add dependancy tracking. 13 years ago
LICENSE-MIT.txt The code is under MIT license. 13 years ago
Makefile build: Allow changing CC even when CROSS is set. 10 years ago
README Add README file. 13 years ago
TODO Add TODO file. 13 years ago
cat.c Simplify xxx_is_same() functions. 9 years ago
crc.c Fix ts_crc32_section return type 6 years ago
descs.c Fix lcn description decoding 8 years ago
eit.c Simplify xxx_is_same() functions. 9 years ago
eit_desc.c Add init() functions in addition to alloc_init() functions. 13 years ago
log.c The code is under MIT license. 13 years ago
log.h The code is under MIT license. 13 years ago
misc.c Check return value of asprintf() because it could fail 8 years ago
nit.c Simplify xxx_is_same() functions. 9 years ago
nit_desc.c Remove unneeded operations. 9 years ago
pat.c Simplify xxx_is_same() functions. 9 years ago
pat_desc.c Add init() functions in addition to alloc_init() functions. 13 years ago
pes.c Fix format string warnings when compiling on 64 bit machine. 13 years ago
pes_data.c The code is under MIT license. 13 years ago
pes_es.c The code is under MIT license. 13 years ago
pmt.c Simplify xxx_is_same() functions. 9 years ago
privsec.c Simplify xxx_is_same() functions. 9 years ago
sdt.c Simplify xxx_is_same() functions. 9 years ago
sdt_desc.c sdt: Change free_ca_mode to default to non encypted service. 12 years ago
secdata.c Fix off-by-one in section gathering. 13 years ago
sections.c Add support for LCN descriptor. 10 years ago
tdt.c Simplify xxx_is_same() functions. 9 years ago
tdt_desc.c Add init() functions in addition to alloc_init() functions. 13 years ago
time.c The code is under MIT license. 13 years ago
tsdata.h Add support for Griffin CAS and DGCrypt CAS. 11 years ago
tsfuncs.c Fix off-by-one in ts_packet_get_payload_offset(). 13 years ago
tsfuncs.h Add support for LCN descriptor. 10 years ago
tstest.c Compile with -Wstrict-prototypes and -std=c99 13 years ago
tstest.test.expect Change section dump format 13 years ago
tstest_valgrind Add test script and expected results 13 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>