From 64eebd532eb539a83b0ac618693d45004705e106 Mon Sep 17 00:00:00 2001 From: LightArrowsEXE Date: Tue, 20 Aug 2019 00:37:20 +0200 Subject: [PATCH] Update README.md * Add examples for "generate_keyframes" --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31be04f..1ea1e4d 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,24 @@ of this. | --extension | -E | pick extension to generate keyframes for | | --noheader | -N | do not include header line for aegisub | | --outfile | -O | name for keyframes file output | -| --trims | -T | string of trims to source file. format: "[inclusive,exclusive],[inclusive,exclusive],[None,exclusive],[inclusive,None]\" | +| --trims | -T | string of trims to source file.
format: "[inclusive,exclusive],[inclusive,exclusive],[None,exclusive],[inclusive,None]\" | + +### Usage Example: + +**Trim one second off of the start and end** +```bash +$ python generate_keyframes.py -T "[24,-24]" +``` + +**Trim three seconds off of the end** +```bash +$ python generate_keyframes.py -T "[None,-72]" +``` + +**Trim the first five seconds** +```bash +$ python generate_keyframes.py -T "[120,None]" +``` ## remux Generic script for remuxing videos