Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
azhuge233 committed Jun 22, 2023
1 parent 3d36fc6 commit 7b4296d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Usage

```pwsh
ConsoleWhisper --help
> ConsoleWhisper --help
-i, --input Required. Input media files.
-m, --model (Default: small) Whisper model: base, tiny, small, medium, large.
-o, --output (Default: current directory) Output directory.
Expand All @@ -19,10 +19,7 @@ ConsoleWhisper --help
### Generate .srt subtitle for videos

```pwsh
ConsoleWhisper.exe -i .\Friends.s01.e02.mkv
```

```pwsh
> ConsoleWhisper.exe -i .\Friends.s01.e02.mkv
".\Friends.s01.e02.mkv": Multiple audio stream detected.
- 0:
Language: ukr | Title: AC3 2.0 @ 192 kbps 1+1
Expand All @@ -40,10 +37,7 @@ whisper_full_with_state: progress = 10%
### Extract soundtracks from video files

```pwsh
ConsoleWhipser -i .\*.mp4 -o .\ --multithread --only-extract
```

```pwsh
> ConsoleWhipser -i .\*.mp4 -o .\ --multithread --only-extract
Use multithreading will disable user input.
If media file has multiple soundtracks, program will extract the first one, you will NOT be able to choose.
If you are transcribing, make sure to have enough disk space to store the temp .wav file.
Expand Down

0 comments on commit 7b4296d

Please sign in to comment.