summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2017-11-24 01:01:47 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-24 01:01:47 +0000
commit9efc00a7946a049502500e16cdeeb279b115fd6a (patch)
tree37a1cb1157ab02837cf36eb21d32bac0ab516cdb
parent3df30f21d4a37c14f7373e3ae8652472e1930756 (diff)
downloadslackbuilds-9efc00a7946a049502500e16cdeeb279b115fd6a.tar.gz
multimedia/opencaster: Added (MPEG-TS stream tool).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--multimedia/opencaster/README47
-rw-r--r--multimedia/opencaster/man/dsmcc-receive.16
-rw-r--r--multimedia/opencaster/man/eitsecactualtoanother.16
-rw-r--r--multimedia/opencaster/man/eitsecfilter.16
-rw-r--r--multimedia/opencaster/man/eitsecmapper.16
-rw-r--r--multimedia/opencaster/man/esaudio2pes.112
-rw-r--r--multimedia/opencaster/man/esaudioinfo.110
-rw-r--r--multimedia/opencaster/man/esvideompeg2info.16
-rw-r--r--multimedia/opencaster/man/esvideompeg2pes.17
-rw-r--r--multimedia/opencaster/man/file2mod.16
-rw-r--r--multimedia/opencaster/man/i13942ts.16
-rw-r--r--multimedia/opencaster/man/m2ts2cbrts.17
-rw-r--r--multimedia/opencaster/man/mod2sec.16
-rw-r--r--multimedia/opencaster/man/mpe2sec.110
-rw-r--r--multimedia/opencaster/man/oc-update.132
-rw-r--r--multimedia/opencaster/man/pes2es.18
-rw-r--r--multimedia/opencaster/man/pes2txt.16
-rw-r--r--multimedia/opencaster/man/pesaudio2ts.19
-rw-r--r--multimedia/opencaster/man/pesdata2ts.16
-rw-r--r--multimedia/opencaster/man/pesinfo.16
-rw-r--r--multimedia/opencaster/man/pesvideo2ts.117
-rw-r--r--multimedia/opencaster/man/sec2ts.15
-rw-r--r--multimedia/opencaster/man/ts2m2ts.16
-rw-r--r--multimedia/opencaster/man/ts2pes.16
-rw-r--r--multimedia/opencaster/man/ts2sec.17
-rw-r--r--multimedia/opencaster/man/tscbrmuxer.18
-rw-r--r--multimedia/opencaster/man/tsccc.17
-rw-r--r--multimedia/opencaster/man/tscrypt.17
-rw-r--r--multimedia/opencaster/man/tsdiscont.110
-rw-r--r--multimedia/opencaster/man/tsdoubleoutput.17
-rw-r--r--multimedia/opencaster/man/tsfilter.17
-rw-r--r--multimedia/opencaster/man/tsfixcc.18
-rw-r--r--multimedia/opencaster/man/tsinputswitch.111
-rw-r--r--multimedia/opencaster/man/tsloop.16
-rw-r--r--multimedia/opencaster/man/tsmask.17
-rw-r--r--multimedia/opencaster/man/tsmodder.18
-rw-r--r--multimedia/opencaster/man/tsnullfiller.17
-rw-r--r--multimedia/opencaster/man/tsnullshaper.112
-rw-r--r--multimedia/opencaster/man/tsororts.17
-rw-r--r--multimedia/opencaster/man/tsorts.17
-rw-r--r--multimedia/opencaster/man/tsoutputswitch.111
-rw-r--r--multimedia/opencaster/man/tspcrmeasure.16
-rw-r--r--multimedia/opencaster/man/tspcrrestamp.17
-rw-r--r--multimedia/opencaster/man/tspcrstamp.17
-rw-r--r--multimedia/opencaster/man/tspidmapper.16
-rw-r--r--multimedia/opencaster/man/tsprinter.18
-rw-r--r--multimedia/opencaster/man/tsstamp.17
-rw-r--r--multimedia/opencaster/man/tstcpreceive.16
-rw-r--r--multimedia/opencaster/man/tstcpsend.19
-rw-r--r--multimedia/opencaster/man/tstdt.19
-rw-r--r--multimedia/opencaster/man/tstimedwrite.17
-rw-r--r--multimedia/opencaster/man/tstimeout.16
-rw-r--r--multimedia/opencaster/man/tsudpreceive.16
-rw-r--r--multimedia/opencaster/man/tsudpsend.19
-rw-r--r--multimedia/opencaster/man/tsvbr2cbr.18
-rw-r--r--multimedia/opencaster/man/txt2pes.19
-rw-r--r--multimedia/opencaster/man/vbv.16
-rw-r--r--multimedia/opencaster/man/zpipe.16
-rw-r--r--multimedia/opencaster/opencaster.SlackBuild106
-rw-r--r--multimedia/opencaster/opencaster.info14
-rw-r--r--multimedia/opencaster/patches/interface.patch14
-rw-r--r--multimedia/opencaster/patches/path.patch51
-rw-r--r--multimedia/opencaster/patches/tscrypt.patch16
-rw-r--r--multimedia/opencaster/slack-desc19
64 files changed, 721 insertions, 0 deletions
diff --git a/multimedia/opencaster/README b/multimedia/opencaster/README
new file mode 100644
index 0000000000..d7fcf4c52d
--- /dev/null
+++ b/multimedia/opencaster/README
@@ -0,0 +1,47 @@
+OpenCaster is a collection of tools for Linux system to play out and
+multiplex MPEG2 transport stream format.
+
+Use-cases:
+ - MHP, MHEG5, HbbTv and others interactive tv standards object carousel
+ broadcast
+ - Playout of locally stored, offline encoded audio and video for non-live
+ tv and radio stations
+ - Multiplexing of input multicasted UDP transport stream to output
+ multicasted UDP transport stream
+ - VOD system based on mpeg2 transport stream over IP or over DVB for
+ walled garden network like hotels with coax or ethernet.
+ - DVB-SSU update
+ - Data casting
+ - IP encapsualtor
+ - PSI/SI generator
+ - EPG generator
+
+OpenCaster output has been successfully integrated with a long list of
+dvb products, among them there are products by Cisco/Scientific Atlanta,
+Ericsson/Tandberg, Dektec, Eurotek, Harmonic/Scopus, MainConcept, Mitan,
+Screen Service, Adtec, Wellav, Sr-Systems, Deltacast, ...
+Integration is tested and available on the Avalpa Broadcast Server
+
+OpenCaster has been tested with Rohde & Schwarz DVM100L, Rohde & Schwarz
+DVM 400, Dektec StreamXpert and a countless number of set top boxes,
+digital receivers and flat panels
+
+ - PSI generation (PAT, PMT, NIT, SDT, TDT, AIT, TOT, ...)
+ - EPG/EIT generation
+ - Object and data carousel generation and receivement (MHP, MHEG5, HbbTv,
+ DVB-SSU, DSMCC, ...)
+ - third party software AC-3, MPEG2 audio, MPEG2 video and H264 video
+ encoders support
+ - Audio Description generation support
+ - IP encapsulation (MPE)
+ - CBR transport stream muxing
+ - PCR stamping
+ - Null packet replacement
+ - PID filtering
+ - PID remapping
+ - Null packet insertion
+ - Video buffer verifier
+ - PCR timing verifier
+ - PES headers analyzer
+ - MPEG2 video and MPEG2/AC-3 audio ES header analyzer
+ - M2TS file generation from TS file
diff --git a/multimedia/opencaster/man/dsmcc-receive.1 b/multimedia/opencaster/man/dsmcc-receive.1
new file mode 100644
index 0000000000..c216191e40
--- /dev/null
+++ b/multimedia/opencaster/man/dsmcc-receive.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH dsmcc-receive "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+dsmcc-receive \- tool from openCaster suite
+.SH DESCRIPTION
+dsmcc-receive usage: dsmcc-receive output_directory cache_size pid component_tag < file.sec
diff --git a/multimedia/opencaster/man/eitsecactualtoanother.1 b/multimedia/opencaster/man/eitsecactualtoanother.1
new file mode 100644
index 0000000000..847fc5724e
--- /dev/null
+++ b/multimedia/opencaster/man/eitsecactualtoanother.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH eitsecactualtoanother "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+eitsecactualtoanother \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'eitsecactualtoanother inputeit.sec > outputeit.sec
diff --git a/multimedia/opencaster/man/eitsecfilter.1 b/multimedia/opencaster/man/eitsecfilter.1
new file mode 100644
index 0000000000..e7fd8341b7
--- /dev/null
+++ b/multimedia/opencaster/man/eitsecfilter.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH eitsecfilter "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+eitsecfilter \- tool from openCaster suite
+.SH DESCRIPTION
+eitsecfiter usage: 'eitsecfilter file.sec +onid tsid sid +onid tsid sid [...]
diff --git a/multimedia/opencaster/man/eitsecmapper.1 b/multimedia/opencaster/man/eitsecmapper.1
new file mode 100644
index 0000000000..1c3bda8f16
--- /dev/null
+++ b/multimedia/opencaster/man/eitsecmapper.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH eitsecmapper "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+eitsecmapper \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'eitsecmapper onid tsid sid to onid2 tsid2 sid2 and [...]
diff --git a/multimedia/opencaster/man/esaudio2pes.1 b/multimedia/opencaster/man/esaudio2pes.1
new file mode 100644
index 0000000000..0960966b2a
--- /dev/null
+++ b/multimedia/opencaster/man/esaudio2pes.1
@@ -0,0 +1,12 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH esaudio2pes "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+esaudio2pes \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'esaudio2pes audio.es samples_per_frame sample_rate frame_size_without_padding AD_fade_value [pts_offset] [pts_limit] [stream_id]'
+pts_offset can be used to set a pts different from zero to synch audio to the first video pts
+pts_limit can be used to limit time length to force audio to end before the last video pts
+Example for mpeg layer 2 audio with frame size 768 and sample rate 48000: esaudio2pes audio.es 1152 48000 768 \-1
+Example for ac3 audio with frame size 384 and sample rate 48000: esaudio2pes audio.es 1536 48000 384 \-1
+Example for dts audio with nblck 15 e short 31, samples are 16*32: esaudio2pes audio.es 512 48000 2012 \-1
+valid id for audio are 110xxxxx, default is 192
diff --git a/multimedia/opencaster/man/esaudioinfo.1 b/multimedia/opencaster/man/esaudioinfo.1
new file mode 100644
index 0000000000..78f630dcde
--- /dev/null
+++ b/multimedia/opencaster/man/esaudioinfo.1
@@ -0,0 +1,10 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH esaudioinfo "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+esaudioinfo \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'esaudioinfo audio.es'
+Prints info about sampling and frame size
+Supports: mpeg2 audio layer 1,2,3
+Supports: ac3 and enhanced-ac3
+Supports: dts
diff --git a/multimedia/opencaster/man/esvideompeg2info.1 b/multimedia/opencaster/man/esvideompeg2info.1
new file mode 100644
index 0000000000..e4abf1d317
--- /dev/null
+++ b/multimedia/opencaster/man/esvideompeg2info.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH esvideompeg2info "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+esvideompeg2info \- tool from openCaster suite
+.SH DESCRIPTION
+Example: esvideompeg2info video.es
diff --git a/multimedia/opencaster/man/esvideompeg2pes.1 b/multimedia/opencaster/man/esvideompeg2pes.1
new file mode 100644
index 0000000000..29a239d9d0
--- /dev/null
+++ b/multimedia/opencaster/man/esvideompeg2pes.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH esvideompeg2pes "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+esvideompeg2pes \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'esvideompeg2pes video.es [pts_limit] [stream_id]] '
+Video stream id default is 224
diff --git a/multimedia/opencaster/man/file2mod.1 b/multimedia/opencaster/man/file2mod.1
new file mode 100644
index 0000000000..44735e059d
--- /dev/null
+++ b/multimedia/opencaster/man/file2mod.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH file2mod "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+file2mod \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: /usr/bin/file2mod <InputDirectory> <OutputModulesDirectory> download_id carousel_id association_tag version [block_size update_flag compress_mode]
diff --git a/multimedia/opencaster/man/i13942ts.1 b/multimedia/opencaster/man/i13942ts.1
new file mode 100644
index 0000000000..f4ca33090c
--- /dev/null
+++ b/multimedia/opencaster/man/i13942ts.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH i13942ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+i13942ts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'i13942ts file.iso', where .iso is a ieee1394-6 dump
diff --git a/multimedia/opencaster/man/m2ts2cbrts.1 b/multimedia/opencaster/man/m2ts2cbrts.1
new file mode 100644
index 0000000000..d651eb027e
--- /dev/null
+++ b/multimedia/opencaster/man/m2ts2cbrts.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH m2ts2cbrts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+m2ts2cbrts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'm2ts2cbrts input.ts [output_bit_rate]'
+adds empty packets to input.ts to reach uniform output_bit/s, default is 48mbps
diff --git a/multimedia/opencaster/man/mod2sec.1 b/multimedia/opencaster/man/mod2sec.1
new file mode 100644
index 0000000000..d81699e53f
--- /dev/null
+++ b/multimedia/opencaster/man/mod2sec.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH mod2sec "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+mod2sec \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: /usr/bin/mod2sec [option...] <InputModuleDirectory> <OutputSectionsDirectory>
diff --git a/multimedia/opencaster/man/mpe2sec.1 b/multimedia/opencaster/man/mpe2sec.1
new file mode 100644
index 0000000000..3c86b0bda8
--- /dev/null
+++ b/multimedia/opencaster/man/mpe2sec.1
@@ -0,0 +1,10 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH mpe2sec "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+mpe2sec \- tool from openCaster suite
+.SH DESCRIPTION
+usage mpe2sec devname
+Create a tun device and send DVB/MPE DSM-CC sections to stdout.
+Project home page http://code.google.com/p/dvb-mpe-encode
+Example:
+mpe dvb0 | sec2ts 430 | DtPlay 1000000
diff --git a/multimedia/opencaster/man/oc-update.1 b/multimedia/opencaster/man/oc-update.1
new file mode 100644
index 0000000000..cab1384a6a
--- /dev/null
+++ b/multimedia/opencaster/man/oc-update.1
@@ -0,0 +1,32 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH oc-update "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+oc-update \- tool from openCaster suite
+.SH DESCRIPTION
+Usage:
+oc-update.sh object_carousel_directory association_tag module_version dsmcc_pid carousel_id [compress_mode] [padding_on] [clean_off] [DDB_size] [update_flag] [mount_frequency]
+ - carousel_directory: the directory to marshal in an object carousel
+ - association_tag aka common tag, referenced by PMTs and AITs, every carousel has one
+ - modules_version, all the modules will have the same version, you need to change this to notify to the box files are changed, goes from 0 to 15
+ - pid, referenced by PMTs using this carousel
+ - carousel_id, referenced by PMTs using this carousel, every carousel has its own, it is an alternative for association_tag, they have the same function
+ - compress_mode, 0: don't compress, 1:compress all, 2:smart compress, file with .solo extension are set in an uncompressed module alone to allow use cases like quick image file update, default is 2
+ - padding_on, every section is padded, was useful with some buggy decoder, waste bandwidth, default off, unsupported since OpenCaster 2.4.8
+ - clean_off, don't delete temp file, default off, used for debug
+ - DDB_size, Use custom size for DDB payload, default = max = 4066
+ - sets the Update flag in the TransactionID of DSI and DII to the value given (0 or 1)
+ - mount_frequency, set how often insert DII/DSI/SGW to speed up carousel mount, default is twice per carousel period
+
+Example:
+oc-update.sh ocdir1 0xB 5 2003 7 2 0 0 4066 0 2
+ carousel_directory: ocdir1
+ association_tag: 0xB (11)
+ modules_version: 0x5 (5)
+ pid: 2001
+ carousel_id: 7
+ smart compress the carousel
+ don't pad
+ delete temp files
+ use 4066 bytes for DDB size (usual and maximum size)
+ sets update flag to 0 in DSI/DII
+ insert DSI/DII/SGW twice per carousel length
diff --git a/multimedia/opencaster/man/pes2es.1 b/multimedia/opencaster/man/pes2es.1
new file mode 100644
index 0000000000..0ec7e9f860
--- /dev/null
+++ b/multimedia/opencaster/man/pes2es.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pes2es "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pes2es \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pes2es filename.pes stream_id_header_to_skip'
+Example for audio: 'pes2es filename.pes 192', 192 is 0xc0
+Example for video: 'pes2es filename.pes 224', 224 is 0xe0
diff --git a/multimedia/opencaster/man/pes2txt.1 b/multimedia/opencaster/man/pes2txt.1
new file mode 100644
index 0000000000..bd0739c478
--- /dev/null
+++ b/multimedia/opencaster/man/pes2txt.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pes2txt "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pes2txt \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pes2txt filename.pes > txt_units'
diff --git a/multimedia/opencaster/man/pesaudio2ts.1 b/multimedia/opencaster/man/pesaudio2ts.1
new file mode 100644
index 0000000000..68671a06c9
--- /dev/null
+++ b/multimedia/opencaster/man/pesaudio2ts.1
@@ -0,0 +1,9 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pesaudio2ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pesaudio2ts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pesaudio2ts pid sample_per_frame sample_rate es_frame_size[:video_pts_step] loop_on input1.pes [input2.pes ... ]', where pid is bounded from 1 to 8191
+if loop_on is 1 after the last input.pes will start again from the first, video synch works only with mpeg2 video files
+loop_on ends if the first file is missing
+input*.pes.length is scan for a pts value, if present the value is used to adjust single pes length adding null packets to sync at that pts
diff --git a/multimedia/opencaster/man/pesdata2ts.1 b/multimedia/opencaster/man/pesdata2ts.1
new file mode 100644
index 0000000000..6ff3ab071b
--- /dev/null
+++ b/multimedia/opencaster/man/pesdata2ts.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pesdata2ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pesdata2ts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pesdata2ts file.pes pid > file.ts', where pid is bounded from 1 to 8191
diff --git a/multimedia/opencaster/man/pesinfo.1 b/multimedia/opencaster/man/pesinfo.1
new file mode 100644
index 0000000000..0732da3625
--- /dev/null
+++ b/multimedia/opencaster/man/pesinfo.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pesinfo "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pesinfo \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pesinfo filename.pes'
diff --git a/multimedia/opencaster/man/pesvideo2ts.1 b/multimedia/opencaster/man/pesvideo2ts.1
new file mode 100644
index 0000000000..62bb8420ad
--- /dev/null
+++ b/multimedia/opencaster/man/pesvideo2ts.1
@@ -0,0 +1,17 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH pesvideo2ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+pesvideo2ts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'pesvideo2ts pid es_framerate[:pcr_rate] es_video_vbv ts_video_bitrate loop_on input1.pes [input2.pes ... input256.pes]'
+ where pid is bounded from 1 to 8191
+ es_framerate is elementary stream frame rate
+ pcr_rate is pcr insertion repetetion in milliseconds
+ es_video_vbv is elementary stream vbv size example: 112 are vbv units (16 * 1024 bit), b1024 is 1024 bit
+ ts_video_bitrate is the output bitrate desired
+ if loop_on is 1 input file are read on loop, works only for mpeg2 video files
+ if the first file of the loop is missing the loop ends
+ more than 1 file is only for mpeg2 videos
+ input files can be changed at runtime if not fifo
+framerate available are 23, 24, 25, 29, 30, 50, 59 and 60
+29 is actually 30000รท1001 as from standard and so on
diff --git a/multimedia/opencaster/man/sec2ts.1 b/multimedia/opencaster/man/sec2ts.1
new file mode 100644
index 0000000000..3050f0f9b4
--- /dev/null
+++ b/multimedia/opencaster/man/sec2ts.1
@@ -0,0 +1,5 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH sec2ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+sec2ts \- tool from openCaster suite
+.SH DESCRIPTION
diff --git a/multimedia/opencaster/man/ts2m2ts.1 b/multimedia/opencaster/man/ts2m2ts.1
new file mode 100644
index 0000000000..a118e39129
--- /dev/null
+++ b/multimedia/opencaster/man/ts2m2ts.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH ts2m2ts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+ts2m2ts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: ts2m2ts file.ts bitrate_in_bps [copyright_bits_as_integer] > file.m2ts
diff --git a/multimedia/opencaster/man/ts2pes.1 b/multimedia/opencaster/man/ts2pes.1
new file mode 100644
index 0000000000..4774571446
--- /dev/null
+++ b/multimedia/opencaster/man/ts2pes.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH ts2pes "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+ts2pes \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'ts2pes filename.ts payload_pid [buffer_size_in_packets]'
diff --git a/multimedia/opencaster/man/ts2sec.1 b/multimedia/opencaster/man/ts2sec.1
new file mode 100644
index 0000000000..4684d3a5e1
--- /dev/null
+++ b/multimedia/opencaster/man/ts2sec.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH ts2sec "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+ts2sec \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'ts2sec filename.ts payload_pid > sections'
+the tool manages corrupted ts, only complete sections are output
diff --git a/multimedia/opencaster/man/tscbrmuxer.1 b/multimedia/opencaster/man/tscbrmuxer.1
new file mode 100644
index 0000000000..b81e8e5e12
--- /dev/null
+++ b/multimedia/opencaster/man/tscbrmuxer.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tscbrmuxer "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tscbrmuxer \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tscbrmuxer b:bitrate_pat pat.ts b:bitrate_cat cat.ts b:pmt1_bitrate pmt1.ts b:nit_bitrate nit.ts ... where bitrate in 'b:bitrate file.ts' is in bit per second
+Usage: 'o:bitrate null.ts can be used to specify final output ts bit rate, must be the last parameter
+Usage: 'c:bitrate file.ts can be used to specify that when the file.ts ends the mux stops
diff --git a/multimedia/opencaster/man/tsccc.1 b/multimedia/opencaster/man/tsccc.1
new file mode 100644
index 0000000000..8bd1169c1a
--- /dev/null
+++ b/multimedia/opencaster/man/tsccc.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsccc "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsccc \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsccc filename.ts '
+Tsccc check continuity counter errors and warnings
diff --git a/multimedia/opencaster/man/tscrypt.1 b/multimedia/opencaster/man/tscrypt.1
new file mode 100644
index 0000000000..56b859242a
--- /dev/null
+++ b/multimedia/opencaster/man/tscrypt.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tscrypt "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tscrypt \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tscrypt input.ts file.cw > crypted.ts
+file.cw is 16 byte, 8 bytes of even word and 8 bytes of odd word
diff --git a/multimedia/opencaster/man/tsdiscont.1 b/multimedia/opencaster/man/tsdiscont.1
new file mode 100644
index 0000000000..caf9332bf0
--- /dev/null
+++ b/multimedia/opencaster/man/tsdiscont.1
@@ -0,0 +1,10 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsdiscont "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsdiscont \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsdiscont inputfile.ts > outputfile.ts
+N.B: this tool will check for and fix discontinuity problems
+If discontinuity is found on packet without pcr it is set to 0
+If discontinuity is not found on first pcr packet it is set to 1
+
diff --git a/multimedia/opencaster/man/tsdoubleoutput.1 b/multimedia/opencaster/man/tsdoubleoutput.1
new file mode 100644
index 0000000000..25f46c51b1
--- /dev/null
+++ b/multimedia/opencaster/man/tsdoubleoutput.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsdoubleoutput "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsdoubleoutput \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsdoubleoutput inputfile.ts outputfile1.ts outputfile2.ts'
+N.B. files must exist, touch them if needed'
diff --git a/multimedia/opencaster/man/tsfilter.1 b/multimedia/opencaster/man/tsfilter.1
new file mode 100644
index 0000000000..8010856f69
--- /dev/null
+++ b/multimedia/opencaster/man/tsfilter.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsfilter "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsfilter \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsfilter filename.ts +pid1 +pid2 ... +pidn [buffer_size_in_packets]'
++pid keeps 'pid' packets
diff --git a/multimedia/opencaster/man/tsfixcc.1 b/multimedia/opencaster/man/tsfixcc.1
new file mode 100644
index 0000000000..79e84ca735
--- /dev/null
+++ b/multimedia/opencaster/man/tsfixcc.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsfixcc "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsfixcc \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsfixcc filename.ts > filenamefixed.ts'
+Tsfixcc increases countinuity counter of every packet following each other without adapatation field parsing'
+Useful to link ts of sections in a single ts'
diff --git a/multimedia/opencaster/man/tsinputswitch.1 b/multimedia/opencaster/man/tsinputswitch.1
new file mode 100644
index 0000000000..09ed9566fa
--- /dev/null
+++ b/multimedia/opencaster/man/tsinputswitch.1
@@ -0,0 +1,11 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsinputswitch "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsinputswitch \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsinputswitch inputfile1.ts inputfile2.ts port default'
+0 output from inputfile1, read and discard input from inputfile2
+1 output from inputfile2, read and discard input from inputfil1
+2 output from inputfile1, stop reading input from inputfile2
+3 output from inputfile2, stop reading input from inputfile1
+Default: 0
diff --git a/multimedia/opencaster/man/tsloop.1 b/multimedia/opencaster/man/tsloop.1
new file mode 100644
index 0000000000..07e836101f
--- /dev/null
+++ b/multimedia/opencaster/man/tsloop.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsloop "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsloop \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsloop filename1.ts filename2.ts ... filenameN.ts'
diff --git a/multimedia/opencaster/man/tsmask.1 b/multimedia/opencaster/man/tsmask.1
new file mode 100644
index 0000000000..9ca508aca3
--- /dev/null
+++ b/multimedia/opencaster/man/tsmask.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsmask "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsmask \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsmask filename.ts \-pid1 \-pid2 ... \-pidn [buffer_size_in_packets]'
+\-pid removes 'pid' packets
diff --git a/multimedia/opencaster/man/tsmodder.1 b/multimedia/opencaster/man/tsmodder.1
new file mode 100644
index 0000000000..610b62cb22
--- /dev/null
+++ b/multimedia/opencaster/man/tsmodder.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsmodder "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsmodder \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsmodder input.ts [b:buffer_size] +0 pat.ts +pid pmt.ts +pid nit.ts ...
+parameter ' +pid file.ts' change the packets with 'pid' with the packets from the file.ts
+b:buffer_size' set size of the internal buffer to many packets as buffer_size
diff --git a/multimedia/opencaster/man/tsnullfiller.1 b/multimedia/opencaster/man/tsnullfiller.1
new file mode 100644
index 0000000000..d63d391f06
--- /dev/null
+++ b/multimedia/opencaster/man/tsnullfiller.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsnullfiller "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsnullfiller \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsnullfiller input.ts output_bit/s input_bit/s [packet_buffer]'
+adds empty packets to input.ts to reach output_bit/s
diff --git a/multimedia/opencaster/man/tsnullshaper.1 b/multimedia/opencaster/man/tsnullshaper.1
new file mode 100644
index 0000000000..e52ec86150
--- /dev/null
+++ b/multimedia/opencaster/man/tsnullshaper.1
@@ -0,0 +1,12 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsnullshaper "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsnullshaper \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsnullshaper input.ts [b:packets_buffer] +file1.ts +file2.ts +file3.ts ... t:1000 filex.ts ... s: ip.ts
+parameter '+file.ts' replace null packets from input.ts with packets from another file.ts
+ 't:m_secs file.ts' replace a null packet from input.ts with a packet from file.ts every m_secs milliseconds of REAL TIME, this packet has priority on +file.ts packets
+ 's:file.ts' try to read from the file.ts, if fails move to next
+ 'b:packets_buffer' sets how many packets to use for buffering
+It was chosen to use REAL TIME instead of PCR LOGICAL TIME so it was possibile to manage TS without PCR
+This suits anyway PSI insertion case that is not so time strict
diff --git a/multimedia/opencaster/man/tsororts.1 b/multimedia/opencaster/man/tsororts.1
new file mode 100644
index 0000000000..b072c39f04
--- /dev/null
+++ b/multimedia/opencaster/man/tsororts.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsororts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsororts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsororts inputfile1.ts inputfile2.ts inputfile3.ts > output.ts'
+ts packets are read from inputfile3.ts if they are not immediatly available from inputfile1.ts or inputfile2.ts'
diff --git a/multimedia/opencaster/man/tsorts.1 b/multimedia/opencaster/man/tsorts.1
new file mode 100644
index 0000000000..2bd8a781bb
--- /dev/null
+++ b/multimedia/opencaster/man/tsorts.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsorts "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsorts \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsorts inputfile1.ts inputfile2.ts > output.ts'
+ts packets are read from inputfile2.ts if they are not immediatly available from inputfile1.ts'
diff --git a/multimedia/opencaster/man/tsoutputswitch.1 b/multimedia/opencaster/man/tsoutputswitch.1
new file mode 100644
index 0000000000..291fd39feb
--- /dev/null
+++ b/multimedia/opencaster/man/tsoutputswitch.1
@@ -0,0 +1,11 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsoutputswitch "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsoutputswitch \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsoutputswitch inputfile.ts outputfile1.ts outputfile2.ts port'
+0 output on outputfile1
+1 output on outputfile2
+2 output on both
+N.B. if they are not fifo the file size will increase
+Default is 0
diff --git a/multimedia/opencaster/man/tspcrmeasure.1 b/multimedia/opencaster/man/tspcrmeasure.1
new file mode 100644
index 0000000000..6963d330fc
--- /dev/null
+++ b/multimedia/opencaster/man/tspcrmeasure.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tspcrmeasure "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tspcrmeasure \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tspcrmeasure input.ts expected_bit/s'
diff --git a/multimedia/opencaster/man/tspcrrestamp.1 b/multimedia/opencaster/man/tspcrrestamp.1
new file mode 100644
index 0000000000..f212cbd6cc
--- /dev/null
+++ b/multimedia/opencaster/man/tspcrrestamp.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tspcrrestamp "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tspcrrestamp \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tspcrrestamp input.ts transport_rate_bit/s pes_pid1 pcr_pid1 pes_pid2 pcr_pid2 [...] pes_pidn pcr_pidn
+N.B: this tool will change the pcr values taking as reference the first pcr seenIf pts/dts time in a given pes_pid goes backward the pcr in the reference pid is reset too \ No newline at end of file
diff --git a/multimedia/opencaster/man/tspcrstamp.1 b/multimedia/opencaster/man/tspcrstamp.1
new file mode 100644
index 0000000000..9475dee94c
--- /dev/null
+++ b/multimedia/opencaster/man/tspcrstamp.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tspcrstamp "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tspcrstamp \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tspcrstamp input.ts transport_rate_bit/s
+N.B: this tool will change the pcr values to fix jitter after multiplexing
diff --git a/multimedia/opencaster/man/tspidmapper.1 b/multimedia/opencaster/man/tspidmapper.1
new file mode 100644
index 0000000000..a0f76fe87d
--- /dev/null
+++ b/multimedia/opencaster/man/tspidmapper.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tspidmapper "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tspidmapper \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tspidmapper input.ts [b:buffer_size_in_packets] PID1 to PID2 and PID3 to PID4 and ... '
diff --git a/multimedia/opencaster/man/tsprinter.1 b/multimedia/opencaster/man/tsprinter.1
new file mode 100644
index 0000000000..041f981383
--- /dev/null
+++ b/multimedia/opencaster/man/tsprinter.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsprinter "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsprinter \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsprinter file.ts, need to be executed root
+WARNING: outputs a transport stream over a pc parallel port pins
+WARNING: cpu goes 100 percentage usage, ts packet jitter is high so use only for data and on dual core
diff --git a/multimedia/opencaster/man/tsstamp.1 b/multimedia/opencaster/man/tsstamp.1
new file mode 100644
index 0000000000..9424cdc4cb
--- /dev/null
+++ b/multimedia/opencaster/man/tsstamp.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsstamp "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsstamp \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsstamp input.ts transport_rate_bit/s
+N.B: this tool will change the pcr/pts/dts values to fix loop conditions and jitter after multiplexing
diff --git a/multimedia/opencaster/man/tstcpreceive.1 b/multimedia/opencaster/man/tstcpreceive.1
new file mode 100644
index 0000000000..0ce4e18bf1
--- /dev/null
+++ b/multimedia/opencaster/man/tstcpreceive.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tstcpreceive "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tstcpreceive \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tstcpreceive port
diff --git a/multimedia/opencaster/man/tstcpsend.1 b/multimedia/opencaster/man/tstcpsend.1
new file mode 100644
index 0000000000..a110b08617
--- /dev/null
+++ b/multimedia/opencaster/man/tstcpsend.1
@@ -0,0 +1,9 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tstcpsend "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tstcpsend \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tstcpsend file.ts ipaddr port bitrate [ts_packet_per_ip_packet]
+ts_packet_per_ip_packet default is 7
+bit rate refers to transport stream bit rate
+zero bitrate is 100.000.000 bps
diff --git a/multimedia/opencaster/man/tstdt.1 b/multimedia/opencaster/man/tstdt.1
new file mode 100644
index 0000000000..ec0745baa1
--- /dev/null
+++ b/multimedia/opencaster/man/tstdt.1
@@ -0,0 +1,9 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tstdt "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tstdt \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tstdt input.ts [b:buffer_size] [t:start_time_stamp]
+ replace tdt packet with another tdt packe of the current time
+ b:buffer_size set size of the internal buffer to many packets as buffer_size
+ t:start_time_stamp' start the generated time from this GM timestamp for replay purposes
diff --git a/multimedia/opencaster/man/tstimedwrite.1 b/multimedia/opencaster/man/tstimedwrite.1
new file mode 100644
index 0000000000..27c87586a8
--- /dev/null
+++ b/multimedia/opencaster/man/tstimedwrite.1
@@ -0,0 +1,7 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tstimedwrite "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tstimedwrite \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tstimedwrite file.ts bitrate > output.ts
+zero bitrate is set to default 100.000.000 bps
diff --git a/multimedia/opencaster/man/tstimeout.1 b/multimedia/opencaster/man/tstimeout.1
new file mode 100644
index 0000000000..9cb66ab93c
--- /dev/null
+++ b/multimedia/opencaster/man/tstimeout.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tstimeout "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tstimeout \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tstimeout inputfile.ts backupfile.ts timeout_in_ms'
diff --git a/multimedia/opencaster/man/tsudpreceive.1 b/multimedia/opencaster/man/tsudpreceive.1
new file mode 100644
index 0000000000..77972b8bc2
--- /dev/null
+++ b/multimedia/opencaster/man/tsudpreceive.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsudpreceive "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsudpreceive \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: tsudpreceive ip_addr port > output.ts
diff --git a/multimedia/opencaster/man/tsudpsend.1 b/multimedia/opencaster/man/tsudpsend.1
new file mode 100644
index 0000000000..0f1f723348
--- /dev/null
+++ b/multimedia/opencaster/man/tsudpsend.1
@@ -0,0 +1,9 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsudpsend "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsudpsend \- tool from openCaster suite
+.SH DESCRIPTION
+sage: tsudpsend file.ts ipaddr port bitrate [ts_packet_per_ip_packet] [udp_packet_ttl]
+ts_packet_per_ip_packet default is 7
+bit rate refers to transport stream bit rate
+zero bitrate is 100.000.000 bps
diff --git a/multimedia/opencaster/man/tsvbr2cbr.1 b/multimedia/opencaster/man/tsvbr2cbr.1
new file mode 100644
index 0000000000..4c042757fe
--- /dev/null
+++ b/multimedia/opencaster/man/tsvbr2cbr.1
@@ -0,0 +1,8 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH tsvbr2cbr "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+tsvbr2cbr \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'tsvbcr2cbr input.ts output_bit/s'
+adds empty packets to input.ts to reach uniform output_bit/s, it needs to read head a pcr to guess bit rate
+input.ts should be a single program transport stream with only a video elementary stream and valid pcrs
diff --git a/multimedia/opencaster/man/txt2pes.1 b/multimedia/opencaster/man/txt2pes.1
new file mode 100644
index 0000000000..702ae8f838
--- /dev/null
+++ b/multimedia/opencaster/man/txt2pes.1
@@ -0,0 +1,9 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH txt2pes "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+txt2pes \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'txt2pes txt.es txt_units_per_pes_packet [pts_offset [pts_increment]] > pes'
+txt_unit_per_pes_packet increase bit rate, minimum is 1, max is 24
+Default pts_offset and increment is 3600, means 2 fields or 1 frame
+txt.es is 46 byte units of ebu teletext coding
diff --git a/multimedia/opencaster/man/vbv.1 b/multimedia/opencaster/man/vbv.1
new file mode 100644
index 0000000000..dfdec1a406
--- /dev/null
+++ b/multimedia/opencaster/man/vbv.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was automatically generated
+.TH vbv "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+vbv \- tool from openCaster suite
+.SH DESCRIPTION
+Usage: 'vbv videofile.es'
diff --git a/multimedia/opencaster/man/zpipe.1 b/multimedia/opencaster/man/zpipe.1
new file mode 100644
index 0000000000..7d3ed0c56c
--- /dev/null
+++ b/multimedia/opencaster/man/zpipe.1
@@ -0,0 +1,6 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3.
+.TH ZPIPE "1" "August 2013" "automatically made for Debian" "User Commands"
+.SH NAME
+zpipe \- tool from openCaster suite
+.SH DESCRIPTION
+zpipe usage: zpipe [\-d] < source > dest
diff --git a/multimedia/opencaster/opencaster.SlackBuild b/multimedia/opencaster/opencaster.SlackBuild
new file mode 100644
index 0000000000..167c2b31b1
--- /dev/null
+++ b/multimedia/opencaster/opencaster.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/sh
+
+# Slackware build script for opencaster
+
+# Copyright 2017 Mario Preksavec, Zagreb, Croatia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=opencaster
+VERSION=${VERSION:-3.2.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_${VERSION}+dfsg.orig.tar.gz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/OpenCaster-tutorials.$VERSION.tgz
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Thanks debian ;-)
+patch -p1 <$CWD/patches/tscrypt.patch
+patch -p1 <$CWD/patches/path.patch
+patch -p1 <$CWD/patches/interface.patch
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+mkdir -p $PKG/usr/bin
+make install DESTDIR=$PKG/usr/bin
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Thanks debian ;-)
+mkdir -p $PKG/usr/man
+cp -r $CWD/man $PKG/usr/man/man1
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a OpenCaster-tutorials.$VERSION/{tutorials,extra} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a OpenCaster-tutorials.$VERSION/README $PKG/usr/doc/$PRGNAM-$VERSION/README.tutorials
+cp -a CHANGES README $PKG/usr/doc/$PRGNAM-$VERSION
+cp $CWD/AvalpaBroadcastServerUserManual-v3.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a OpenCaster-tutorials.$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/opencaster/opencaster.info b/multimedia/opencaster/opencaster.info
new file mode 100644
index 0000000000..217244d642
--- /dev/null
+++ b/multimedia/opencaster/opencaster.info
@@ -0,0 +1,14 @@
+PRGNAM="opencaster"
+VERSION="3.2.2"
+HOMEPAGE="http://www.avalpa.com/the-key-values/15-free-software/33-opencaster"
+DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/o/opencaster/opencaster_3.2.2+dfsg.orig.tar.gz \
+ http://www.avalpa.com/assets/freesoft/opencaster/OpenCaster-tutorials.3.2.2.tgz \
+ http://www.avalpa.com/assets/freesoft/opencaster/AvalpaBroadcastServerUserManual-v3.0.pdf"
+MD5SUM="8b2dd086449e117470edaa466d8fced4 \
+ ccb37310ea67ead890d48d7a7fa37744 \
+ d5e277c6a50e708e8b8ff5dedba4174f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libdvbcsa"
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/multimedia/opencaster/patches/interface.patch b/multimedia/opencaster/patches/interface.patch
new file mode 100644
index 0000000000..b8dbb879bf
--- /dev/null
+++ b/multimedia/opencaster/patches/interface.patch
@@ -0,0 +1,14 @@
+Author: Thorsten Alteholz <debian@alteholz.de>
+Index: opencaster-3.2.2/tools/mpe2sec/mpe.c
+===================================================================
+--- opencaster-3.2.2.orig/tools/mpe2sec/mpe.c 2013-11-06 15:13:24.000000000 +0100
++++ opencaster-3.2.2/tools/mpe2sec/mpe.c 2013-11-06 15:13:48.000000000 +0100
+@@ -12,8 +12,6 @@
+ #include <sys/socket.h>
+ #include <net/if.h>
+
+-#include <net/if_tun.h>
+-
+ #include "sectioncrc.h"
+
+ /* pre 2.4.6 compatibility */
diff --git a/multimedia/opencaster/patches/path.patch b/multimedia/opencaster/patches/path.patch
new file mode 100644
index 0000000000..c2ada77f71
--- /dev/null
+++ b/multimedia/opencaster/patches/path.patch
@@ -0,0 +1,51 @@
+Author: Thorsten Alteholz <debian@alteholz.de>
+Description: choose correct path for Debian installation
+Index: opencaster/tools/oc2sec/oc-update.sh
+===================================================================
+--- opencaster.orig/tools/oc2sec/oc-update.sh 2013-08-20 12:31:50.000000000 +0200
++++ opencaster/tools/oc2sec/oc-update.sh 2013-08-23 14:34:13.000000000 +0200
+@@ -74,7 +74,7 @@
+ TEMP_DIR_SEC=`/bin/mktemp -d`
+
+ #Generate the modules from the directory, the modules are stored into a tmp directory TEMP_DIR_MOD
+-/usr/local/bin/file2mod.py $OCDIR $TEMP_DIR_MOD $CAROUSEL_ID $CAROUSEL_ID $ASSOCIATION_TAG $MODULE_VERSION $BLOCK_SIZE $UPDATE_FLAG $COMPRESS_MODE
++/usr/bin/file2mod.py $OCDIR $TEMP_DIR_MOD $CAROUSEL_ID $CAROUSEL_ID $ASSOCIATION_TAG $MODULE_VERSION $BLOCK_SIZE $UPDATE_FLAG $COMPRESS_MODE
+
+ #Compress all modules
+ if [ "$COMPRESS_MODE" = "1" ]
+@@ -82,7 +82,7 @@
+ for file in $TEMP_DIR_MOD/*.mod
+ do
+ /usr/bin/du --apparent-size --block-size 1 $file > $file.size
+- /usr/local/bin/zpipe < $file > $file.z
++ /usr/bin/zpipe < $file > $file.z
+ /bin/mv $file.z $file
+ done
+ fi
+@@ -95,7 +95,7 @@
+ if [ ! -f $file.solo ]
+ then
+ /usr/bin/du --apparent-size --block-size 1 $file > $file.size
+- /usr/local/bin/zpipe < $file > $file.z
++ /usr/bin/zpipe < $file > $file.z
+ /bin/mv $file.z $file
+ else
+ /bin/rm $file.solo
+@@ -104,7 +104,7 @@
+ fi
+
+ #Generate sections from modules, the sections are stored into a tmp directory TEMP_DIR_SEC
+-/usr/local/bin/mod2sec.py $TEMP_DIR_MOD $TEMP_DIR_SEC
++/usr/bin/mod2sec.py $TEMP_DIR_MOD $TEMP_DIR_SEC
+
+ # Check if it is necessary to pad every sections or not, unluckly we have found some decoders having buggy section filtering that needed this
+ if [ "$PAD_ON" = "1" ]
+@@ -134,7 +134,7 @@
+ /bin/cat $TEMP_DIR_SEC/0001_000000.sec >> $TEMP_DIR_SEC/temp_sec # SGW is 1 section of module id 1
+ fi
+ done
+- /usr/local/bin/sec2ts $PID < $TEMP_DIR_SEC/temp_sec > $OCDIR.ts
++ /usr/bin/sec2ts $PID < $TEMP_DIR_SEC/temp_sec > $OCDIR.ts
+ fi
+
+ # Delete temp files
diff --git a/multimedia/opencaster/patches/tscrypt.patch b/multimedia/opencaster/patches/tscrypt.patch
new file mode 100644
index 0000000000..f3c101660e
--- /dev/null
+++ b/multimedia/opencaster/patches/tscrypt.patch
@@ -0,0 +1,16 @@
+Author: Thorsten Alteholz <debian@alteholz.de>
+Description: add tscrypt tool
+Index: opencaster-3.2.1/tools/Makefile
+===================================================================
+--- opencaster-3.2.1.orig/tools/Makefile 2013-09-23 19:18:44.000000000 +0200
++++ opencaster-3.2.1/tools/Makefile 2013-09-23 19:19:08.000000000 +0200
+@@ -10,7 +10,8 @@
+ tsoutputswitch tsccc txt2pes ts2sec \
+ pesdata2ts tsmask tsorts tsororts tspcrrestamp \
+ eitsecfilter eitsecmapper m2ts2cbrts \
+- ts2m2ts tsdiscont eitsecactualtoanother
++ ts2m2ts tsdiscont eitsecactualtoanother \
++ tscrypt
+
+ subdirs: $(SUBDIRS)
+ $(SUBDIRS):
diff --git a/multimedia/opencaster/slack-desc b/multimedia/opencaster/slack-desc
new file mode 100644
index 0000000000..7b4f5253ea
--- /dev/null
+++ b/multimedia/opencaster/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+opencaster: opencaster (MPEG-TS stream data generator and packet manipulator)
+opencaster:
+opencaster: OpenCaster is a collection of tools for Linux system to play out and
+opencaster: multiplex MPEG2 transport stream format.
+opencaster:
+opencaster: Homepage:
+opencaster: http://www.avalpa.com/the-key-values/15-free-software/33-opencaster
+opencaster:
+opencaster:
+opencaster:
+opencaster: