Open Yasser-Mahmoud opened 8 years ago
I'm having the same issue, any luck?
No, I had to try it on linux. The code worked flawslessly but the output file is zero byte. Let me know if you had any luck
Interesting, still no luck on win32 but I'll try to run it on a nix box and see what happens, I'll let you know what happens.
ok, got it to work on Linux as well but the same issue, however I think I know why it's not working. The Speech API is no longer available for the public. I was trying to get my own API key but there doesn't seem to be away to do that unless you're working on the Chromium project.
close the .flac file before running ffmpeg on it. in class FLACConverter change to :
temp = tempfile.NamedTemporaryFile(suffix='.flac') temp.close()
command = ["ffmpeg", "-y", "-i" , self.source_path, "-ss", str(start), "-t", str(end-start), "-loglevel", "error", temp.name] subprocess.check_output(command)
return open(temp.name, "rb").read()
temp = tempfile.NamedTemporaryFile(suffix='.flac', delete=False)
Tks you
I have the same problem but i use Vista, how should i edit the autosub_app?
I solved it by only change temp = tempfile.NamedTemporaryFile(suffix='.flac', delete=False) Thanks very much for the help
I am running into this problem I don't know what to do