mirror of
https://github.com/karl0ss/bazarr-ai-sub-generator.git
synced 2025-04-26 14:59:21 +01:00
Readme changes
This commit is contained in:
parent
ec1e8e2c19
commit
fab2921954
@ -1,6 +1,8 @@
|
|||||||
# Automatic subtitles in your videos
|
# Automatic subtitles in your videos
|
||||||
|
|
||||||
This repository uses `ffmpeg` and [OpenAI's Whisper](https://openai.com/blog/whisper) ([faster-whisper](https://github.com/SYSTRAN/faster-whisper) implementation) to automatically generate and overlay subtitles on any video.
|
This is a fork of [auto_subtitle](https://github.com/m1guelpf/auto-subtitle) using [faster-whisper](https://github.com/SYSTRAN/faster-whisper) implementation.
|
||||||
|
|
||||||
|
This repository uses `ffmpeg` and [OpenAI's Whisper](https://openai.com/blog/whisper) to automatically generate and overlay subtitles on any video.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -28,6 +30,7 @@ The following command will generate a `subtitled/video.mp4` file contained the i
|
|||||||
faster_auto_subtitle /path/to/video.mp4 -o subtitled/
|
faster_auto_subtitle /path/to/video.mp4 -o subtitled/
|
||||||
|
|
||||||
The default setting (which selects the `small` model) works well for transcribing English. You can optionally use a bigger model for better results (especially with other languages). The available models are `tiny`, `tiny.en`, `base`, `base.en`, `small`, `small.en`, `medium`, `medium.en`, `large`, `large-v1`, `large-v2`, `large-v3`.
|
The default setting (which selects the `small` model) works well for transcribing English. You can optionally use a bigger model for better results (especially with other languages). The available models are `tiny`, `tiny.en`, `base`, `base.en`, `small`, `small.en`, `medium`, `medium.en`, `large`, `large-v1`, `large-v2`, `large-v3`.
|
||||||
|
|
||||||
faster_auto_subtitle /path/to/video.mp4 --model medium
|
faster_auto_subtitle /path/to/video.mp4 --model medium
|
||||||
|
|
||||||
Adding `--task translate` will translate the subtitles into English:
|
Adding `--task translate` will translate the subtitles into English:
|
||||||
@ -42,7 +45,7 @@ Run the following to view all available options:
|
|||||||
|
|
||||||
The tool also exposes a couple of model parameters, that you can tweak to increase accuracy.
|
The tool also exposes a couple of model parameters, that you can tweak to increase accuracy.
|
||||||
|
|
||||||
Higher `beam_size` usually leads to greater accuraccy, but slows down the process.
|
Higher `beam_size` usually leads to greater accuracy, but slows down the process.
|
||||||
|
|
||||||
Setting higher `no_speech_threshold` could be useful for videos with a lot of background noise to stop Whisper from "hallucinating" subtitles for it.
|
Setting higher `no_speech_threshold` could be useful for videos with a lot of background noise to stop Whisper from "hallucinating" subtitles for it.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user