Video Script Error
I am using Automatic1111's UI and I have previously ran https://github.com/memes-forever/Stable-diffusion-webui-video that video script just fine... but the last few days I have been having trouble getting it to finish the project... It makes the images fine, but when processing the video it fails for me...
[libx264 @ 000001f568b70140] height not divisible by 2 (592x735)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
Total progress: 77%|█████████████████████████████████████████████▎ | 8073/10500 [1:22:36<24:50, 1.63it/s]
ffplay version 5.1.1-full_build-www.gyan.dev Copyright (c) 2003-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000027652b922c0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000027652b922c0] moov atom not found
D:\SuperStableDiffusion\stable-diffusion-webui\outputs\img2img-videos\02863-187236131-Hearts Evil Clown Makeup Green And Purple Long Spring Neck Coming Out Of Box With Question Mark on it.mp4: Invalid data found when processing input
About this post
- Posted
- Archived
- Score
- 0 · 50% up
- Kind
- Text
- ID
- ya5cci
7 comments
getting the same error, ever find a fix?
No... unfortunately. Were you able to run it fine at all? I got it to work once.
It seems to be an issue when I try to generate it as an ffmpeg as opposed to a gif. I ensured ffmpeg was installed and in the correct location but still got the same results. Maybe try asking in their discord https://discord.gg/deforum
Seems like some sort of ffmpeg problem… Maybe try just generating the frames and use another tool/script to generate the mp4 from the images?
Mmm its strange to me it has already worked once.. I guess I can uninstall and reinstall.
[libx264 @ 000001f568b70140] height not divisible by 2 (592x735)
Also the W and H is 512 x 512 ... so that is confusing me as well..