I plan to use sadtalker to make audio videos. After uploading the video and picture materials, an error occurs after the progress bar runs out. When asking chat gpt, I got the problem of wrong path and duplicate output and input paths. I would like to know how to solve this error code.
Output ./results/fb3f28ce-533e-4e97-91a2-2a71acf22a64\jstosun##429back.mp4 same as Input #0 - exiting
FFmpeg cannot edit existing files in-place.
Error opening output file ./results/fb3f28ce-533e-4e97-91a2-2a71acf22a64\jstosun##429back.mp4.
Error opening output files: Invalid argument
Traceback (most recent call last):
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\queueing.py", line 528, in process_events
response = await route_utils.call_process_api(
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\route_utils.py", line 270, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\blocks.py", line 1918, in process_api
data = await self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\blocks.py", line 1744, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\components\video.py", line 242, in postprocess
processed_files = (self._format_video(value), None)
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\gradio\components\video.py", line 314, in _format_video
ff.run()
File "C:\Users\a1003\SadTalker\venv\lib\site-packages\ffmpy.py", line 113, in run
raise FFRuntimeError(self.cmd, self.process.returncode, out[0], out1)
ffmpy.FFRuntimeError: ffmpeg -y -i ./results/fb3f28ce-533e-4e97-91a2-2a71acf22a64\jstosun##429back.mp4 ./results/fb3f28ce-533e-4e97-91a2-2a71acf22a64\jstosun##429back.mp4
exited with status 4294967274
STDOUT:
STDERR: