2023-11-10 05:18:42 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`ppmtompeg {{[-g|-gop]}} {{gop_num}} {{path/to/parameter_file}}`
|
2023-11-10 05:18:42 +01:00
|
|
|
|
|
|
|
- Specify the first and last frame to encode:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`ppmtompeg {{[-fr|-frames]}} {{first_frame}} {{last_frame}} {{path/to/parameter_file}}`
|
2023-11-10 05:18:42 +01:00
|
|
|
|
|
|
|
- Combine multiple MPEG frames into a single MPEG-1 stream:
|
|
|
|
|
|
|
|
`ppmtompeg -combine_frames {{path/to/parameter_file}}`
|