jalagar / animated-art-engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
166 stars 64 forks source link

ffmpeg -version block #172

Closed IshariFluttershy closed 1 year ago

IshariFluttershy commented 1 year ago

I have an issue when generating MP4 with ffmpeg. The try/except (build.py line 143) raise an exception. I have ffmpeg installed, when I do ffmpeg -version in my terminal it works. Commenting the try/except solved the problem and the generation ended without problems.

I'm on Windows 10 64 bits

I installed ffmpeg using choco install ffmpeg in Powershell in admin

ffmpeg -version output : ffmpeg version 5.1.2-essentials_build-www.gyan.dev Copyright (c) 2000-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-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --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-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband 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

jalagar commented 1 year ago

Hi @IshariFluttershy sorry for the delay, that doesn't look like an error, do the mp4 get generated correctly?

IshariFluttershy commented 1 year ago

Hi ! The .mp4 generated when I removed the try/except (build.py line 143). Otherwise, it raises an exception and closes the program.

jalagar commented 1 year ago

Great, so you have a workaround?

IshariFluttershy commented 1 year ago

Yes