encode-utils-cli¶
Entrypoint for cli.
Usage:
encode-utils-cli [OPTIONS] COMMAND [ARGS]...
Options:
Name | Type | Description | Default |
---|---|---|---|
--version |
boolean | Show the version and exit. | False |
--help |
boolean | Show this message and exit. | False |
Subcommands
- chapt2bmqpyml: Generate bookmarks and chapters YAML file from chapters text file.
- frames-denum: Divide the frames by the specified divisor.
- mpls2chap: Convert MPLS file to chapter files.
- num-frames: Calculate the number of frames in the given videos.
- re-chapters: Replaces chapter names in episodes with names from a config file.
- re-titles: Reformat titles from AniDB.
- screens2bm: Convert
hh:mm:ss.xxxx
in screens filenames to bookmark frames. - vs-screens: Generate screen frames from videos.
- zones-validator: Validate x264/x265 zones configuration file.
encode-utils-cli chapt2bmqpyml¶
Generate bookmarks and chapters YAML file from chapters text file.
Usage:
encode-utils-cli chapt2bmqpyml [OPTIONS] EPISODES...
Options:
Name | Type | Description | Default |
---|---|---|---|
-f , --fps |
text | N/A | 24000/1001 |
-v , --vid-info |
boolean | Get corresponding videos info. | False |
-c , --custom-layout |
boolean | Custom layout. | False |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli frames-denum¶
Divide the frames by the specified divisor.
Example:
>>> frames_denum((16886, 26280), denum=2)
<<< "8443 13140"
>>> frames_denum((16886, 26280), denum=.5)
<<< "33772 52560"
Usage:
encode-utils-cli frames-denum [OPTIONS] FRAMES...
Options:
Name | Type | Description | Default |
---|---|---|---|
-d , --denum |
float | Divisor. | 2 |
--copy / --no-copy |
boolean | Copy the result to the clipboard. | True |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli mpls2chap¶
Convert MPLS file to chapter files.
Usage:
encode-utils-cli mpls2chap [OPTIONS] MPLS
Options:
Name | Type | Description | Default |
---|---|---|---|
-s , --start-ep |
integer | Number of first episode in mpls. | 1 |
-d , --out-dir |
directory | Custom out dir. | None |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli num-frames¶
Calculate the number of frames in the given videos.
Usage:
encode-utils-cli num-frames [OPTIONS] VIDS...
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
encode-utils-cli re-chapters¶
Replaces chapter names in episodes with names from a config file.
Usage:
encode-utils-cli re-chapters [OPTIONS] EPISODES...
Options:
Name | Type | Description | Default |
---|---|---|---|
-c , --config |
file | Config in YAML format. | _required |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli re-titles¶
Reformat titles from AniDB.
Example:
>>> 1 The Prince`s New Clothes
<<< e1: EP1 «The Prince`s New Clothes»
Usage:
encode-utils-cli re-titles [OPTIONS]
Options:
Name | Type | Description | Default |
---|---|---|---|
-c , --config |
file | Config in TOML format. | _required |
--copy / --no-copy |
boolean | Copy the result to the clipboard. | True |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli screens2bm¶
Convert hh:mm:ss.xxxx
in screens filenames to bookmark frames.
Example:
>>> 00000 (00:12:34.34) 01.png
<<< 18086
>>> 00000 (00_00_03.34) 02.png
<<< 80
Usage:
encode-utils-cli screens2bm [OPTIONS] SCREENS...
Options:
Name | Type | Description | Default |
---|---|---|---|
-f , --fps |
text | N/A | 24000/1001 |
--copy / --no-copy |
boolean | Copy the result to the clipboard. | True |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli vs-screens¶
Generate screen frames from videos.
Usage:
encode-utils-cli vs-screens [OPTIONS] VIDS...
Options:
Name | Type | Description | Default |
---|---|---|---|
-d , --out-dir |
directory | Custom out dir. | None |
-f , --frames |
text | Frames. Format: "1 2 3". | None |
-o , --offset |
integer | Offset for clip. | 0 |
-c , --crop |
integer | CropRel args. | 0 |
-p , --drop-prop |
boolean | Delete frame prop. | False |
--help |
boolean | Show this message and exit. | False |
encode-utils-cli zones-validator¶
Validate x264/x265 zones configuration file.
Usage:
encode-utils-cli zones-validator [OPTIONS] ZONES_CONFIG
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |