Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'palette.png'

After make all frames throws the following message:

ffmpeg -pattern_type glob -i frames/*.png -y -c:v libx264 ./o_fwd.mp4
dyld: Library not loaded: @rpath/libx264.138.dylib
  Referenced from: /Users/romelldominguez/anaconda3/bin/ffmpeg
  Reason: image not found
dyld: Library not loaded: @rpath/libx264.138.dylib
  Referenced from: /Users/romelldominguez/anaconda3/bin/ffmpeg
  Reason: image not found
dyld: Library not loaded: @rpath/libx264.138.dylib
  Referenced from: /Users/romelldominguez/anaconda3/bin/ffmpeg
  Reason: image not found
Traceback (most recent call last):
  File "conv_test.py", line 64, in <module>
    render(image_o, kernel_diag_fwd, name="o_fwd")
  File "/Users/romelldominguez/Downloads/untitled folder/convolution-2d-animation/conv_two_d_anim.py", line 63, in render
    render_video(name=name)
  File "/Users/romelldominguez/Downloads/untitled folder/convolution-2d-animation/conv_two_d_anim.py", line 299, in render_video
    at.convert_to_gif(filename=filename, dirname=output_dir)
  File "/Users/romelldominguez/Downloads/untitled folder/lodgepole/lodgepole/animation_tools.py", line 201, in convert_to_gif
    os.remove("palette.png")
FileNotFoundError: [Errno 2] No such file or directory: 'palette.png'