Skip to content

生成视频出错 #126

@DemaCya

Description

@DemaCya

CalledProcessError: Command '['ffmpeg', '-i', 'E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.wav', '-af', 'apad=pad_dur=1', 'E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.temp.wav']' returned non-zero exit status 3199971767.
cmd的日志如下:
main_generate_ai_video_for_mix begin:
main_generate_video_dubbing_for_mix begin
use remote audio
select video scene 1
select video scene 2
select video scene 3
E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.wav
Speech synthesis canceled: CancellationReason.Error
Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://SERVICE_REGION.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 07561bf47ee044688f150a1118c0162d USP state: Sending. Received audio size: 0 bytes.
E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.wav
Speech synthesis canceled: CancellationReason.Error
Error details: Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://SERVICE_REGION.tts.speech.microsoft.com/cognitiveservices/websocket/v1
X-ConnectionId: 823852f6d9434863b7c6d9e5de419c61 USP state: Sending. Received audio size: 0 bytes.
2025-06-06 17:27:50.388 Uncaught app exception
Traceback (most recent call last):
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 575, in _run_script
self._session_state.on_script_will_rerun(
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\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 "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 517, in on_script_will_rerun
self._call_callbacks()
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 530, in _call_callbacks
self._new_widget_state.call_callback(wid)
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\venv\Lib\site-packages\streamlit\runtime\state\session_state.py", line 274, in call_callback
callback(*args, **kwargs)
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\pages\02_mix_video.py", line 95, in generate_video_for_mix
main_generate_ai_video_for_mix(video_generator)
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\main.py", line 342, in main_generate_ai_video_for_mix
main_generate_video_dubbing_for_mix()
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\main.py", line 187, in main_generate_video_dubbing_for_mix
audio_output_file_list, video_dir_list = get_audio_and_video_list(audio_service, audio_rate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\services\hunjian\hunjian_service.py", line 87, in get_audio_and_video_list
extent_audio(audio_output_file, 1)
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\tools\utils.py", line 162, in extent_audio
subprocess.run(command, capture_output=True, check=True)
File "E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\python311\Lib\subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.wav', '-af', 'apad=pad_dur=1', 'E:\MoneyPrinter\MoneyPrinterPlus-windows\MoneyPrinterPlus-windows\work\17492020788060.temp.wav']' returned non-zero exit status 3199971767.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions