Skip to content

How to do multiple files batch processing? #29

Answered by Purfview
despairTK asked this question in Q&A
Discussion options

You must be logged in to vote

Every command line program "supports" it.
To be precise, there is nothing to support, just write a command for your command-line interpreter to do a batch processing.

Simplest example for Command Prompt:
for %i in (*.mkv) do whisper-faster.exe --language=en --model=medium %i

This will process one by one every mkv file in a current folder.

NOTE:
It can have significant overhead as it will reload executable and model on every file, so if you have many short files you may want to process them all in one go instead of one by one.

EDIT:
From 134.5 version Whisper-Faster supports batch processing by directory, filelist or wildcard out of the box.
And there is new --batch_recursive argument.

Few…

Replies: 12 comments 16 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@Purfview
Comment options

Answer selected by Purfview
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Purfview
Comment options

Comment options

You must be logged in to vote
7 replies
@deadcoder0904
Comment options

@Purfview
Comment options

@deadcoder0904
Comment options

@Purfview
Comment options

@deadcoder0904
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Purfview
Comment options

@ClaireCJS
Comment options

@Purfview
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Purfview
Comment options

@deadcoder0904
Comment options

Comment options

You must be logged in to vote
1 reply
@Purfview
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #28 on June 28, 2023 17:10.