sd-webui-replacer
sd-webui-replacer copied to clipboard
Exception: ffmpeg exited with code 1. See console for details
Aspect ratio has been corrected from 512x512 to 664x392 Reusing loaded model dreamshaper_8.safetensors [879db523c3] to load epicphotogasm_z-inpainting.safetensors [d157850094] Loading weights [d157850094] from D:\Webui1111\Webui\stable-diffusion-portable-main\models\Stable-diffusion\epicphotogasm_z-inpainting.safetensors Creating model from config: D:\Webui1111\Webui\stable-diffusion-portable-main\configs\v1-inpainting-inference.yaml Applying attention optimization: sdp... done. Model loaded in 1.2s (create model: 0.4s, apply weights to model: 0.5s, calculate empty prompt: 0.2s). 100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:40<00:00, 2.01s/it] Total progress: 40it [10:25, 15.63s/it] Total progress: 40it [10:25, 2.21s/it] Preparing frame in fragment 1: 1 / 32 | 0/20 [00:00<?, ?it/s] Preparing frame in fragment 1: 2 / 32 Preparing frame in fragment 1: 3 / 32 Preparing frame in fragment 1: 4 / 32 Preparing frame in fragment 1: 5 / 32 Preparing frame in fragment 1: 6 / 32 Preparing frame in fragment 1: 7 / 32 Preparing frame in fragment 1: 8 / 32 Preparing frame in fragment 1: 9 / 32 Preparing frame in fragment 1: 10 / 32 Preparing frame in fragment 1: 11 / 32 Preparing frame in fragment 1: 12 / 32 Preparing frame in fragment 1: 13 / 32 Preparing frame in fragment 1: 14 / 32 Preparing frame in fragment 1: 15 / 32 Preparing frame in fragment 1: 16 / 32 Preparing frame in fragment 1: 17 / 32 Preparing frame in fragment 1: 18 / 32 Preparing frame in fragment 1: 19 / 32 Preparing frame in fragment 1: 20 / 32 Preparing frame in fragment 1: 21 / 32 Preparing frame in fragment 1: 22 / 32 Preparing frame in fragment 1: 23 / 32 Preparing frame in fragment 1: 24 / 32 Preparing frame in fragment 1: 25 / 32 Preparing frame in fragment 1: 26 / 32 Preparing frame in fragment 1: 27 / 32 Preparing frame in fragment 1: 28 / 32 Preparing frame in fragment 1: 29 / 32 Preparing frame in fragment 1: 30 / 32 Preparing frame in fragment 1: 31 / 32 Preparing frame in fragment 1: 32 / 32 inpainting fragment 1 / 1 Aspect ratio has been corrected from 512x512 to 512x512 100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:39<00:00, 1.97s/it] merging fragments00%|██████████████████████████████████████████████████████████████████| 20/20 [00:44<00:00, 1.98s/it] 0%| | 0/1 [00:00<?, ?it/s] video saving D:\Webui1111\Webui\stable-diffusion-portable-main\venv\lib\site-packages\imageio_ffmpeg\binaries\ffmpeg-win64-v4.2.2.exe -framerate 15 -i 'C:\Users\ggrov\Downloads\Replacer project - 1735979478\outputs\1735981262\result%5d-281252999.png' -r 15 -i 'C:\Users\ggrov\Downloads\Replacer project - 1735979478\original.mp4' -map 0:v:0 -map 1:a:0? -c:v libx264 -c:a aac -vf fps=15 -profile:v main -pix_fmt yuv420p -shortest -y 'C:\Users\ggrov\Downloads\Replacer project - 1735979478\outputs\1735981262\replacer_original.mp4_281252999.mp4' ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 [image2 @ 000001e19b8eba40] Could find no file with path 'C:\Users\ggrov\Downloads\Replacer project - 1735979478\outputs\1735981262\result%5d-281252999.png' and index in the range 0-4 C:\Users\ggrov\Downloads\Replacer project - 1735979478\outputs\1735981262\result%5d-281252999.png: No such file or directory *** Error completing request *** Arguments: ('task(cc420xwdqg31oqh)', 'C:\Users\ggrov\Downloads\Replacer project - 1735979478', 15, 36, 0, 12, 1, -1, 1, 16, False, 'butterworth', 0.25, 0.25, 3, True, 'None', 1, False, 'dreamshaper_8.safetensors [879db523c3]', 'None', '', '', 'white shirt', '', 'None', -1, 'DPM++ 2M SDE', 'Automatic', 20, 0.3, 35, 4, 1280, 'sam_hq_vit_l.pth', 'GroundingDINO_SwinB (938MB)', 5.5, 1, 40, 0, 512, 512, 0, False, False, 'epicphotogasm_z-inpainting.safetensors [d157850094]', 'Random', True, 1, False, False, False, '-', -1, 0, False, True, True) {} Traceback (most recent call last): File "D:\Webui1111\Webui\stable-diffusion-portable-main\modules\call_queue.py", line 57, in f res = list(func(*args, **kwargs)) File "D:\Webui1111\Webui\stable-diffusion-portable-main\modules\call_queue.py", line 36, in f res = func(*args, **kwargs) File "D:\Webui1111\Webui\stable-diffusion-portable-main\extensions\sd-webui-replacer\replacer\ui\video\generation.py", line 180, in videoGenerateUI save_video(resultPath, target_video_fps, originalVideo, saveVideoPath, gArgs.seed) File "D:\Webui1111\Webui\stable-diffusion-portable-main\extensions\sd-webui-replacer\replacer\video_tools.py", line 63, in save_video runFFMPEG( File "D:\Webui1111\Webui\stable-diffusion-portable-main\extensions\sd-webui-replacer\replacer\video_tools.py", line 20, in runFFMPEG raise Exception(f'ffmpeg exited with code {rc}. See console for details') Exception: ffmpeg exited with code 1. See console for details