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

output both txt and subs at the same time? #342

Open
barrars opened this issue Apr 11, 2024 · 2 comments
Open

output both txt and subs at the same time? #342

barrars opened this issue Apr 11, 2024 · 2 comments

Comments

@barrars
Copy link

barrars commented Apr 11, 2024

I want to run stable-ts on an mp3 and output both .txt file and .ass at the same time.

neither of these work:
stable-ts sound.mp3 -o out.txt out.ass
stable-ts sound.mp3 -o out.txt -o out.ass

@jianfch
Copy link
Owner

jianfch commented Apr 11, 2024

The multi-output support currently only works for multiple inputs:
stable-ts 1.mp3 2.mp3 -o 1.srt 2.srt
To avoid re-transcribing, you can do this:
stable-ts sound.mp3 -o out.json
stable-ts out.json -o out.txt
stable-ts out.json -o out.ass

You can use --persist/-p with the first line avoid reloading stable-ts.

@barrars
Copy link
Author

barrars commented Apr 11, 2024

Thanks for the help!

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

2 participants