Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha nuitka 0.5.7 这个版本的autosub在运行时报错 #164

Open
1br8s4gs4 opened this issue Feb 21, 2021 · 2 comments
Open

alpha nuitka 0.5.7 这个版本的autosub在运行时报错 #164

1br8s4gs4 opened this issue Feb 21, 2021 · 2 comments

Comments

@1br8s4gs4
Copy link

输出内容如下:
D:\autosub-0.5.7-alpha-win-x64-nuitka\autosub\autosub>.\autosub -S en-US -i "..
01.mp3"
翻译目的语言未提供。只进行语音识别。

将源文件转换为"C:\Users\ADMINI1\AppData\Local\Temp\tmp6w_ar11l.wav"来检测语音区
域。
D:\autosub-0.5.7-alpha-win-x64-pyinstaller\autosub_pyinstaller\ffmpeg.exe -hide_
banner -y -i "..\01.mp3" -vn -ac 1 -ar 48000 -loglevel error "C:\Users\ADMINI
1
AppData\Local\Temp\tmp6w_ar11l.wav"
使用ffprobe来检查转换结果。
D:\autosub-0.5.7-alpha-win-x64-pyinstaller\autosub_pyinstaller\ffprobe.exe "C:\U
sers\ADMINI~1\AppData\Local\Temp\tmp6w_ar11l.wav" -show_format -pretty -loglevel
quiet
Traceback (most recent call last):
File "D:\autosub-0.5.7-alpha-win-x64-nuitka\autosub\autosub_main_.py", line
25, in
File "D:\autosub-0.5.7-alpha-win-x64-nuitka\autosub\autosub\autosub_init_.p
y", line 156, in main
File "D:\autosub-0.5.7-alpha-win-x64-nuitka\autosub\autosub\autosub\cmdline_ut
ils.py", line 1096, in audio_or_video_prcs
File "D:\autosub-0.5.7-alpha-win-x64-nuitka\autosub\autosub\autosub\ffmpeg_uti
ls.py", line 164, in ffprobe_check_file
UnicodeDecodeError: 'gbk' codec can't decode byte 0x89 in position 297: illegal
multibyte sequence

@BingLingGroup
Copy link
Owner

应该是nuitka自己的问题,你别的版本没遇到吧?
我打算下个版本放弃pyinstaller和nuitka,直接打包一个python环境就完了。这俩其实用起来都不顺心。
目前的解决方法是你用pip进行安装使用。

@1br8s4gs4
Copy link
Author

是的,pyinstaller版本能正常运行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants