Scroll to navigation

MP42TS(1) GPAC MP42TS(1)

NAME

MP42TS - MPEG-4 Systems Framework and Software Development Kit

SYNOPSIS

MP42TS <inputs><destinations>[options]

OPTIONS

Inputs

specifies an input file used for a TS service:
* currently only supports ISO files and SDP files
* can be used several times, once for each program
By default each source is a program in a TS. Source options are colon-separated list of options, as follows:

ID=N specifies the program ID for this source. All sources with the same ID will be added to the same program
name=STR program name, as used in DVB service description table
provider=STR provider name, as used in DVB service description table

same as "-src filename"

Destinations

Several destinations may be specified as follows, at least one is mandatory:

The following parameters may be specified when -dst-file is used:

server local directory to store segments (ends with a '/')
segment duration in seconds
m3u8 file basename
client address for accessing server segments
number of segments to list in the manifest

Basic options

specifies target rate in kbps of the multiplex (optional)
specifies the muxer will work in real-time mode
* if not specified, the muxer will generate the TS as quickly as possible
* automatically set for SDP or BT input
sets initial value V for PCR - if not set, random value is used
offsets all timestamps from PCR by V, in 90kHz. Default value is computed based on input media.
sets PSI refresh rate V in ms (default 100ms).
* If 0, PSI data is only send once at the beginning or before each IDR when -rap option is set.
* This should be set to 0 for DASH streams.
request the muxer to stop after n ms
forces 1 PES = 1 AU (disabled by default)
forces RAP/IDR to be aligned with PES start for video streams (disabled by default). In this mode, PAT, PMT and PCR will be inserted before the first TS packet of the RAP PES.
same as -rap but flushes all other streams (sends remaining PES packets) before inserting PAT/PMT
specifies to pack up to N TS packets together before sending on network or writing to file
sets max interval in ms between 2 PCR. Default is 100 ms
specifies Time-To-Live for multicast. Default is 1.
specifies default IP interface to use. Default is IF_ANY.
Inserts TEMI time codes in adaptation field. URL is optional
Specifies delay between two TEMI url descriptors (default is 1000)
Specifies an offset in ms to add to TEMI (by default TEMI starts at 0)
Do not restart the TEMI timeline at the end of the source
Gives the SDT carrousel rate in milliseconds. If 0 (default), SDT is not sent

MPEG-4/T-DMB options

update file: must be either an .sdp or a .bt file
may be mp3/udp or aac/http (shoutcast/icecast)
shall be a raw h264 frame
carousel period in ms
forces usage of MPEG-4 signaling (IOD and SL Config)
-4over2
same as -4on2 and uses PMT to carry OD Updates
carries BIFS over PES instead of sections
carries BIFS over PES without writing timestamps in SL

Misc options

set log tools and levels, formatted as a ':'-separated list of toolX[:toolZ]@levelX
print this screen

BUGS and OTHER HELP

For bug reports, more information on BT or XMT-A formats or GPAC TTXT files or ISMACryp, MPEG-4 Systems usage and more help on MP42TS please visit the GPAC web site http://www.gpac.io

AUTHORS

Jean Le Feuvre, Cyril Concolato, Romain Bouqueau. Copyright © Telecom ParisTech 2005-2012.

SEE ALSO

GPAC(1), MP4Box(1), MP4Client(1)

July 2015 MP42TS