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.47k stars 465 forks source link

CalledProcessError: Command '['ffmpeg', '-i', 'D:\\workspaces\\MoneyPrinterPlus\\work\\1725969299247.wav', '-af', 'apad=pad_dur=2', 'D:\\workspaces\\MoneyPrinterPlus\\work\\1725969299247.temp.wav']' returned non-zero exit status 3199971767. #42

Closed guiyu closed 2 months ago

guiyu commented 2 months ago

CalledProcessError: Command '['ffmpeg', '-i', 'D:\workspaces\MoneyPrinterPlus\work\1725969299247.wav', '-af', 'apad=pad_dur=2', 'D:\workspaces\MoneyPrinterPlus\work\1725969299247.temp.wav']' returned non-zero exit status 3199971767.

看了下1725969299247.temp.wav 这个文件大小为0,请问是哪一步生成的临时音频文件,又为什么为空呢?

guiyu commented 2 months ago

Traceback: File "D:\workspaces\MoneyPrinterPlus\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 575, in _run_script self._session_state.on_script_will_rerun( File "D:\workspaces\MoneyPrinterPlus\venv\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 "D:\workspaces\MoneyPrinterPlus\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 517, in on_script_will_rerun self._call_callbacks() File "D:\workspaces\MoneyPrinterPlus\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 530, in _call_callbacks self._new_widget_state.call_callback(wid) File "D:\workspaces\MoneyPrinterPlus\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 274, in call_callback callback(*args, **kwargs) File "D:\workspaces\MoneyPrinterPlus\pages\01_auto_video.py", line 98, in generate_video main_generate_ai_video(video_generator) File "D:\workspaces\MoneyPrinterPlus\main.py", line 291, in main_generate_ai_video main_generate_video_dubbing() File "D:\workspaces\MoneyPrinterPlus\main.py", line 177, in main_generate_video_dubbing extent_audio(audio_output_file, 2) File "D:\workspaces\MoneyPrinterPlus\tools\utils.py", line 162, in extent_audio subprocess.run(command, capture_output=True, check=True) File "C:\Users\Weiyi\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args,

guiyu commented 2 months ago

这个问题已经解决,问题的原因在于chatTTS配置问题导致,解决之后就没问题了。

ziyekudeng commented 2 weeks ago

image 修复方式如图

z3300200 commented 1 week ago

怎么解决的呢?