📄 iso13818ps.1
字号:
.\" Man page for iso13818ps.\".\" Copyright (C) GPL 2001, Convergence Integrated Media GmbH.\" Copyright (C) GPL 2004, Oskar Schirmer.\".TH iso13818ps 1 "June 17th, 2004" "1.0.2" "Multiplexer".SH NAMEiso13818ps \- multiplexer for ISO 13818 program streams.SH SYNOPSISiso13818ps [COMMAND...].SH DESCRIPTIONGenerates an ISO 13818-1 conforming program stream from multipleinput streams.The result is sent to \fIstdout\fR,the input streams are read from explicitely opened files.All of the following commands may also be fed to \fIstdin\fR duringoperation by omitting the leading hyphen (e.g. \fBQ\fR) ordouble-hyphen (e.g. \fBquit\fR)..TP\fB\-\-help\fRDisplay this help..TP\fB\-V\fR, \fB\-\-version\fROutput version information..TP\fB\-Q\fR, \fB\-\-quit\fRQuit this program..TP\fB\-v\fR, \fB\-\-verbose\fR [\fIlevel\fR]Verbose mode, \fIlevel\fR = 0..6, default is 2 (providing warningsconcerning data errors), initial verbosity is 1 (providing onlyprogram errors)..TP\fB\-p\fR, \fB\-\-pes\fR \fIfile\fROpen a PES input \fIfile\fR,output the contained stream..TP\fB\-p\fR, \fB\-\-pes\fR \fIfile\fR \fItarget_stream_id\fROpen a PES input \fIfile\fR,output the contained streamwith \fItarget_stream_id\fR (recommended range 0xBD..0xFE).The \fIfile\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-P\fR, \fB\-\-ps\fR \fIfile\fROpen a PS input \fIfile\fR,output the contained program..TP\fB\-P\fR, \fB\-\-ps\fR \fIfile\fR \fIsource_stream_id\fR [\fItarget_stream_id\fR]Open a PS input \fIfile\fR,extract the stream with \fIsource_stream_id\fR (range 0x00..0xFF)and output that streamwith \fItarget_stream_id\fR (recommended range 0xBD..0xFE).If no \fItarget_stream_id\fR is given, \fIsource_stream_id\fR is used instead.The \fIfile\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-T\fR, \fB\-\-ts\fR \fIfile\fROpen a TS input \fIfile\fR,extract all programs from it and output them..TP\fB\-T\fR, \fB\-\-ts\fR \fIfile\fR \fIsource_program\fROpen a TS input \fIfile\fR,extract the program \fIsource_program\fR (range 0x0001..0xFFFF)and output that program.The \fIfile\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-T\fR, \fB\-\-ts\fR \fIfile\fR \fIsource_program\fR \fIsource_stream_id\fR [\fItarget_stream_id\fR]Open a TS input \fIfile\fR,extract the stream with \fIsource_stream_id\fR (range 0x00..0xFF)from the program \fIsource_program\fR (range 0x0001..0xFFFF)and output that stream as \fItarget_stream_id\fR (recommended range 0xBD..0xFE).If no \fItarget_stream_id\fR is given, use \fIsource_stream_id\fR instead.The \fIfile\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-T\fR, \fB\-\-ts\fR \fIfile\fR 0 \fIsource_stream_id\fR [\fItarget_stream_id\fR]As before, but extract a stream with \fIsource_stream_id\fR (range 0x00..0xFF)from a transport stream with broken or missing PAT/PMT information.The stream is opened only, if there is \fBnot\fR any entry in thetables for that stream.Note, that if there is more than one stream with the given\fIsource_stream_id\fR,only one matching stream will be opened, andthe choice is not deterministic..TP\fB\-c\fR, \fB\-\-close\fR \fIfile\fRClose input \fIfile\fR, as if eof is reached.In combination with \fB\-\-repeat\fR this causes the next repeatitionto start immediately.Note, that the input data file is cut of as is, i.e. no attemptis made to close the file on a clean audio or video frame boundary..TP\fB\-a\fR, \fB\-\-append\fR \fIfile1\fR \fIfile2\fR [\fInum\fR]Earmark another \fIfile2\fR to be opened as soon as \fIfile1\fRcomes to its end.The appended \fIfile2\fR is foreseen to be repeated \fInum\fRtimes, default is 1 (see \fB\-\-repeat\fR).Both files must contain the same type of data,as the data of both files is chained without considering cleantransition of audio or video sequences.The \fIfile1\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-f\fR, \fB\-\-file\fR \fIreference_number\fR \fIfile_name\fRThe positive \fIreference_number\fR is associated with a \fIfile_name\fR.For all following commands, the \fIreference_number\fR may beused instead of the \fIfile_name\fR. This allows better controlover file handles, as the same file may be addressed via different\fIreference_number\fRs..TP\fB\-x\fR, \fB\-\-crop\fR [\fItarget_stream_id\fR]Delete a stream given by \fItarget_stream_id\fR,or the complete programfrom the output.The corresponding input file(s) will be closed, if not needed otherwise..TP\fB\-r\fR, \fB\-\-repeat\fR \fIfile\fR \fInum\fRSet the repeatition counter for \fIfile\fR to \fInum\fR(or to infinite if \fInum\fR=0).The file will be reset as soon as eof is reached(or it is closed by the command \fB\-\-close\fR).Note, that the file will be reset without considering clean transitionof audio or video sequences at the restart point.The \fIfile\fR may be specified as \fB=\fR to denotethe last previously mentioned file..TP\fB\-R\fR, \fB\-\-reopen\fRThis command shall precede one of the commands that open a new file(i.e. \fB\-\-pes\fR, \fB\-\-ps\fR or \fB\-\-ts\fR must follow\fIon the same line\fR).The next file will be opened with a new file handle,regardless of whether the same file is yet open or not..TP\fB\-\-descr\fR [\fIdescr_tag\fR [\fIdescr_length\fR \fIdata\fR...]]Add, inhibit or delete in the PMT section a descriptor,that does \fBnot\fR belong to a specific stream.To add a descriptor, all parameters must be given,\fIdescr_tag\fR (range 0x00..0xFF),\fIdescr_length\fR (range 1..255),and the appropriate amount of bytes given as \fIdata\fR (range 0x00..0xFF).To inhibit any descriptor with a given \fIdescr_tag\fR,\fIdescr_length\fR is set to \fB0\fR and no \fIdata\fR is given.This causes matching descriptors from input streams tobe discarded instead of being copied to the target stream.To delete the manual setting of a descriptor,\fIdescr_length\fR is omitted. This causes descriptorswith matching \fIdescr_tag\fR to be passed from input tothe target stream.To delete all manual settings,that do \fBnot\fR belong to a specific stream,the \fIdescr_tag\fR is omitted, too.Note, that \fB\-\-descr\fR never modifies descriptors,that belong to a specific stream.To modify these, use the command \fB\-\-sdescr\fR..TP\fB\-\-sdescr\fR [\fIstream_id\fR [\fIdescr_tag\fR [\fIdescr_length\fR \fIdata\fR...]]]Add, inhibit or delete in the PMT section a descriptor,that does belong to a specific stream.To add a descriptor, all parameters must be given,\fIstream_id\fR (recommended range 0xBD..0xFE),\fIdescr_tag\fR (range 0x00..0xFF),\fIdescr_length\fR (range 1..255),and the appropriate amount of bytes given as \fIdata\fR (range 0x00..0xFF).To inhibit any descriptor with a given \fIdescr_tag\fR,\fIdescr_length\fR is set to \fB0\fR and no \fIdata\fR is given.This causes matching descriptors from the corresponding input streams tobe discarded instead of being copied to the target stream.To delete the manual setting of a descriptor,\fIdescr_length\fR is omitted. This causes descriptorswith matching \fIdescr_tag\fR to be passed from input tothe target stream.To delete all manual settings for a \fIstream_id\fR,the \fIdescr_tag\fR is omitted, too.To delete all manual settings for all streams \fBand\fR thosethat do not belong to a specific stream,the \fIstream_id\fR is omitted, too..TP\fB\-B\fR, \fB\-\-busy\fR [\fInum\fR]Set the busy flag to \fInum\fR (range 0..1, default is 1).Whenever the program has no more data to handle andthe busy flag is not set, it stops..TP\fB\-\-timed\fRForce delay timing, even if solely disk files are in use.If not so, if delay is to be awaited while processing regular files,the delay is skipped instead and timing information in the resultingfile is adjusted accordingly..TP\fB\-F\fR, \fB\-\-fpsi\fR \fItime\fRSet the PSI table frequency to \fItime\fR msec(or to infinite if \fItime\fR=0, initial value is infinite).The PAT and PMT will be generated at more or less the givenfrequency, even if the tables did not change.In any case, the next tables will be generated immediately..TP\fB\-\-trigin\fR \fItime\fRSet the input buffer trigger timing to \fItime\fR.For any input stream, that is newly opened(or has to be retriggered, e.g. due to intermediate emptiness),the buffer is triggered for promotion to the splice unitwith a delay of \fItime\fR msec compared to the timeof data entrance into the buffer.For any stream yet triggered the timing is not changedunless retriggering takes place.Not affected by this value are the other trigger conditions,mainly a certain buffer fullnessand cotriggering with a corresponding stream that is triggered..TP\fB\-\-trigout\fR \fItime\fRSet the output buffer trigger timing to \fItime\fR.As the output buffer is triggered for promotion to \fIstdout\fR,this is done with a delay of \fItime\fR msec compared to the timeof data entrance into the buffer.The new timing is only valid if set before the first triggeringof the output buffer,or if retriggering takes place, e.g. due to intermediate emptiness.Not affected by this value is the trigger conditionof a certain buffer fullness..TP\fB\-C\fR, \fB\-\-config\fR \fInum\fROrder output configuration of target stream with \fInum\fR=1,switch off with \fInum\fR=0.Set \fInum\fR=2, to get information about descriptors, too.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -