LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmtompeg

Encode PPM image sequences to MPEG video

TLDR

Encode PPM frames to MPEG using a parameter file
$ ppmtompeg [path/to/param_file]
copy
Encode with statistics output
$ ppmtompeg -stat [path/to/stats.txt] [path/to/param_file]
copy
Encode silently showing only errors
$ ppmtompeg -realquiet [path/to/param_file]
copy
Encode a specific frame range
$ ppmtompeg -frames [0] [99] [path/to/param_file]
copy

SYNOPSIS

ppmtompeg [options] parameterfile_

DESCRIPTION

ppmtompeg encodes PPM image sequences to MPEG-1 video bitstreams. All encoding settings (input files, output file, frame pattern, GOP size, quality) are specified in a parameter file rather than on the command line. The parameter file format is case-sensitive and uses keywords like INPUTDIR, PATTERN, GOPSIZE, and BASEFILEFORMAT. Part of the Netpbm toolkit. The -gop, -combinegops, -frames, and -combineframes options are mutually exclusive.

PARAMETERS

parameterfile_

File with encoding parameters.
-stat file
Append encoding statistics to a file.
-realquiet
Suppress all output except errors.
-quiet n
Limit time-remaining reports to every n seconds.
-no_frame_summary
Suppress per-frame summary lines.
-float_dct
Use more accurate but slower floating-point DCT.
-gop num
Encode only a specific numbered GOP.
-combine_gops
Merge separate GOP files into a single MPEG stream.
-frames first last
Encode only the specified frame range.
-combine_frames
Merge individual MPEG frames into one stream.
-nice
Run remote processes at low priority.
-snr
Include signal-to-noise ratio in statistics.

CAVEATS

Legacy encoder. Consider ffmpeg for modern video encoding.

SEE ALSO

ffmpeg(1)

Copied to clipboard
Kai