← 返回命令列表

Linux command

ppmtompeg 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Encode PPM frames to MPEG using a parameter file

ppmtompeg [path/to/param_file]

Encode with statistics output

ppmtompeg -stat [path/to/stats.txt] [path/to/param_file]

Encode silently

ppmtompeg -realquiet [path/to/param_file]

Encode a specific frame range

ppmtompeg -frames [0] [99] [path/to/param_file]

说明

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 INPUT_DIR, PATTERN, GOP_SIZE, and BASE_FILE_FORMAT. Part of the Netpbm toolkit. The -gop, -combine_gops, -frames, and -combine_frames options are mutually exclusive.

参数

-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.

FAQ

What is the ppmtompeg command used for?

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 INPUT_DIR, PATTERN, GOP_SIZE, and BASE_FILE_FORMAT. Part of the Netpbm toolkit. The -gop, -combine_gops, -frames, and -combine_frames options are mutually exclusive.

How do I run a basic ppmtompeg example?

Run `ppmtompeg [path/to/param_file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -stat _file_ do in ppmtompeg?

Append encoding statistics to a file.