agermanidis / autosub

[NO LONGER MAINTAINED] Command-line utility for auto-generating subtitles for any video file
MIT License
4.11k stars 1.64k forks source link

requests.exceptions.ReadTimeout: None: None #162

Open levinyi opened 4 years ago

levinyi commented 4 years ago

$ autosub -S en -D en test.subtitle.mp4 Converting speech regions to FLAC files: 100% |###############################################################################################################################################################################| Time: 0:00:03 Traceback (most recent call last):% |######################## | ETA: 5:44:33 File "/cygene/software/annaconda2/bin/autosub", line 304, in sys.exit(main()) File "/cygene/software/annaconda2/bin/autosub", line 252, in main for i, transcript in enumerate(pool.imap(recognizer, extracted_regions)): File "/cygene/software/annaconda2/lib/python2.7/multiprocessing/pool.py", line 673, in next raise value requests.exceptions.ReadTimeout: None: None

can anybody help?

levinyi commented 4 years ago

need a VPN for ubuntu?

BingLingGroup commented 4 years ago

need a VPN for ubuntu?

@levinyi 这取决于你是在不能连接到google的机器上运行,还是可以连接到google的机器上运行。speech-to-text的api来自google,必须保证和google的连接通畅。

相关问题:#111

levinyi commented 4 years ago

我运行的这个机器不能google,汗