HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ppmtompeg — Encode an MPEG-1 stream. More information: <https://netpbm.sourceforge.net/doc/ppmtompeg.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandstreamppmtompegcliencodeinformationmpegmore

Problem

How to use the ppmtompeg command: Encode an MPEG-1 stream. More information: <https://netpbm.sourceforge.net/doc/ppmtompeg.html>.

Solution

ppmtompeg — Encode an MPEG-1 stream. More information: <https://netpbm.sourceforge.net/doc/ppmtompeg.html>.

Produce an MPEG-1 stream using the parameter file to specify inputs and outputs:
ppmtompeg {{path/to/parameter_file}}


Encode the GOP with the specified number only:
ppmtompeg {{[-g|-gop]}} {{gop_num}} {{path/to/parameter_file}}


Specify the first and last frame to encode:
ppmtompeg {{[-fr|-frames]}} {{first_frame}} {{last_frame}} {{path/to/parameter_file}}


Combine multiple MPEG frames into a single MPEG-1 stream:
ppmtompeg -combine_frames {{path/to/parameter_file}}

Code Snippets

Produce an MPEG-1 stream using the parameter file to specify inputs and outputs

ppmtompeg {{path/to/parameter_file}}

Encode the GOP with the specified number only

ppmtompeg {{[-g|-gop]}} {{gop_num}} {{path/to/parameter_file}}

Specify the first and last frame to encode

ppmtompeg {{[-fr|-frames]}} {{first_frame}} {{last_frame}} {{path/to/parameter_file}}

Combine multiple MPEG frames into a single MPEG-1 stream

ppmtompeg -combine_frames {{path/to/parameter_file}}

Context

tldr-pages: common/ppmtompeg

Revisions (0)

No revisions yet.