Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 605676b

Browse files
committed
Update README
1 parent 6d1d2bd commit 605676b

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,30 @@ Here's a quick demo how to set up and run ```videogrep.bat``` on Windows ([YouTu
3030

3131
### Additional Options:
3232

33-
* ```-ph GAP_BETWEEN_PHRASES, --phrases```
34-
move the start time of the clip to the beginning of the current phrase (default=1.25 seconds)
35-
* ```-l SECONDS, --limit```
36-
maximum phrase's duration (default=60 seconds)
3733
* ```-p SECONDS, --padding```
3834
padding in seconds to add to the start and the end of each clip (default=0.0 seconds)
3935
* ```-e SECONDS, --ending```
4036
play only matching lines (or phrases)
4137
* ```-r, --randomize```
4238
randomize the clips
43-
* ```-o FILENAME, --output```
44-
write the \'grep\' output to the file
45-
* ```-d, --demo```
46-
only show grep results
4739
* ```-a, --audio```
4840
create audio fragments
4941
* ```-v, --video```
5042
create video fragments
43+
* ```-s, --subtitles```
44+
create subtitles
5145
* ```-vs, --video-sub```
5246
create video fragments with hardcoded subtitles
53-
* ```-s, --subtitles```
54-
create subtitles for fragments
47+
* ```-o DIRNAME, --output```
48+
the output folder for audio and video fragments (default=.)
49+
* ```-d, --demo```
50+
only show grep results
51+
* ```-g FILENAME, --grep-output```
52+
write the \'grep\' output to the file
53+
* ```-ph GAP_BETWEEN_PHRASES, --phrases```
54+
move the start time of the clip to the beginning of the current phrase (default=1.25 seconds)
55+
* ```-l SECONDS, --limit```
56+
maximum phrase\'s duration (default=60 seconds)
5557
* ```-m OPTIONS, --mpv-options```
5658
mpv player options
5759

playphrase.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -548,18 +548,18 @@ def print_usage():
548548
print("Init: playphrase -i <media_dir> _init_")
549549
print()
550550
print("Additional options:")
551-
print("-ph GAP_BETWEEN_PHRASES, --phrases", " ", "move the start time of the clip to the beginning of the current phrase (default=1.25 seconds)")
552-
print("-l SECONDS, --limit", " ", "maximum phrase's duration (default=60 seconds)")
553551
print("-p SECONDS, --padding", " ", "padding in seconds to add to the start and the end of each clip (default=0.0 seconds)")
554552
print("-e SECONDS, --ending", " ", "play only matching lines (or phrases)")
555553
print("-r, --randomize", " ", "randomize the clips")
556-
print("-o DIRNAME, --output", " ", "the output folder for audio or video fragments")
557-
print("-g FILENAME, --grep-output", " ", "write the 'grep' output to the file")
558-
print("-d, --demo", " ", "only show grep results")
559554
print("-a, --audio", " ", "create audio fragments")
560555
print("-v, --video", " ", "create video fragments")
556+
print("-s, --subtitles", " ", "create subtitles")
561557
print("-vs, --video-sub", " ", "create video fragments with hardcoded subtitles")
562-
print("-s, --subtitles", " ", "create subtitles for fragments")
558+
print("-o DIRNAME, --output", " ", "the output folder for audio and video fragments (default=.)")
559+
print("-d, --demo", " ", "only show grep results")
560+
print("-g FILENAME, --grep-output", "", "write the 'grep' output to the file")
561+
print("-ph GAP_BETWEEN_PHRASES, --phrases", "", "move the start time of the clip to the beginning of the current phrase (default=1.25 seconds)")
562+
print("-l SECONDS, --limit", " ", "maximum phrase's duration (default=60 seconds)")
563563
print("-m OPTIONS, --mpv-options", " ", "mpv player options")
564564

565565
if __name__ == '__main__':

0 commit comments

Comments
 (0)