Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/ppmtompeg Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 -gop {{gop_num}} {{path/to/parameter_file}}`
- Specify the first and last frame to encode:
`ppmtompeg -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}}`