vtrmpegutil(1) - MSB MPEG2 parse and conversion utility
vtrmpegutil parses MPEG2 Program and Transport streams, generating indexes for Sgi MPEG2, GXF, and MXF files. In addition, the utility supports userbit field modification, index file dump, and conversion of MPEG2 files.
For legacy format conversion, only MSB 2.0.1 Sgi MPEG2 to MSB 2.0.2 Sgi MPEG2 is supported. For MSB releases 2.0.2 and 2.1, conversion between Sgi MPEG2 to GXF is supported. vtrmpegutil furnishes index file syntax reports, for Transport streams, semantic analysis of PID mapping, and multiplexed bitrate is also provided. vtrmpegutil can also generate index files for GXF or MXF.
The specified files must possess an MPEG2 Program stream, Transport stream, Sgi MPEG2, GXF format, or MXF format. In parse mode, if an index file is specified, vtrmpegutil generates an access point index for the stream. If no index file is specified, vtrmpegutil performs syntactic and semantic analysis. A new-file must be specified for conversion operations.
Each vtrmpegutil option may possess additional arguments to constrain command behavior. Select arguments require values; others do not. Additional arguments are specified via the format:
vtrmpegutil has the following options:
vtrmpegutil must be invoked exclusively from the /usr/vtr/clips directory with the convert, index, update, and print options. vtrmpegutil is an interactive utility and should be applied to static clips and indexes. If necessary, vtrclip uses vtrmpegutil to generate the access point index.
The MSB clip cache is intimately coupled to MSB execution. This implies that native UNIX filesystem operations against clip cache components, specifically clip content and index files, will corrupt and permanently perturb the cache structure, possibly leading to adverse or inconsistent MSB operation. It is therefore required that this utility, and others from the MSB command suite, be used exclusively to manipulate clip content elements outside of MVCP sessions.
The following commands:
converts a sgi MPEG-2 file to a GXF file with an audio sample size of 24 bits.
generates an index for GXF file.
generates an index for MXF file.
prints header, frames and userbits of clip1 index file.
updates clip1 index file ltc/vitc userbits with aabbccdd. Start frame is 01:00:00:00 and 10 consecutive frames will be updated.