ddean2009 / MoneyPrinterPlus

AI一键批量生成各类短视频,自动批量混剪短视频,自动把视频发布到抖音,快手,小红书,视频号上,赚钱从来没有这么容易过! 支持本地语音模型chatTTS,fasterwhisper,GPTSoVITS,支持云语音:Azure,阿里云,腾讯云。支持Stable diffusion,comfyUI直接AI生图。Generate short videos with one click using AI LLM,print money together! support:chatTTS,faster-whisper,GPTSoVITS,Azure,tencent Cloud,Ali Cloud.
GNU General Public License v3.0
2.28k stars 432 forks source link

生成视频或试听声音报错 #11

Closed finddream2023 closed 4 months ago

finddream2023 commented 4 months ago

生成视频或试听声音报错,已试过多次仍然报错:

CalledProcessError: Command '['ffmpeg', '-i', 'E:\Documents\pythonProject\MoneyPrinterPlus-main\work\1720084872439.wav', '-af', 'apad=pad_dur=2', 'E:\Documents\pythonProject\MoneyPrinterPlus-main\work\1720084872439.temp.wav']' returned non-zero exit status 3199971767. Traceback: File "C:\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 575, in _run_script self._session_state.on_script_will_rerun( File "C:\Python\Python310\lib\site-packages\streamlit\runtime\state\safe_session_state.py", line 65, in on_script_will_rerun self._state.on_script_will_rerun(latest_widget_states) File "C:\Python\Python310\lib\site-packages\streamlit\runtime\state\session_state.py", line 517, in on_script_will_rerun self._call_callbacks() File "C:\Python\Python310\lib\site-packages\streamlit\runtime\state\session_state.py", line 530, in _call_callbacks self._new_widget_state.call_callback(wid) File "C:\Python\Python310\lib\site-packages\streamlit\runtime\state\session_state.py", line 274, in call_callback callback(*args, **kwargs) File "E:\Documents\pythonProject\MoneyPrinterPlus-main\pages\01_auto_video.py", line 70, in generate_video main_generate_ai_video(video_generator) File "E:\Documents\pythonProject\MoneyPrinterPlus-main\main.py", line 242, in main_generate_ai_video main_generate_video_dubbing() File "E:\Documents\pythonProject\MoneyPrinterPlus-main\main.py", line 139, in main_generate_video_dubbing extent_audio(audio_output_file, 2) File "E:\Documents\pythonProject\MoneyPrinterPlus-main\tools\utils.py", line 137, in extent_audio subprocess.run(command, capture_output=True, check=True) File "C:\Python\Python310\lib\subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, 报错

ffmpeg是在官网下载的“ffmpeg-2024-06-30-git-b818dff8d8-full_build”版本,已添加环境变量: cmd-ffmpeg

ddean2009 commented 4 months ago

完整日志发一下

finddream2023 commented 4 months ago

完整日志发一下

页面就显示这么多内容,已经复制和截图上去了,还可以去哪里找完整日志?另外那个加群二维码扫不进去,说超过200人要使用邀请呢

ddean2009 commented 4 months ago

完整日志在命令行里面找找 , 你这个问题不是页面上展示的问题。 应该是之前有一步报错了。 我更新一个新的二维码。稍等。

ddean2009 commented 4 months ago

群二维码更新了

finddream2023 commented 4 months ago

重新执行了一遍: 1 2

finddream2023 commented 4 months ago

要在群里讨论,还是在github上讨论?

ddean2009 commented 4 months ago

群里讨论吧

ddean2009 commented 3 months ago

pip install pyaudio