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

Again not working Ubuntu 20.04 #198

Open HakkaTjakka opened 2 years ago

HakkaTjakka commented 2 years ago

Ubuntu 20.04 Python 2 (after cleaning up .local) Python 3 (after cleaning up .local)

pip install git+https://github.com/agermanidis/autosub.git (after cleaning up .local) pip2 install git+https://github.com/agermanidis/autosub.git (after cleaning up .local) pip3 install git+https://github.com/agermanidis/autosub.git (after cleaning up .local)

Tried all combinations. First it didn't work. Then one day later it worked. Then next day stopped working, again. Tried the pip install and/or clone and/or .zip. Also tried other repo's. Under Ubuntu for Windows 10 still working, but a copy from there is not working under real Linux. Please help. Is it obstructed? Like (lots) of other stuff? (40 years of experience on things like this. Almost never something works good.)

pacman@PACMAN-PC:~$ autosub -S en -D en test2.mp4 Traceback (most recent call last): File "/home/pacman/.local/bin/autosub", line 304, in sys.exit(main()) File "/home/pacman/.local/bin/autosub", line 232, in main regions = find_speech_regions(audio_filename) File "/home/pacman/.local/bin/autosub", line 147, in find_speech_regions reader = wave.open(filename) File "/usr/lib/python2.7/wave.py", line 511, in open return Wave_read(f) File "/usr/lib/python2.7/wave.py", line 164, in init self.initfp(f) File "/usr/lib/python2.7/wave.py", line 129, in initfp self._file = Chunk(file, bigendian = 0) File "/usr/lib/python2.7/chunk.py", line 63, in init raise EOFError EOFError