--- tstools-1.11.orig/Makefile +++ tstools-1.11/Makefile @@ -51,7 +51,7 @@ ifdef NOOPT OPTIMISE_FLAGS = -g else -OPTIMISE_FLAGS = -O2 -g +OPTIMISE_FLAGS = -O2 -g -fPIC endif # Use PROFILE=1 to allow use of gprof (but this is *not* needed for valgrind) --- tstools-1.11.orig/debian/pcapreport.1 +++ tstools-1.11/debian/pcapreport.1 @@ -0,0 +1,79 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PCAPREPORT: "1" "November 2008" "pcapreport 1.11" "User Commands" +.SH NAME +pcapreport \- Report on network captures +.SH SYNOPSIS +.B pcapreport +[\fIswitches\fR] \fI\fR [\fIswitches\fR] +.SH DESCRIPTION +.IP +TS tools version 1.11, pcap built Nov 11 2008 17:15:51 +.IP +Report on a pcap capture file. +.TP +\fB\-o\fR +Dump selected UDP payloads to the named output file. +.TP +\fB\-d\fR : +Select data with the given destination IP and port. +.TP +\fB\-\-dump\-data\fR | \fB\-D\fR +Dump any data in the input file to stdout. +.TP +\fB\-\-extra\-dump\fR | \fB\-e\fR +Dump only data which isn't being sent to the \fB\-o\fR file. +.TP +\fB\-\-times\fR | \fB\-t\fR +Report on PCR vs PCAP timing for the destination specified in \fB\-d\fR. +.TP +\fB\-\-verbose\fR | \fB\-v\fR +Output metadata about every packet. +.TP +\fB\-\-skew\-discontinuity\-threshold\fR +Gives the skew discontinuity threshold in 90kHz units. +.IP +Specifying 0.0.0.0 for destination IP or 0 for destination port will capture all +hosts and ports respectively. +.IP +Network packet and TS packet numbers start at 0. +.IP +Positive skew means that we received too low a PCR for this timestamp. +.IP +TS tools version 1.11, pcap built Nov 11 2008 17:15:51 +.IP +Report on a pcap capture file. +.TP +\fB\-o\fR +Dump selected UDP payloads to the named output file. +.TP +\fB\-d\fR : +Select data with the given destination IP and port. +.TP +\fB\-\-dump\-data\fR | \fB\-D\fR +Dump any data in the input file to stdout. +.TP +\fB\-\-extra\-dump\fR | \fB\-e\fR +Dump only data which isn't being sent to the \fB\-o\fR file. +.TP +\fB\-\-times\fR | \fB\-t\fR +Report on PCR vs PCAP timing for the destination specified in \fB\-d\fR. +.TP +\fB\-\-verbose\fR | \fB\-v\fR +Output metadata about every packet. +.TP +\fB\-\-skew\-discontinuity\-threshold\fR +Gives the skew discontinuity threshold in 90kHz units. +.IP +Specifying 0.0.0.0 for destination IP or 0 for destination port will capture all +hosts and ports respectively. +.IP +Network packet and TS packet numbers start at 0. +.IP +Positive skew means that we received too low a PCR for this timestamp. +.SH "SEE ALSO" +The full documentation for +.B pcapreport +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/control +++ tstools-1.11/debian/control @@ -0,0 +1,29 @@ +Source: tstools +Section: utils +Priority: optional +Maintainer: Lorenzo Granai +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.0 +Homepage: http://tstools.berlios.de + +Package: tstools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: set of tools for reporting on and manipulating MPEG data + TStools is a set of cross-platform command line tools for working with MPEG + data. + . + The emphasis is on relatively simple tools which concentrate on MPEG (H.264 + and H.262) data packaged according to H.222 (i.e., TS or PS), with a particular + interest in checking for conformance. + . + Transport Stream (TS) is typically used for distribution of cable and + satellite data. Program Stream (PS) is typically used to store data on DVDs. + . + The tools are focussed on: + * Quick reporting of useful data (tsinfo, stream_type) + * Giving a quick overview of the entities in the stream (esdots, psdots) + * Reporting on TS packets (tsreport) or ES units/frames/fields (esreport) + * Simple manipulation of stream data (es2ts, esfilter, esreverse, esmerge, + ts2es) + * Streaming of data, possibly with introduced errors (tsplay) --- tstools-1.11.orig/debian/ps2ts.1 +++ tstools-1.11/debian/ps2ts.1 @@ -0,0 +1,303 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PS2TS "1" "November 2008" "ps2ts 1.11" "User Commands" +.SH NAME +ps2ts \- Convert an H.222 program stream to H.222 transport stream +.SH SYNOPSIS +.B ps2ts +[\fIswitches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, ps2ts built Nov 11 2008 17:15:47 +.IP +Convert an H.222 program stream to H.222 transport stream. +.IP +This program does not make use of any Program Stream Map packets +in the data (mainly because I have yet to see data with any). This +means that the program has to determine the stream type of the data +based on the first few ES units. +.IP +This program does not output more than one video and one audio +stream. If the program stream data contains more than one of each, +the first will be used, and the others ignored (with a message +indicating this). +.IP +It is assumed that the video stream will contain DTS values in its +PES packets at reasonable intervals, which can be used as PCR values +in the transport stream, and thus the video stream's PID can be used +as the PCR PID in the transport stream. +.SS "Files:" +.TP + +is a file containing the program stream data +(but see \fB\-stdin\fR below) +.TP + +is an transport stream file +(but see \fB\-stdout\fR and \fB\-host\fR below) +.SS "Input switches:" +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-dvd\fR +The PS data is from a DVD. This is the default. +This switch has no effect on MPEG\-1 PS data. +.TP +\fB\-notdvd\fR, \fB\-nodvd\fR +The PS data is not from a DVD. +The DVD specification stores AC\-3 (Dolby), DTS and +other audio in a specialised manner in private_stream_1. +.TP +\fB\-vstream\fR +Take video from video stream (0..7). +The default is the first video stream found. +.TP +\fB\-astream\fR +Take audio from audio stream (0..31). +The default is the first audio stream found +(this includes private_stream_1 on non\-DVD streams). +.TP +\fB\-ac3stream\fR +Take audio from AC3 substream (0..7), from +private_stream_1. This implies \fB\-dvd\fR. +(If audio is being taken from a substream, the user +is assumed to have determined which one is wanted, +e.g., using psreport) +.SS "Output switches:" +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. +.TP +\fB\-vpid\fR + is the video PID to use for the data. +Use '\-vpid 0x' to specify a hex value. +Defaults to 0x68. +.TP +\fB\-apid\fR + is the audio PID to use for the data. +Use '\-apid 0x' to specify a hex value. +Defaults to 0x67. +.TP +\fB\-noaudio\fR +Don't output the audio data +.TP +\fB\-pmt\fR + is the PMT PID to use. +Use '\-pmt 0x' to specify a hex value. +Defaults to 0x66 +.TP +\fB\-prepeat\fR +Output the program data (PAT/PMT) after every +PS packs. Defaults to 100. +.TP +\fB\-pad\fR +Pad the start with filler TS packets, to allow +a TS reader to synchronize with the datastream. +Defaults to 8. +.SS "General switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Print a 'v' for each video packet and an 'a' for +each audio packet, as it is read +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packs to read +.SS "Stream type:" +.IP +When the TS data is being output, it is flagged to indicate whether +it conforms to H.262, H.264, etc. It is important to get this right, as +it will affect interpretation of the TS data. +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-mp42\fR +Force the program to treat the input as MPEG\-4/Part 2. +.TP +\fB\-vtype\fR +Force the program to treat the input as video of +stream type (e.g., 0x42 means AVS video). It is +up to the user to specify a valid . +.IP +If the audio stream being output is Dolby (AC\-3), then the stream type +used to output it differs for DVB (European) and ATSC (USA) data. It +may be specified as follows: +.TP +\fB\-dolby\fR dvb +Use stream type 0x06 (the default) +.TP +\fB\-dolby\fR atsc +Use stream type 0x81 +.IP +TS tools version 1.11, ps2ts built Nov 11 2008 17:15:47 +.IP +Convert an H.222 program stream to H.222 transport stream. +.IP +This program does not make use of any Program Stream Map packets +in the data (mainly because I have yet to see data with any). This +means that the program has to determine the stream type of the data +based on the first few ES units. +.IP +This program does not output more than one video and one audio +stream. If the program stream data contains more than one of each, +the first will be used, and the others ignored (with a message +indicating this). +.IP +It is assumed that the video stream will contain DTS values in its +PES packets at reasonable intervals, which can be used as PCR values +in the transport stream, and thus the video stream's PID can be used +as the PCR PID in the transport stream. +.SS "Files:" +.TP + +is a file containing the program stream data +(but see \fB\-stdin\fR below) +.TP + +is an transport stream file +(but see \fB\-stdout\fR and \fB\-host\fR below) +.SS "Input switches:" +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-dvd\fR +The PS data is from a DVD. This is the default. +This switch has no effect on MPEG\-1 PS data. +.TP +\fB\-notdvd\fR, \fB\-nodvd\fR +The PS data is not from a DVD. +The DVD specification stores AC\-3 (Dolby), DTS and +other audio in a specialised manner in private_stream_1. +.TP +\fB\-vstream\fR +Take video from video stream (0..7). +The default is the first video stream found. +.TP +\fB\-astream\fR +Take audio from audio stream (0..31). +The default is the first audio stream found +(this includes private_stream_1 on non\-DVD streams). +.TP +\fB\-ac3stream\fR +Take audio from AC3 substream (0..7), from +private_stream_1. This implies \fB\-dvd\fR. +(If audio is being taken from a substream, the user +is assumed to have determined which one is wanted, +e.g., using psreport) +.SS "Output switches:" +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. +.TP +\fB\-vpid\fR + is the video PID to use for the data. +Use '\-vpid 0x' to specify a hex value. +Defaults to 0x68. +.TP +\fB\-apid\fR + is the audio PID to use for the data. +Use '\-apid 0x' to specify a hex value. +Defaults to 0x67. +.TP +\fB\-noaudio\fR +Don't output the audio data +.TP +\fB\-pmt\fR + is the PMT PID to use. +Use '\-pmt 0x' to specify a hex value. +Defaults to 0x66 +.TP +\fB\-prepeat\fR +Output the program data (PAT/PMT) after every +PS packs. Defaults to 100. +.TP +\fB\-pad\fR +Pad the start with filler TS packets, to allow +a TS reader to synchronize with the datastream. +Defaults to 8. +.SS "General switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Print a 'v' for each video packet and an 'a' for +each audio packet, as it is read +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packs to read +.SS "Stream type:" +.IP +When the TS data is being output, it is flagged to indicate whether +it conforms to H.262, H.264, etc. It is important to get this right, as +it will affect interpretation of the TS data. +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-mp42\fR +Force the program to treat the input as MPEG\-4/Part 2. +.TP +\fB\-vtype\fR +Force the program to treat the input as video of +stream type (e.g., 0x42 means AVS video). It is +up to the user to specify a valid . +.IP +If the audio stream being output is Dolby (AC\-3), then the stream type +used to output it differs for DVB (European) and ATSC (USA) data. It +may be specified as follows: +.TP +\fB\-dolby\fR dvb +Use stream type 0x06 (the default) +.TP +\fB\-dolby\fR atsc +Use stream type 0x81 +.SH "SEE ALSO" +The full documentation for +.B ps2ts +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/docs +++ tstools-1.11/debian/docs @@ -0,0 +1,6 @@ +docs/ac3.txt +docs/adts.txt +docs/index.txt +docs/library.txt +docs/todo.txt +docs/tools.txt --- tstools-1.11.orig/debian/compat +++ tstools-1.11/debian/compat @@ -0,0 +1 @@ +7 --- tstools-1.11.orig/debian/stream_type.1 +++ tstools-1.11/debian/stream_type.1 @@ -0,0 +1,105 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH STREAM_TYPE "1" "November 2008" "stream_type 1.11" "User Commands" +.SH NAME +stream_type \- attempt to determine if an input stream is TS, PS, or ES +.SH SYNOPSIS +.B stream_type +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, stream_type built Nov 11 2008 17:15:48 +.IP +Attempt to determine if an input stream is Transport Stream, +Program Stream, or Elementary Stream, and if the latter, if it +is H.262 or H.264 (i.e., MPEG\-2 or MPEG\-4/AVC respectively). +The mechanisms used are fairly crude, assuming that: +\- data is byte aligned +\- for TS, the first byte in the file will be the start of a NAL unit, +.IP +and PAT/PMT packets will be findable +.IP +\- for PS, the first packet starts immediately at the start of the +.IP +file, and is a pack header +.IP +\- if the first 1000 packets could be H.262 *or* H.264, then the data +.IP +is assumed to be H.264 (the program doesn't try to determine +sensible sequences of H.262/H.264 packets, so this is a reasonable +way of guessing) +.IP +It is quite possible that data which is not relevant will be +misidentified +.IP +The program exit value is: +* 10 if it detects Transport Stream, +* 11 if it detects Program Stream, +* 12 if it detects Elementary Stream containing H.262 (MPEG\-2), +* 14 if it detects Elementary Stream containing H.264 (MPEG\-4/AVC), +* 5 if it looks like it might be PES, +* 9 if it really cannot decide, or +* 0 if some error occurred +.SS "Files:" +.TP + +is the file to analyse +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output more detailed information about how it is +making its decision +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.IP +TS tools version 1.11, stream_type built Nov 11 2008 17:15:48 +.IP +Attempt to determine if an input stream is Transport Stream, +Program Stream, or Elementary Stream, and if the latter, if it +is H.262 or H.264 (i.e., MPEG\-2 or MPEG\-4/AVC respectively). +The mechanisms used are fairly crude, assuming that: +\- data is byte aligned +\- for TS, the first byte in the file will be the start of a NAL unit, +.IP +and PAT/PMT packets will be findable +.IP +\- for PS, the first packet starts immediately at the start of the +.IP +file, and is a pack header +.IP +\- if the first 1000 packets could be H.262 *or* H.264, then the data +.IP +is assumed to be H.264 (the program doesn't try to determine +sensible sequences of H.262/H.264 packets, so this is a reasonable +way of guessing) +.IP +It is quite possible that data which is not relevant will be +misidentified +.IP +The program exit value is: +* 10 if it detects Transport Stream, +* 11 if it detects Program Stream, +* 12 if it detects Elementary Stream containing H.262 (MPEG\-2), +* 14 if it detects Elementary Stream containing H.264 (MPEG\-4/AVC), +* 5 if it looks like it might be PES, +* 9 if it really cannot decide, or +* 0 if some error occurred +.SS "Files:" +.TP + +is the file to analyse +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output more detailed information about how it is +making its decision +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.SH "SEE ALSO" +The full documentation for +.B stream_type +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/changelog +++ tstools-1.11/debian/changelog @@ -0,0 +1,5 @@ +tstools (1.11-1) unstable; urgency=low + + * Initial release (Closes: #505304) + + -- Lorenzo Granai Tue, 11 Nov 2008 15:47:39 +0000 --- tstools-1.11.orig/debian/esreport.1 +++ tstools-1.11/debian/esreport.1 @@ -0,0 +1,185 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ESREPORT: "1" "November 2008" "esreport 1.11" "User Commands" +.SH NAME +esreport \- Report the content of a video ES +.SH SYNOPSIS +.B esreport +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, esreport built Nov 11 2008 17:15:46 +.IP +Report on the content of an elementary stream containing H.264 +(MPEG\-4/AVC), H.262 (MPEG\-2) or AVS video data. +.SS "Files:" +.TP + +is the Elementary Stream file (but see \fB\-stdin\fR below) +.SS "What to report:" +.IP +The default is to report on H.262 items, AVS frames or H.264 NAL units. +Other choices are: +.TP +\fB\-frames\fR +Report by frames. The default for AVS. +.TP +\fB\-findfields\fR +Report on any fields in the data. Ignored for AVS. +.TP +\fB\-afd\fR +Report (just) on AFD changes in H.262. Ignored for the +other types of file. +.TP +\fB\-es\fR +Report on ES units. +.IP +Reporting on frames may be modified by: +.TP +\fB\-framesize\fR +Report on the sizes of frames (mean, etc.). +.TP +\fB\-frametype\fR +Report on the numbers of different type of frame. +.IP +(in fact, both of these imply \fB\-frame\fR). +.SS "Other switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +For H.262 data, output information about the data +in each MPEG\-2 item. For ES units, output information +about the data in each ES unit. Ignored for H.264 data. +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output summary information (i.e., the number +of entities in the file, statistics, etc.) +.TP +\fB\-x\fR +Show details of each NAL unit as it is read. +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of NAL units/MPEG\-2 items/AVS frames/ES units +to read. If \fB\-frames\fR, then the program will stop after +that many frames. If reading 'frames', MPEG\-2 and AVS will +also count sequence headers and sequence end. +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-pesreport\fR +Report on PES headers. Implies \fB\-pes\fR and \fB\-q\fR. +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264, H.262 or AVS data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.IP +TS tools version 1.11, esreport built Nov 11 2008 17:15:46 +.IP +Report on the content of an elementary stream containing H.264 +(MPEG\-4/AVC), H.262 (MPEG\-2) or AVS video data. +.SS "Files:" +.TP + +is the Elementary Stream file (but see \fB\-stdin\fR below) +.SS "What to report:" +.IP +The default is to report on H.262 items, AVS frames or H.264 NAL units. +Other choices are: +.TP +\fB\-frames\fR +Report by frames. The default for AVS. +.TP +\fB\-findfields\fR +Report on any fields in the data. Ignored for AVS. +.TP +\fB\-afd\fR +Report (just) on AFD changes in H.262. Ignored for the +other types of file. +.TP +\fB\-es\fR +Report on ES units. +.IP +Reporting on frames may be modified by: +.TP +\fB\-framesize\fR +Report on the sizes of frames (mean, etc.). +.TP +\fB\-frametype\fR +Report on the numbers of different type of frame. +.IP +(in fact, both of these imply \fB\-frame\fR). +.SS "Other switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +For H.262 data, output information about the data +in each MPEG\-2 item. For ES units, output information +about the data in each ES unit. Ignored for H.264 data. +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output summary information (i.e., the number +of entities in the file, statistics, etc.) +.TP +\fB\-x\fR +Show details of each NAL unit as it is read. +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of NAL units/MPEG\-2 items/AVS frames/ES units +to read. If \fB\-frames\fR, then the program will stop after +that many frames. If reading 'frames', MPEG\-2 and AVS will +also count sequence headers and sequence end. +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-pesreport\fR +Report on PES headers. Implies \fB\-pes\fR and \fB\-q\fR. +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264, H.262 or AVS data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.SH "SEE ALSO" +The full documentation for +.B esreport +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/tsinfo.1 +++ tstools-1.11/debian/tsinfo.1 @@ -0,0 +1,56 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TSINFO: "1" "November 2008" "tsinfo 1.11" "User Commands" +.SH NAME +tsinfo \- report on the streams in a Transport Stream +.SH SYNOPSIS +.B tsinfo +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, tsinfo built Nov 11 2008 17:15:48 +.IP +Report on the program streams in a Transport Stream. +.SS "Files:" +.TP + +is an H.222 Transport Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output extra information about packets +.TP +\fB\-max\fR , \fB\-m\fR +Number of TS packets to scan. Defaults to 1000. +.TP +\fB\-repeat\fR +Look for PMT packets, and report on each +.IP +TS tools version 1.11, tsinfo built Nov 11 2008 17:15:48 +.IP +Report on the program streams in a Transport Stream. +.SS "Files:" +.TP + +is an H.222 Transport Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output extra information about packets +.TP +\fB\-max\fR , \fB\-m\fR +Number of TS packets to scan. Defaults to 1000. +.TP +\fB\-repeat\fR +Look for PMT packets, and report on each +.SH "SEE ALSO" +The full documentation for +.B tsinfo +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + --- tstools-1.11.orig/debian/tsplay.1 +++ tstools-1.11/debian/tsplay.1 @@ -0,0 +1,69 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TSPLAY "1" "November 2008" "tsplay 1.11" "User Commands" +.SH NAME +tsplay \- play the given TS or PS file 'at' the nominated host, or to an output file +.SH DESCRIPTION +Play the given file (containing Transport Stream or Program Stream data) 'at' the nominated host, or to an output file. +The output is always Transport Stream. +With no switches, tsplay will give a brief summary of its basic usage. +Otherwise: +.TP +\fB\-help\fR detail[s] +Show an expanded version of the help you get if you +run tsplay with no arguments +.TP +\fB\-help\fR ts +Show help specific to playing TS data +.TP +\fB\-help\fR ps +Show help specific to playing PS data +.TP +\fB\-help\fR tuning +Show help about how to tune the program's operation +.TP +\fB\-help\fR test[ing] +Show help on switches that can be useful in testing +the target application (the video player) +.HP +\fB\-help\fR debug[ging] Show help on debugging this application. +.TP +\fB\-help\fR +Show this message +.TP +\fB\-help\fR all +Show all available help (equivalent to each of the +above specific helps, in order) +.PP +Otherwise: +.TP +\fB\-help\fR detail[s] +Show an expanded version of the help you get if you +run tsplay with no arguments +.TP +\fB\-help\fR ts +Show help specific to playing TS data +.TP +\fB\-help\fR ps +Show help specific to playing PS data +.TP +\fB\-help\fR tuning +Show help about how to tune the program's operation +.TP +\fB\-help\fR test[ing] +Show help on switches that can be useful in testing +the target application (the video player) +.HP +\fB\-help\fR debug[ging] Show help on debugging this application. +.TP +\fB\-help\fR +Show this message +.TP +\fB\-help\fR all +Show all available help (equivalent to each of the +above specific helps, in order) +.SH "SEE ALSO" +The full documentation for +.B tsplay +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + --- tstools-1.11.orig/debian/dirs +++ tstools-1.11/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- tstools-1.11.orig/debian/tstools.manpages +++ tstools-1.11/debian/tstools.manpages @@ -0,0 +1,18 @@ +debian/es2ts.1 +debian/esfilter.1 +debian/esreport.1 +debian/m2ts2ts.1 +debian/ps2ts.1 +debian/psreport.1 +debian/ts2es.1 +debian/ts_packet_insert.1 +debian/tsreport.1 +debian/esdots.1 +debian/esmerge.1 +debian/esreverse.1 +debian/pcapreport.1 +debian/psdots.1 +debian/stream_type.1 +debian/tsinfo.1 +debian/tsplay.1 +debian/tsserve.1 --- tstools-1.11.orig/debian/rules +++ tstools-1.11/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/tstools.sgml > tstools.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + # Add here commands to install the package into debian/tstools. + install -t $(CURDIR)/debian/tstools/usr/bin bin/* + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tstools-1.11.orig/debian/esdots.1 +++ tstools-1.11/debian/esdots.1 @@ -0,0 +1,144 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ESDOTS: "1" "November 2008" "esdots 1.11" "User Commands" +.SH NAME +esdots \- Analyze the video items contained in an elementary stream +.SH SYNOPSIS +.B esdots +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, esdots built Nov 11 2008 17:15:46 +.IP +Present the content of an H.264 (MPEG\-4/AVC), H.262 (MPEG\-2) or AVS +elementary stream as a sequence of characters, representing access +units/MPEG\-2 items/AVS items. +(Note that for H.264 it is access units and not frames that are +represented, and for H.262 it is items and not pictures.) +.SS "Files:" +.TP + +is the Elementary Stream file (but see \fB\-stdin\fR below) +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Preface the output with an explanation of the +characters being used. +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of entities to read +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-hasheos\fR +Print a # on finding an EOS (end\-of\-stream) NAL unit +rather than stopping (only applies to H.264) +.TP +\fB\-es\fR +Report ES units, rather than any 'higher' unit +(not necessarily suppported for all file types) +.TP +\fB\-gop\fR +Show the duration of each GOP (for MPEG\-2 steams) +OR the distance between random access points (H.264) +.TP +\fB\-fr\fR +Set the video frame rate (default = 25 fps) +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +For AVS data, the program will never guess correctly, so the user must +specify the file type, using \fB\-avs\fR. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.IP +TS tools version 1.11, esdots built Nov 11 2008 17:15:46 +.IP +Present the content of an H.264 (MPEG\-4/AVC), H.262 (MPEG\-2) or AVS +elementary stream as a sequence of characters, representing access +units/MPEG\-2 items/AVS items. +.IP +(Note that for H.264 it is access units and not frames that are +represented, and for H.262 it is items and not pictures.) +.SS "Files:" +.TP + +is the Elementary Stream file (but see \fB\-stdin\fR below) +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Preface the output with an explanation of the +characters being used. +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of entities to read +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-hasheos\fR +Print a # on finding an EOS (end\-of\-stream) NAL unit +rather than stopping (only applies to H.264) +.TP +\fB\-es\fR +Report ES units, rather than any 'higher' unit +(not necessarily suppported for all file types) +.TP +\fB\-gop\fR +Show the duration of each GOP (for MPEG\-2 steams) +OR the distance between random access points (H.264) +.TP +\fB\-fr\fR +Set the video frame rate (default = 25 fps) +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +For AVS data, the program will never guess correctly, so the user must +specify the file type, using \fB\-avs\fR. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.SH "SEE ALSO" +The full documentation for +.B esdots +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. --- tstools-1.11.orig/debian/es2ts.1 +++ tstools-1.11/debian/es2ts.1 @@ -0,0 +1,169 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ES2TS "1" "November 2008" "es2ts 1.11" "User Commands" +.SH NAME +es2ts \- convert ES to TS +.SH SYNOPSIS +.B es2ts +[\fIswitches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, es2ts built Nov 11 2008 17:15:46 +.IP +Convert an elementary video stream to H.222 transport stream. +Supports input streams conforming to MPEG\-2 (H.262), MPEG\-4/AVC +(H.264) and AVS. Also supports MPEG\-1 input streams, insofar as MPEG\-2 +is backwards compatible with MPEG\-1. +.IP +Note that this program works by reading and packaging the elementary +stream packages directly \- it does not parse them as H.262 or H.264 +data. +.SS "Files:" +.TP + +is a file containing the Elementary Stream data +(but see \fB\-stdin\fR below) +.TP + +is an H.222 Transport Stream file +(but see \fB\-stdout\fR and \fB\-host\fR below) +.SS "Switches:" +.TP +\fB\-pid\fR + is the video PID to use for the data. +Use '\-pid 0x' to specify a hex value. +Defaults to 0x68. +.TP +\fB\-pmt\fR + is the PMT PID to use. +Use '\-pmt 0x' to specify a hex value. +Defaults to 0x66 +.TP +\fB\-verbose\fR, \fB\-v\fR +Output summary information about each ES packet +as it is read +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of ES data units to read +.SS "Stream type:" +.IP +When the TS data is being output, it is flagged to indicate whether +it conforms to H.262, H.264 or AVS. It is important to get this right, +as it will affect interpretation of the TS data. +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264, H.262 or AVS. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.IP +TS tools version 1.11, es2ts built Nov 11 2008 17:15:46 +.IP +Convert an elementary video stream to H.222 transport stream. +Supports input streams conforming to MPEG\-2 (H.262), MPEG\-4/AVC +(H.264) and AVS. Also supports MPEG\-1 input streams, insofar as MPEG\-2 +is backwards compatible with MPEG\-1. +.IP +Note that this program works by reading and packaging the elementary +stream packages directly \- it does not parse them as H.262 or H.264 +data. +.SS "Files:" +.TP + +is a file containing the Elementary Stream data +(but see \fB\-stdin\fR below) +.TP + +is an H.222 Transport Stream file +(but see \fB\-stdout\fR and \fB\-host\fR below) +.SS "Switches:" +.TP +\fB\-pid\fR + is the video PID to use for the data. +Use '\-pid 0x' to specify a hex value. +Defaults to 0x68. +.TP +\fB\-pmt\fR + is the PMT PID to use. +Use '\-pmt 0x' to specify a hex value. +Defaults to 0x66 +.TP +\fB\-verbose\fR, \fB\-v\fR +Output summary information about each ES packet +as it is read +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of ES data units to read +.SS "Stream type:" +.IP +When the TS data is being output, it is flagged to indicate whether +it conforms to H.262, H.264 or AVS. It is important to get this right, +as it will affect interpretation of the TS data. +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264, H.262 or AVS. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.TP +\fB\-avs\fR +Force the program to treat the input as AVS. +.SH "SEE ALSO" + +The full documentation for +.B es2ts +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + --- tstools-1.11.orig/debian/esfilter.1 +++ tstools-1.11/debian/esfilter.1 @@ -0,0 +1,189 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ESFILTER: "1" "November 2008" "esfilter 1.11" "User Commands" +.SH NAME +esfilter \- Output a filtered or truncated version of a ES +.SH SYNOPSIS +.B esfilter +[\fIactions/switches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, esfilter built Nov 11 2008 17:15:39 +.IP +Output a filtered or truncated version of an elementary stream. +The input is either H.264 (MPEG\-4/AVC) or H.262 (MPEG\-2). +The output is either an elementary stream, or an H.222 transport +stream +.IP +If output is to an H.222 Transport Stream, then fixed values for +the PMT PID (0x66) and video PID (0x68) are used. +.SS "Files:" +.TP + +is the input elementary stream (but see \fB\-stdin\fR below). +.IP + is the output stream, either an equivalent elementary +.IP +stream, or an H.222 Transport Stream (but see \fB\-stdout\fR +and \fB\-host\fR below). +.SS "Actions:" +.TP +\fB\-copy\fR +Copy the input data to the output file +(mostly useful as a way of truncating data with \fB\-max\fR) +.TP +\fB\-filter\fR +Filter data from input to output, aiming to keep every +th frame (where is specified by \fB\-freq\fR). +.TP +\fB\-strip\fR +For H.264, output just the IDR and I pictures, for H.262, +output just the I pictures, but see \fB\-allref\fR below. +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output extra (debugging) messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. Implies \fB\-tsout\fR. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of frames to read (for \fB\-filter\fR +and \fB\-strip\fR), or ES units/NAL units (for \fB\-copy\fR). +.TP +\fB\-freq\fR +Specify the frequency of frames to try to keep +with \fB\-filter\fR. Defaults to 8. +.TP +\fB\-allref\fR +With \fB\-strip\fR, keep all reference pictures (H.264) +or all I and P pictures (H.262) +.TP +\fB\-tsout\fR +Output data as Transport Stream PES packets +(the default is as Elementary Stream) +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms. Not allowed with \fB\-stdin\fR. +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.IP +TS tools version 1.11, esfilter built Nov 11 2008 17:15:39 +.IP +Output a filtered or truncated version of an elementary stream. +The input is either H.264 (MPEG\-4/AVC) or H.262 (MPEG\-2). +The output is either an elementary stream, or an H.222 transport +stream +.IP +If output is to an H.222 Transport Stream, then fixed values for +the PMT PID (0x66) and video PID (0x68) are used. +.SS "Files:" +.TP + +is the input elementary stream (but see \fB\-stdin\fR below). +.IP + is the output stream, either an equivalent elementary +.IP +stream, or an H.222 Transport Stream (but see \fB\-stdout\fR +and \fB\-host\fR below). +.SS "Actions:" +.TP +\fB\-copy\fR +Copy the input data to the output file +(mostly useful as a way of truncating data with \fB\-max\fR) +.TP +\fB\-filter\fR +Filter data from input to output, aiming to keep every +th frame (where is specified by \fB\-freq\fR). +.TP +\fB\-strip\fR +For H.264, output just the IDR and I pictures, for H.262, +output just the I pictures, but see \fB\-allref\fR below. +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output extra (debugging) messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdin\fR +Take input from , instead of a named file +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. Implies \fB\-tsout\fR. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of frames to read (for \fB\-filter\fR +and \fB\-strip\fR), or ES units/NAL units (for \fB\-copy\fR). +.TP +\fB\-freq\fR +Specify the frequency of frames to try to keep +with \fB\-filter\fR. Defaults to 8. +.TP +\fB\-allref\fR +With \fB\-strip\fR, keep all reference pictures (H.264) +or all I and P pictures (H.262) +.TP +\fB\-tsout\fR +Output data as Transport Stream PES packets +(the default is as Elementary Stream) +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms. Not allowed with \fB\-stdin\fR. +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.IP +If input is from standard input (via \fB\-stdin\fR), then it is not possible +for the program to make its own decision on the input stream type. +Instead, it defaults to H.262, and relies on the user indicating if +this is wrong. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.SH "SEE ALSO" +The full documentation for +.B esfilter +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. --- tstools-1.11.orig/debian/esmerge.1 +++ tstools-1.11/debian/esmerge.1 @@ -0,0 +1,160 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ESMERGE "1" "November 2008" "esmerge 1.11" "User Commands" +.SH NAME +esmerge \- merge audio and video ES into a TS +.SH DESCRIPTION +.SS "Usage:" +.IP +esmerge [\fIswitches\fR] \fI\fR \fI\fR \fI\fR +.IP +TS tools version 1.11, esmerge built Nov 11 2008 17:15:46 +.IP +Merge the contents of two Elementary Stream (ES) files, one containing +video data, and the other audio, to produce an output file containing +Transport Stream (TS). +.SS "Files:" +.TP + +is the ES file containing video. +.TP + +is the ES file containing audio. +.IP + is the resultant TS file. +.SS "Switches:" +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output information about each audio/video frame. +.TP +\fB\-x\fR +Output diagnostic information. +.TP +\fB\-h264\fR +The video stream is H.264 (the default) +.TP +\fB\-avs\fR +The video stream is AVS +.TP +\fB\-vidrate\fR +Video frame rate in Hz \- defaults to 25Hz. +.TP +\fB\-rate\fR +Audio sample rate in Hertz \- defaults to 44100, i.e., 44.1KHz. +.TP +\fB\-cd\fR +Equivalent to \fB\-rate\fR 44100 (CD rate), the default. +.TP +\fB\-dat\fR +Equivalent to \fB\-rate\fR 48000 (DAT rate). +.TP +\fB\-adts\fR +The audio stream is ADTS (the default) +.TP +\fB\-l2\fR +The audio stream is MPEG layer 2 audio +.TP +\fB\-mp2adts\fR +The audio stream is MPEG\-2 style ADTS regardless of ID bit +.TP +\fB\-mp4adts\fR +The audio stream is MPEG\-4 style ADTS regardless of ID bit +.TP +\fB\-ac3\fR +The audio stream is Dolby AC\-3 in ATSC +.TP +\fB\-patpmtfreq\fR +PAT and PMT will be inserted every video frames. +by default, f = 0 and PAT/PMT are inserted only at +the start of the output stream. +.PP +Limitations +=========== +For the moment, the video input must be H.264 or AVS, and the audio input +ADTS, AC\-3 ATSC or MPEG layer 2. Also, the audio is assumed to have a +constant number of samples per frame. +.IP +esmerge +.IP +TS tools version 1.11, esmerge built Nov 11 2008 17:15:46 +.IP +Merge the contents of two Elementary Stream (ES) files, one containing +video data, and the other audio, to produce an output file containing +Transport Stream (TS). +.SS "Files:" +.TP + +is the ES file containing video. +.TP + +is the ES file containing audio. +.IP + is the resultant TS file. +.SS "Switches:" +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output information about each audio/video frame. +.TP +\fB\-x\fR +Output diagnostic information. +.TP +\fB\-h264\fR +The video stream is H.264 (the default) +.TP +\fB\-avs\fR +The video stream is AVS +.TP +\fB\-vidrate\fR +Video frame rate in Hz \- defaults to 25Hz. +.TP +\fB\-rate\fR +Audio sample rate in Hertz \- defaults to 44100, i.e., 44.1KHz. +.TP +\fB\-cd\fR +Equivalent to \fB\-rate\fR 44100 (CD rate), the default. +.TP +\fB\-dat\fR +Equivalent to \fB\-rate\fR 48000 (DAT rate). +.TP +\fB\-adts\fR +The audio stream is ADTS (the default) +.TP +\fB\-l2\fR +The audio stream is MPEG layer 2 audio +.TP +\fB\-mp2adts\fR +The audio stream is MPEG\-2 style ADTS regardless of ID bit +.TP +\fB\-mp4adts\fR +The audio stream is MPEG\-4 style ADTS regardless of ID bit +.TP +\fB\-ac3\fR +The audio stream is Dolby AC\-3 in ATSC +.TP +\fB\-patpmtfreq\fR +PAT and PMT will be inserted every video frames. +by default, f = 0 and PAT/PMT are inserted only at +the start of the output stream. +.PP +Limitations +=========== +For the moment, the video input must be H.264 or AVS, and the audio input +ADTS, AC\-3 ATSC or MPEG layer 2. Also, the audio is assumed to have a +constant number of samples per frame. +.SH "SEE ALSO" +The full documentation for +.B esmerge +is maintained as a Texinfo manual. If the +.B info +and +.B esmerge +programs are properly installed at your site, the command +.IP +.B info esmerge +.PP +should give you access to the complete manual. --- tstools-1.11.orig/debian/ts_packet_insert.1 +++ tstools-1.11/debian/ts_packet_insert.1 @@ -0,0 +1,77 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TS_PACKET_INSERT "1" "November 2008" "ts_packet_insert 1.11" "User Commands" +.SH NAME +ts_packet_insert \- insert packets into a Transport Stream +.SH DESCRIPTION +.SS "Usage:" +.IP +ts_packet_insert [\fIswitches\fR] \fI\fR [\fIswitches\fR] +.IP +Insert TS packets into a Transport Stream at a positions +specified by the user. +.SS "Input:" +.TP + +A H.222.0 TS stream. +.SS "Switches:" +.TP +\fB\-p\fR [positions] +This a a colon (':') delimited string of numbers +between 0 and 1, representing how far through to put +each ts packet. E.g. \fB\-p\fR 0.1:0.4:0.7:0.9 will insert +4 packets at 10%, 40%, 70% and 90% through the file. +.TP +\fB\-pid\fR [pid] +The inserted packets will have the pid specfied. +.TP +\fB\-s\fR [string] +The inserted packets will contain [string] as it's +payload. +.TP +\fB\-o\fR [output file] The new TS file will be written out to the file +specified. (defaults to out.ts) +.TP +\fB\-h\fR (\fB\-\-help\fR) +This message. +.SS "Example:" +.IP +ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts +.IP +ts_packet_insert [switches] [switches] +.IP +Insert TS packets into a Transport Stream at a positions +specified by the user. +.SS "Input:" +.TP + +A H.222.0 TS stream. +.SS "Switches:" +.TP +\fB\-p\fR [positions] +This a a colon (':') delimited string of numbers +between 0 and 1, representing how far through to put +each ts packet. E.g. \fB\-p\fR 0.1:0.4:0.7:0.9 will insert +4 packets at 10%, 40%, 70% and 90% through the file. +.TP +\fB\-pid\fR [pid] +The inserted packets will have the pid specfied. +.TP +\fB\-s\fR [string] +The inserted packets will contain [string] as it's +payload. +.TP +\fB\-o\fR [output file] The new TS file will be written out to the file +specified. (defaults to out.ts) +.TP +\fB\-h\fR (\fB\-\-help\fR) +This message. +.SS "Example:" +.IP +ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts +.SH "SEE ALSO" +The full documentation for +.B ts_packet_insert +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/ts2es.1 +++ tstools-1.11/debian/ts2es.1 @@ -0,0 +1,109 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TS2ES "1" "November 2008" "ts2es 1.11" "User Commands" +.SH NAME +ts2es \- extract a single (elementary) stream from a TS (or PS) +.SH SYNOPSIS +.B ts2es +[\fIswitches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, ts2es built Nov 11 2008 17:15:45 +.IP +Extract a single (elementary) program stream from a Transport Stream +(or Program Stream). +.SS "Files:" +.TP + +is an H.222 Transport Stream file (but see \fB\-stdin\fR and \fB\-pes\fR) +.IP + is a single elementary stream file (but see \fB\-stdout\fR) +.SS "Which stream to extract:" +.TP +\fB\-pid\fR +Output data for the stream with the given +. Use \fB\-pid\fR 0x to specify a hex value +.TP +\fB\-video\fR +Output data for the (first) video stream +named in the (first) PMT. This is the default. +.TP +\fB\-audio\fR +Output data for the (first) audio stream +named in the (first) PMT +.SS "General switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-stdout\fR +Output to standard output, instead of a file +Forces \fB\-quiet\fR. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output informational/diagnostic messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets to read +.TP +\fB\-pes\fR, \fB\-ps\fR +Use the PES interface to read ES units from +the input file. This allows PS data to be read +(there is no point in using this for TS data). +Does not support \fB\-pid\fR, \fB\-stdin\fR or \fB\-stdout\fR. +.IP +TS tools version 1.11, ts2es built Nov 11 2008 17:15:45 +.IP +Extract a single (elementary) program stream from a Transport Stream +(or Program Stream). +.SS "Files:" +.TP + +is an H.222 Transport Stream file (but see \fB\-stdin\fR and \fB\-pes\fR) +.IP + is a single elementary stream file (but see \fB\-stdout\fR) +.SS "Which stream to extract:" +.TP +\fB\-pid\fR +Output data for the stream with the given +. Use \fB\-pid\fR 0x to specify a hex value +.TP +\fB\-video\fR +Output data for the (first) video stream +named in the (first) PMT. This is the default. +.TP +\fB\-audio\fR +Output data for the (first) audio stream +named in the (first) PMT +.SS "General switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-stdout\fR +Output to standard output, instead of a file +Forces \fB\-quiet\fR. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output informational/diagnostic messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets to read +.TP +\fB\-pes\fR, \fB\-ps\fR +Use the PES interface to read ES units from +the input file. This allows PS data to be read +(there is no point in using this for TS data). +Does not support \fB\-pid\fR, \fB\-stdin\fR or \fB\-stdout\fR. +.SH "SEE ALSO" +The full documentation for +.B ts2es +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/copyright +++ tstools-1.11/debian/copyright @@ -0,0 +1,474 @@ +This package was debianized by Lorenzo Granai on +Tue, 11 Nov 2008 15:47:39 +0000. + +It was downloaded from http://tstools.berlios.de + +Upstream Authors: + + John Cox + Lorenzo Granai + Rhodri James + Richard Watts + Tony Ibbs + +Copyright: + + Copyright (C) 2008 Amino Communications Limited + Copyright (C) 2008 Kynesim Limited + +License: + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + + --------------- + + The contents of these files are subject to the Mozilla Public License Version + 1.1 (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" basis, + WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + for the specific language governing rights and limitations under the + License. + + The Original Code is the MPEG TS, PS and ES tools. + + The Initial Developer of the Original Code is Amino Communications Ltd. + Portions created by the Initial Developer are Copyright (C) 2008 + the Initial Developer. All Rights Reserved. + + +The Debian packaging is copyright 2008, Lorenzo Granai and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- tstools-1.11.orig/debian/psdots.1 +++ tstools-1.11/debian/psdots.1 @@ -0,0 +1,53 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PSDOTS: "1" "November 2008" "psdots 1.11" "User Commands" +.SH NAME +psdots \- Present the packets of a Program Stream +.SH SYNOPSIS +.B psdots +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, psdots built Nov 11 2008 17:15:48 +.IP +Present the content of a Program Stream file as a sequence of +characters, representing the packets. +.SS "Files:" +.TP + +is an H.222 Program Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output a description of the characters used +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packets to read +.IP +TS tools version 1.11, psdots built Nov 11 2008 17:15:48 +.IP +Present the content of a Program Stream file as a sequence of +characters, representing the packets. +.SS "Files:" +.TP + +is an H.222 Program Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output a description of the characters used +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packets to read +.SH "SEE ALSO" +The full documentation for +.B psdots +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/esreverse.1 +++ tstools-1.11/debian/esreverse.1 @@ -0,0 +1,147 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH ESREVERSE: "1" "November 2008" "esreverse 1.11" "User Commands" +.SH NAME +esreverse \- reverse an es stream +.SH SYNOPSIS +.B esreverse +[\fIswitches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, esreverse built Nov 11 2008 17:15:47 +.IP +Output a reversed stream derived from the input H.264 (MPEG\-4/AVC) +or H.262 (MPEG\-2) elementary stream. +.IP +If output is to an H.222 Transport Stream, then fixed values for +the PMT PID (0x66) and video PID (0x68) are used. +.SS "Files:" +.TP + +is the input elementary stream. +.IP + is the output stream, either an equivalent elementary +.IP +stream, or an H.222 Transport Stream (but see \fB\-stdout\fR +and \fB\-host\fR below). +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output additional (debugging) messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. Implies \fB\-tsout\fR. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of frames to read +.TP +\fB\-freq\fR +Specify the frequency of frames to try to keep +when reversing. Defaults to 8. +.TP +\fB\-tsout\fR +Output H.222 Transport Stream +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-server\fR +Also output as normal forward video as reversal +data is being collected. Implies \fB\-pes\fR and \fB\-tsout\fR. +.TP +\fB\-x\fR +Temporary extra debugging information +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.IP +TS tools version 1.11, esreverse built Nov 11 2008 17:15:47 +.IP +Output a reversed stream derived from the input H.264 (MPEG\-4/AVC) +or H.262 (MPEG\-2) elementary stream. +.IP +If output is to an H.222 Transport Stream, then fixed values for +the PMT PID (0x66) and video PID (0x68) are used. +.SS "Files:" +.TP + +is the input elementary stream. +.IP + is the output stream, either an equivalent elementary +.IP +stream, or an H.222 Transport Stream (but see \fB\-stdout\fR +and \fB\-host\fR below). +.SS "Switches:" +.TP +\fB\-verbose\fR, \fB\-v\fR +Output additional (debugging) messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-stdout\fR +Write output to , instead of a named file +Forces \fB\-quiet\fR. +.TP +\fB\-host\fR , \fB\-host\fR : +Writes output (over TCP/IP) to the named , +instead of to a named file. If is not +specified, it defaults to 88. Implies \fB\-tsout\fR. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of frames to read +.TP +\fB\-freq\fR +Specify the frequency of frames to try to keep +when reversing. Defaults to 8. +.TP +\fB\-tsout\fR +Output H.222 Transport Stream +.TP +\fB\-pes\fR, \fB\-ts\fR +The input file is TS or PS, to be read via the +PES\->ES reading mechanisms +.TP +\fB\-server\fR +Also output as normal forward video as reversal +data is being collected. Implies \fB\-pes\fR and \fB\-tsout\fR. +.TP +\fB\-x\fR +Temporary extra debugging information +.SS "Stream type:" +.IP +If input is from a file, then the program will look at the start of +the file to determine if the stream is H.264 or H.262 data. This +process may occasionally come to the wrong conclusion, in which case +the user can override the choice using the following switches. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.SH "SEE ALSO" +The full documentation for +.B esreverse +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/tsreport.1 +++ tstools-1.11/debian/tsreport.1 @@ -0,0 +1,212 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TSREPORT "1" "November 2008" "tsreport 1.11" "User Commands" +.SH NAME +tsreport \- report on a Transport Stream +.SH SYNOPSIS +.B tsreport +[\fIswitches\fR] \fI\fR [\fIswitches\fR] +.SH DESCRIPTION +.IP +TS tools version 1.11, tsreport built Nov 11 2008 17:15:48 +.IP +Report on one of the following for the given Transport Stream: +.IP +* The number of TS packets. +* PCR and PTS/DTS differences (\fB\-buffering\fR). +* The packets of a single PID (\fB\-justpid\fR). +.IP +When conflicting switches are specified, the last takes effect. +.SS "Input:" +.TP + +Read data from the named H.222 Transport Stream file +.TP +\fB\-stdin\fR +Read data from standard input +.SS "Normal operation:" +.IP +By default, normal operation just reports the number of TS packets. +.TP +\fB\-timing\fR, \fB\-t\fR Report timing information based on the PCRs +.TP +\fB\-data\fR Show TS packet/payload data as bytes +.TP +\fB\-verbose\fR, \fB\-v\fR Also output (fairly detailed) information on each TS packet +.TP +\fB\-quiet\fR, \fB\-q\fR Only output summary information (this is the default) +.TP +\fB\-max\fR , \fB\-m\fR Maximum number of TS packets to read +.SS "Buffering information:" +.TP +\fB\-buffering\fR, \fB\-b\fR +Report on the differences between PCR and PTS, and +between PCR and DTS. This is relevant to the size of +buffers needed in the decoder. +.TP +\fB\-o\fR +Output CSV data for \fB\-buffering\fR to the named file. +.TP +\fB\-32\fR +Truncate 33 bit values in the CSV output to 32 bits +(losing the top bit). +.TP +\fB\-verbose\fR, \fB\-v\fR +Output PCR/PTS/DTS information as it is found (in a +format similar to that used for \fB\-o\fR) +.TP +\fB\-quiet\fR, \fB\-q\fR +Output less information (notably, not the PMT) +.TP +\fB\-cnt\fR , +Check values of continuity_counter in the specified PID. +Writes all the values of the counter to a file called +\&'continuity_counter.txt'. Turns buffering on (\fB\-b\fR). +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets to read +.SS "Single PID:" +.TP +\fB\-justpid\fR +Just show data (file offset, index, adaptation field +and payload) for TS packets with the given PID. +PID 0 is allowed (i.e., the PAT). +.TP +\fB\-verbose\fR, \fB\-v\fR +Is ignored +.TP +\fB\-quiet\fR, \fB\-q\fR +Is ignored +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets of that PID to read +.PP +Experimental control of timestamp formats (this doesn't affect the output +to the CVS file, produced with \fB\-o\fR): +.TP +\fB\-tfmt\fR +Specify format of time differences. +.TP +\fB\-tafmt\fR +Specify format of absolute times. +.IP + is (currently, but may change) one of: +.TP +90 +Default \fB\-\-\fR show as 90KHz timestamps (suffix 't' on +the values: e.g., 4362599t). +.TP +27 +Show as 27MHz timestamps (similar, e.g., 25151:000t). +.TP +32 +Show as 90KHz timestamps, but only the low 32 bits. +.TP +ms +Show as milliseconds. +.TP +hms +Show as hours/minutes/seconds (H:MM:SS.ssss, the H +can be more than one digit if necessary) +.IP +TS tools version 1.11, tsreport built Nov 11 2008 17:15:48 +.IP +Report on one of the following for the given Transport Stream: +.IP +* The number of TS packets. +* PCR and PTS/DTS differences (\fB\-buffering\fR). +* The packets of a single PID (\fB\-justpid\fR). +.IP +When conflicting switches are specified, the last takes effect. +.SS "Input:" +.TP + +Read data from the named H.222 Transport Stream file +.TP +\fB\-stdin\fR +Read data from standard input +.SS "Normal operation:" +.IP +By default, normal operation just reports the number of TS packets. +\fB\-timing\fR, \fB\-t\fR Report timing information based on the PCRs. +\fB\-data\fR Show TS packet/payload data as bytes +\fB\-verbose\fR, \fB\-v\fR Also output (fairly detailed) information on each TS packet. +\fB\-quiet\fR, \fB\-q\fR Only output summary information (this is the default) +\fB\-max\fR , \fB\-m\fR Maximum number of TS packets to read +.SS "Buffering information:" +.TP +\fB\-buffering\fR, \fB\-b\fR +Report on the differences between PCR and PTS, and +between PCR and DTS. This is relevant to the size of +buffers needed in the decoder. +.TP +\fB\-o\fR +Output CSV data for \fB\-buffering\fR to the named file. +.TP +\fB\-32\fR +Truncate 33 bit values in the CSV output to 32 bits +(losing the top bit). +.TP +\fB\-verbose\fR, \fB\-v\fR +Output PCR/PTS/DTS information as it is found (in a +format similar to that used for \fB\-o\fR) +.TP +\fB\-quiet\fR, \fB\-q\fR +Output less information (notably, not the PMT) +.TP +\fB\-cnt\fR , +Check values of continuity_counter in the specified PID. +Writes all the values of the counter to a file called +\&'continuity_counter.txt'. Turns buffering on (\fB\-b\fR). +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets to read +.SS "Single PID:" +.TP +\fB\-justpid\fR +Just show data (file offset, index, adaptation field +and payload) for TS packets with the given PID. +PID 0 is allowed (i.e., the PAT). +.TP +\fB\-verbose\fR, \fB\-v\fR +Is ignored +.TP +\fB\-quiet\fR, \fB\-q\fR +Is ignored +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of TS packets of that PID to read +.PP +Experimental control of timestamp formats (this doesn't affect the output +to the CVS file, produced with \fB\-o\fR): +.TP +\fB\-tfmt\fR +Specify format of time differences. +.TP +\fB\-tafmt\fR +Specify format of absolute times. +.IP + is (currently, but may change) one of: +.TP +90 +Default \fB\-\-\fR show as 90KHz timestamps (suffix 't' on +the values: e.g., 4362599t). +.TP +27 +Show as 27MHz timestamps (similar, e.g., 25151:000t). +.TP +32 +Show as 90KHz timestamps, but only the low 32 bits. +.TP +ms +Show as milliseconds. +.TP +hms +Show as hours/minutes/seconds (H:MM:SS.ssss, the H +can be more than one digit if necessary) +.SH "SEE ALSO" +The full documentation for +.B tsreport +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + + --- tstools-1.11.orig/debian/tsserve.1 +++ tstools-1.11/debian/tsserve.1 @@ -0,0 +1,156 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH TSSERVE "1" "November 2008" "tsserve 1.11 "User Commands" +.SH NAME +tsserve \- act as a server which plays the given transport or program stream +.SH DESCRIPTION +.SS "Usage:" +.IP +tsserve \fI\fR +tsserve \fI\fR \fB\-port\fR +tsserve [\fIswitches\fR] \fI\fR [\fIswitches\fR] +.IP +TS tools version 1.11, tsserve built Nov 11 2008 17:15:49 +.IP +Act as a server which plays the given file (containing Transport +Stream or Program Stream data). The output is always Transport +Stream. +.SS "Input:" +.TP + +An H.222.0 TS or PS file to serve to the client. +This will be treated as file 0 (see below). +.TP +\fB\-0\fR .. \fB\-9\fR +Specify files 0 through 9, selectable with command +characters 0 through 9. The lowest numbered file +will be the default for display. +.SS "General Switches:" +.TP +\fB\-details\fR +Print out more detailed help information, +including some less common options. +.TP +\fB\-quiet\fR, \fB\-q\fR +Suppress informational and warning messages. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output additional diagnostic messages +.TP +\fB\-port\fR +Listen for a client on port (default 88) +.TP +\fB\-noaudio\fR +Ignore any audio data +.TP +\fB\-pad\fR +Pad the start of the output with filler TS +packets, to allow the client to synchronize with +the datastream. Defaults to 8. +.TP +\fB\-noseqhdr\fR +Do not output sequence headers for fast forward/reverse +data. Only relevant to H.262 data. +.PP +Program Stream Switches: +.TP +\fB\-prepeat\fR +Output the program data (PAT/PMT) after every +PS packs. Defaults to 100. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.IP +Both of these affect the stream type of the output data. +.IP +If the audio stream being output is Dolby (AC\-3), then the stream type +used to output it differs for DVB (European) and ATSC (USA) data. It +may be specified as follows: +.TP +\fB\-dolby\fR dvb +Use stream type 0x06 (the default) +.TP +\fB\-dolby\fR atsc +Use stream type 0x81 +.IP +For information on using the program in other modes, see \fB\-details\fR. +.IP +tsserve +tsserve \fB\-port\fR +tsserve [switches] [switches] +.IP +TS tools version 1.11, tsserve built Nov 11 2008 17:15:49 +.IP +Act as a server which plays the given file (containing Transport +Stream or Program Stream data). The output is always Transport +Stream. +.SS "Input:" +.TP + +An H.222.0 TS or PS file to serve to the client. +This will be treated as file 0 (see below). +.TP +\fB\-0\fR .. \fB\-9\fR +Specify files 0 through 9, selectable with command +characters 0 through 9. The lowest numbered file +will be the default for display. +.SS "General Switches:" +.TP +\fB\-details\fR +Print out more detailed help information, +including some less common options. +.TP +\fB\-quiet\fR, \fB\-q\fR +Suppress informational and warning messages. +.TP +\fB\-verbose\fR, \fB\-v\fR +Output additional diagnostic messages +.TP +\fB\-port\fR +Listen for a client on port (default 88) +.TP +\fB\-noaudio\fR +Ignore any audio data +.TP +\fB\-pad\fR +Pad the start of the output with filler TS +packets, to allow the client to synchronize with +the datastream. Defaults to 8. +.TP +\fB\-noseqhdr\fR +Do not output sequence headers for fast forward/reverse +data. Only relevant to H.262 data. +.PP +Program Stream Switches: +.TP +\fB\-prepeat\fR +Output the program data (PAT/PMT) after every +PS packs. Defaults to 100. +.TP +\fB\-h264\fR, \fB\-avc\fR +Force the program to treat the input as MPEG\-4/AVC. +.TP +\fB\-h262\fR +Force the program to treat the input as MPEG\-2. +.IP +Both of these affect the stream type of the output data. +.IP +If the audio stream being output is Dolby (AC\-3), then the stream type +used to output it differs for DVB (European) and ATSC (USA) data. It +may be specified as follows: +.TP +\fB\-dolby\fR dvb +Use stream type 0x06 (the default) +.TP +\fB\-dolby\fR atsc +Use stream type 0x81 +.IP +For information on using the program in other modes, see \fB\-details\fR. +.SH "SEE ALSO" +The full documentation for +.B tsserve +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + --- tstools-1.11.orig/debian/m2ts2ts.1 +++ tstools-1.11/debian/m2ts2ts.1 @@ -0,0 +1,66 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH M2TS2TS: "1" "November 2008" "m2ts2ts 1.11" "User Commands" +.SH NAME +m2ts2ts \- Convert m2ts to TS +.SH SYNOPSIS +.B m2ts2ts +[\fIswitches\fR] \fI\fR \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, m2ts2ts built Nov 11 2008 17:15:50 +.SS "Files:" +.TP + +is a BDAV MPEG\-2 Transport Stream file (M2TS) +(but see \fB\-stdin\fR) +.IP + is an H.222 Transport Stream file (but see \fB\-stdout\fR) +.SS "General Switches:" +.TP +\fB\-stdin\fR +Input from standard input instead of a file +.TP +\fB\-stdout\fR +Output to standard output instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output informational/diagnostic messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-buffer\fR , \fB\-b\fR +Number of TS packets to buffer for reordering +Defaults to 4. +.IP +TS tools version 1.11, m2ts2ts built Nov 11 2008 17:15:50 +.SS "Files:" +.TP + +is a BDAV MPEG\-2 Transport Stream file (M2TS) +(but see \fB\-stdin\fR) +.IP + is an H.222 Transport Stream file (but see \fB\-stdout\fR) +.SS "General Switches:" +.TP +\fB\-stdin\fR +Input from standard input instead of a file +.TP +\fB\-stdout\fR +Output to standard output instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output informational/diagnostic messages +.TP +\fB\-quiet\fR, \fB\-q\fR +Only output error messages +.TP +\fB\-buffer\fR , \fB\-b\fR +Number of TS packets to buffer for reordering +Defaults to 4. +.SH "SEE ALSO" +The full documentation for +.B m2ts2ts +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + --- tstools-1.11.orig/debian/psreport.1 +++ tstools-1.11/debian/psreport.1 @@ -0,0 +1,69 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH PSREPORT "1" "November 2008" "psreport 1.11" "User Commands" +.SH NAME +psreport: \- report on the packets in a Program Stream +.SH SYNOPSIS +.B psreport +[\fIswitches\fR] \fI\fR +.SH DESCRIPTION +.IP +TS tools version 1.11, psreport built Nov 11 2008 17:15:47 +.IP +Report on the packets in a Program Stream. +.SS "Files:" +.TP + +is an H.222 Program Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output packet data as well. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packets to read +.TP +\fB\-dvd\fR +The PS data is from a DVD. This is the default. +This switch has no effect on MPEG\-1 PS data. +.TP +\fB\-notdvd\fR, \fB\-nodvd\fR +The PS data is not from a DVD. +The DVD specification stores AC\-3 (Dolby), DTS and +other audio in a specialised manner in private_stream_1. +.IP +TS tools version 1.11, psreport built Nov 11 2008 17:15:47 +.IP +Report on the packets in a Program Stream. +.SS "Files:" +.TP + +is an H.222 Program Stream file (but see \fB\-stdin\fR) +.SS "Switches:" +.TP +\fB\-stdin\fR +Input from standard input, instead of a file +.TP +\fB\-verbose\fR, \fB\-v\fR +Output packet data as well. +.TP +\fB\-max\fR , \fB\-m\fR +Maximum number of PS packets to read +.TP +\fB\-dvd\fR +The PS data is from a DVD. This is the default. +This switch has no effect on MPEG\-1 PS data. +.TP +\fB\-notdvd\fR, \fB\-nodvd\fR +The PS data is not from a DVD. +The DVD specification stores AC\-3 (Dolby), DTS and +other audio in a specialised manner in private_stream_1. +.SH "SEE ALSO" +The full documentation for +.B psreport +is maintained as a Texinfo manual. +Please check http://tstools.berlios.de for more information. + +