Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the output of --live_transcribe #52

Open
fatualux opened this issue Jul 17, 2023 · 4 comments
Open

Use the output of --live_transcribe #52

fatualux opened this issue Jul 17, 2023 · 4 comments

Comments

@fatualux
Copy link

Hi, and thanks for your project, it works flawlessly and I had met no issue at all.
I would just like to ask if there is a way to "trap" or echo somewhere the real time transcriptions obtained with the option --live_transcribe True
Thanks in advance for your support

@ArnaudKunzi
Copy link

Sounds like a job for tee.

@fatualux
Copy link
Author

fatualux commented Oct 2, 2023

Thanks I did not know this package. I will try to write a sctipt to integrate tee with --live_transcribe.

@mpuz
Copy link

mpuz commented Oct 19, 2023

Hi, and thanks for your project, it works flawlessly and I had met no issue at all. I would just like to ask if there is a way to "trap" or echo somewhere the real time transcriptions obtained with the option --live_transcribe True Thanks in advance for your support

Looks like You are the happy one who succeed to have live-transcribe to work, can You share your cli args and what language do You transcribe?

for saving output You can feed it to the output to file - read help

whisper-ctranslate2 --help

take a look at

Configuration options to control generated outputs:
  --output_dir OUTPUT_DIR, -o OUTPUT_DIR
                        directory to save the outputs (default: .)
  --output_format {txt,vtt,srt,tsv,json,all}, -f {txt,vtt,srt,tsv,json,all}
                        format of the output file; if not specified, all
                        available formats will be produced (default: all)
  --pretty_json PRETTY_JSON, -p PRETTY_JSON
                        produce json in a human redable format (default:
                        False)

@fatualux
Copy link
Author

fatualux commented Oct 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants