armadillica / flamenco

Free and Open Source render manager.
https://flamenco.io
Other
264 stars 54 forks source link

ZLIB_1.2.9 not found on create-video task #247

Closed binarypearl closed 2 years ago

binarypearl commented 4 years ago

The task 'create-video' at the end of a flamenco job is failing (at least on Ubuntu 18.04 systems) with the error '`ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)'.

I can add all of the resulting images in the video sequencer to produce the video easy enough, but this error prevents the flamenco move-to-final task from happening, so the job remains in an 'ACTIVE' state indefinitely.

Worker version: 2.4 Manager version: 2.7

Error log below. If you need any other details, please let me know, thanks!

020-07-27T02:44:12.206055+00:00: create_video: Starting 2020-07-27T02:44:12.206968+00:00: create_video: Executing /usr/bin/ffmpeg -r 24 -pattern_type glob -i '/mnt/backup2/blender/flamenco/render/particle_testing/eosd_level_1_intermediate-2020-07-27_023640/.png' -c:v h264 -crf 20 -g 18 -vf 'pad=ceil(iw/2)2:ceil(ih/2)*2' -pix_fmt yuv420p -y -bf 0 /mnt/backup2/blender/flamenco/render/particle_testing/eosd_level1intermediate-2020-07-27_023640/eosd_level1-1-250.mkv 2020-07-27T02:44:12.218420+00:00: pid=4243 > /usr/bin/ffmpeg: /home/smiller/Downloads/flamenco-worker-2.4/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16) 2020-07-27T02:44:12.219245+00:00: create_video: Subprocess /usr/bin/ffmpeg -r 24 -pattern_type glob -i '/mnt/backup2/blender/flamenco/render/particle_testing/eosd_level_1_intermediate-2020-07-27_023640/.png' -c:v h264 -crf 20 -g 18 -vf 'pad=ceil(iw/2)2:ceil(ih/2)*2' -pix_fmt yuv420p -y -bf 0 /mnt/backup2/blender/flamenco/render/particle_testing/eosd_level1intermediate-2020-07-27_023640/eosd_level1-1-250.mkv: Process pid=4243 exited with status code 1 2020-07-27T02:44:12.219379+00:00: create_video.(task_id=5f1e3dbc4ca65e7c4591f71c, command_idx=0): Error executing: Command /usr/bin/ffmpeg -r 24 -pattern_type glob -i '/mnt/backup2/blender/flamenco/render/particle_testing/eosd_level_1_intermediate-2020-07-27_023640/.png' -c:v h264 -crf 20 -g 18 -vf 'pad=ceil(iw/2)2:ceil(ih/2)*2' -pix_fmt yuv420p -y -bf 0 /mnt/backup2/blender/flamenco/render/particle_testing/eosd_level1intermediate-2020-07-27_023640/eosd_level1-1-250.mkv (pid=4243) failed with status 1 2020-07-27T02:44:12.219541+00:00: create_video: command timing information: {"total": 0.013134756998624653} 2020-07-27T02:44:12.219736+00:00: Aggregated task timing info: {"total": 0.013134756998624653}

sybrenstuvel commented 4 years ago

This is fixed in Flamenco Worker version 2.5, which I see now has never been published as download on flamenco.io.

If you're familiar with Git, you can grab the sources from https://git.blender.org/flamenco-worker.git, then run

pipenv install --dev
pipenv run python mkdistfile.py
binarypearl commented 4 years ago

Great, thanks! If I need the fix before 2.5 is published, I should be able to get the sources. Most likely I'll wait until 2.5 is published then deploy that to all of my workers.