tsdumper2 reads incoming mpeg transport stream over UDP/RTP and then records it to disk. The files names are generated based on preconfigured time interval. https://georgi.unixsol.org/programs/tsdumper2/
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 953b42702f Remove two unused variables. 9 years ago
libfuncs @ 0dc8d87080 libfuncs: Update library. 9 years ago
.gitignore Initial import 11 years ago
.gitmodules Initial import 11 years ago
COPYING Initial import 11 years ago
ChangeLog Rewrite input address parsing to allow rtp and udp inputs. 11 years ago
Makefile build: Add LDFLAGS. 9 years ago
README Add documentation. 11 years ago
RELEASE Initial import 11 years ago
TODO Add documentation. 11 years ago
process.c Remove two unused variables. 9 years ago
tsdumper2.1 Add documentation. 11 years ago
tsdumper2.c Add -Wredundant-decls to compiler flags. 10 years ago
tsdumper2.h Rewrite input address parsing to allow rtp and udp inputs. 11 years ago
udp.c Initial import 11 years ago
util.c Fix harmless warning. 11 years ago
util.h Add noreturn attribute to die(). 9 years ago

README

tsdumper2
=========
tsdumper2 reads incoming mpeg transport stream over UDP/RTP and then
records it to disk. The files names are generated based on preconfigured
time interval.

License
=======
tsdumper2 is released under GNU GPL v2.

Development
===========
The development is done using git. tsdumper2 repository is hosted
at http://github.com/gfto/tsdumper2

To clone the repository issue the following commands:

git clone git://github.com/gfto/tsdumper2.git
cd tsdumper2
git submodule init
git submodule update
make

The code is developed and tested under modern Linux. It is also
compiled from time to time under OS X but is not tested there.

To see all Makefile targets run 'make help'.

Updating the code
=================
To update cloned tsdumper2, go to the directory where the repository
is cloned and run the following commands:

git fetch origin
git merge origin/master
git submodule update
make clean all

tsdumper2's master branch should always be useful so it is safe to
use it instead of official release. The master branch will always
be better than any released version.

Command line parameters
=======================
tsdumper2 is controlled using command line parameters. For more information
about the parameters see the man page. Here is a list of supported command
line parameters:

Usage: tsdumper2 -n <name> -i <input>

Settings:
-n --prefix <name> | Filename prefix.
-s --seconds <seconds> | How much to save (default: 60 sec).
-d --output-dir <dir> | Startup directory (default: .).
-D --create-dirs | Save files in subdirs YYYY/MM/DD/HH/file.

Input options:
-i --input <source> | Where to read from.
. -i udp://224.0.0.1:5000 (v4 multicast)
. -i udp://[ff01::1111]:5000 (v6 multicast)
. -i rtp://224.0.0.1:5000 (v4 RTP input)
. -i rtp://[ff01::1111]:5000 (v6 RTP input)
-z --input-ignore-disc | Do not report discontinuty errors in input.
-4 --ipv4 | Use only IPv4 addresses.
-6 --ipv6 | Use only IPv6 addresses.

Examples
========
To get a quick start here are some example command lines.

Examples:

# Read multicast stream from 239.78.78.78:5000 and save it in
# files with test- prefix
tsdumper2 --input udp://239.78.78.78:5000/ --prefix test

# Same as above but create directories YYYY/MM/DD/HH and put
# files into the directory.
tsdumper2 --input udp://239.78.78.78:5000/ --prefix test --create-dirs

# Same as above but create directories YYYY/MM/DD/HH and put
# files into the directory and create new file each 10 seconds.
tsdumper2 --input udp://239.78.78.78:5000/ --prefix test --create-dirs --seconds 10

Reporting bugs
==============
If you think you have found bug in tsdumper2, please report it to the
e-mail listed in Contact section (see below) of this README file.

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

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

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

Georgi Chorbadzhiyski <georgi@unixsol.org>