Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ transcode(1mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alphavcr(1mms)

mms(1mms)

mmeserver(1mms)

transcode(1mms)  —  Commands

 
 

NAME

transcode − Converts an AVI file to an MPEG file. 
 
 

SYNOPSIS

transcode -infile filename [-format type] [-outfile filename] [-bitrate #] [-noaudio] [-help]
 
 

DESCRIPTION

The transcode program converts an AVI format file containing only video, or audio and video, to an MPEG format file. The output can be MPEG-1 video, MPEG-1 systems (audio and video), or MPEG-2 video format. The AlphaVCR utility can be used to record AVI files for transcode input and to play the output MPEG files. 

The input video data will be decompressed, if necessary, and compressed to MPEG format. Keyframes (I-frames) in the output video are every 12 frames, and subkeyframes (P-frames) are every 3 frames. The audio data will be compressed to MPEG audio format (Layer II). Input video may be in JPEG, Motion JPEG, Indeo 3.1 or Indeo 3.2, or uncompressed YUV 4:2:2 or YU12SEP format. If the frame rate of the AVI file does not match one of the supported MPEG frame rates (23.976, 24.0, 25.0, 29.97, or 30 frames per second), it will be rounded to the nearest frame rate. If the input and output frame rates do not match, the audio and video in the output file will not be synchronized. The input audio may be 32, 44.1, or 48 kHz 16-bits per sample, mono or stereo. 

The default output format is MPEG-1 systems. If the input file contains only video, or, if the input audio data cannot be converted to MPEG format, the default output format will be MPEG-1 video. The command line options can be used to override the defaults. MPEG-2 systems format is not currently supported. 
 
 

OPTIONS

The transcode program accepts the following command line options:

−infile filename
Input AVI file containing either audio and video, or video only. This is a required option.

[-format type]
Output MPEG format. Valid values are mpeg1 for MPEG-1 format (the default) or mpeg2 for MPEG-2 format.

[-outfile filename]
File name for output file. The default output file name is the input file name with ".trn" appended. For example, if the input file is data.avi, the output file name will be data.avi.trn.

[-bitrate #]
Target bit rate, in Kbits/second. The default rate is 1152 Kbits per second for video files and 1411.2 Kbits per second (same as 1X CDROM rate) for systems files.

[-noaudio]
Output file will contain no audio (MPEG video format). The default is no audio in the output file if the input file contains no audio, and audio and video in the output file (MPEG systems format) if the input file contains audio and video. For MPEG-2, all output will contain no audio.

[-help] Displays help information. 
 
 

FILES

/usr/bin/mme/transcode
 
 

SEE ALSO

alphavcr(1mms), mms(1mms), mmeserver(1mms)
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026