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

audio files #177

Open Lavatoto opened 1 year ago

Lavatoto commented 1 year ago

Hi, with the latest version of the code, I have a problem in step 3 generating files with audio, the first two steps are error-free, but I don't understand?

thanks

make step3 python3 step3_generative_sheet_to_output/build.py Starting step 3: Converting sprite sheets to mp4 Converting spritesheet to mp4 for 1.png Traceback (most recent call last): File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 143, in generate_ffmpeg subprocess.Popen(["ffmpeg -version"]) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 1440, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 433, in main() File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 420, in main generate_output( File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 347, in generate_output convert_pngs_to_output( File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 264, in convert_pngs_to_output generate_ffmpeg( File "C:\Users\XX\Desktop\XXX\animated-art-engine\step3_generative_sheet_to_output\build.py", line 145, in generate_ffmpeg raise Exception(f"Error running ffmpeg, did you forget to install it? Try brew install ffmpeg or choco install ffmpeg") Exception: Error running ffmpeg, did you forget to install it? Try brew install ffmpeg or choco install ffmpeg make: *** [Makefile:12: step3] Error 1