BingLingGroup / autosub

Command-line utility to transcribe/translate from video/audio/subtitles to subtitles
GNU General Public License v2.0
1.97k stars 243 forks source link

字幕文件翻译不自动识别 #204

Open xinmans opened 7 months ago

xinmans commented 7 months ago

autosub -i snPYfORbekU.en.vtt -SRC en -D zh-cn Speech language not provided. Only performing speech regions detection.

Convert source file to "/tmp/tmpz7x79zlo.wav" to detect audio regions. /usr/bin/ffmpeg -hide_banner -y -i "snPYfORbekU.en.vtt" -vn -ac 1 -ar 48000 -loglevel error "/tmp/tmpz7x79zlo.wav" Output file #0 does not contain any stream

Use ffprobe to check conversion result. /usr/bin/ffprobe "/tmp/tmpz7x79zlo.wav" -show_format -pretty -loglevel quiet

Error: Convert source file to "/tmp/tmpz7x79zlo.wav" failed.

autosub -V autosub 0.5.7-alpha by Bing Ling binglinggroup@outlook.com