subtitles_translator
subtitles_translator copied to clipboard
A program for automatically generating subtitles for videos/audio using Whisper/TranslatePy/FFmpeg, and it can translate and add subtitles simultaneously. 使用whisper/translatepy/ffmpeg同时转录、翻译...
是否可以给`Translate()`实例化时给`Request`的`proxy_urls`属性配置可选项? [所在代码行](https://github.com/viking-man/subtitles_translator/blob/main/subtitle/action.py#L97) 例如在命令行调用时: ``` shell subtitle -tl /your/video/file/path/file.mp4 --target-lang "zh" --proxy_url http://127.0.0.1:10809 subtitle -u /your/video/file/path/file.mp4 --target-lang "zh" --proxy_url http://127.0.0.1:10809 ```
在16:9的视频中,字幕可以正常的生成。但是在9:16的视频中,字幕前后被切断,无法正常显示。在ffmpeg_utils.py的add_subtitles函数中进行修改,但还是没有效果。所以想问一下在9:16的视频中字体的大小和位置该如何调整?
As I said in the title, I want to delete the extra models but I can't find where the file is saved after downloading. Where can I delete it?