I’ve started having problems with animating with Plots.jl
that I previously had no issues with. For the example:
using Plots
@userplot CirclePlot
@recipe function f(cp::CirclePlot)
x, y, i = cp.args
n = length(x)
inds = circshift(1:n, 1 - i)
linewidth --> range(0, 10, length = n)
seriesalpha --> range(0, 1, length = n)
aspect_ratio --> 1
label --> false
x[inds], y[inds]
end
n = 150
t = range(0, 2π, length = n)
x = sin.(t)
y = cos.(t)
anim = @animate for i ∈ 1:n
circleplot(x, y, i)
end
gif(anim, fps = 15)
I get the error:
dyld: Library not loaded: @rpath/libintl.8.dylib
Referenced from: /Users/grs53/.julia/artifacts/d30bf8e9f9b903de5e42ffdad9e1118722c08cd8/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
failed process: Process(`/Users/grs53/.julia/artifacts/d30bf8e9f9b903de5e42ffdad9e1118722c08cd8/bin/ffmpeg -v 16 -i /var/folders/55/nj7rw6rd0_94ch6cy0sgh9j0mpp4z3/T/jl_udrWHD/%06d.png -vf palettegen=stats_mode=diff -y /var/folders/55/nj7rw6rd0_94ch6cy0sgh9j0mpp4z3/T/jl_udrWHD/palette.bmp`, ProcessSignaled(6)) [0]
Stacktrace:
[1] pipeline_error
@ ./process.jl:531 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:446
[3] run
@ ./process.jl:444 [inlined]
[4] (::FFMPEG.var"#4#6"{Cmd})(command_path::String)
@ FFMPEG ~/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:112
[5] (::JLLWrappers.var"#2#3"{FFMPEG.var"#4#6"{Cmd}, String})()
@ JLLWrappers ~/.julia/packages/JLLWrappers/QpMQW/src/runtime.jl:49
[6] withenv(::JLLWrappers.var"#2#3"{FFMPEG.var"#4#6"{Cmd}, String}, ::Pair{String, String}, ::Vararg{Pair{String, String}})
@ Base ./env.jl:172
[7] withenv_executable_wrapper(f::Function, executable_path::String, PATH::String, LIBPATH::String, adjust_PATH::Bool, adjust_LIBPATH::Bool)
@ JLLWrappers ~/.julia/packages/JLLWrappers/QpMQW/src/runtime.jl:48
[8] #invokelatest#2
@ ./essentials.jl:716 [inlined]
[9] invokelatest
@ ./essentials.jl:714 [inlined]
[10] #ffmpeg#3
@ ~/.julia/packages/JLLWrappers/QpMQW/src/products/executable_generators.jl:21 [inlined]
[11] ffmpeg
@ ~/.julia/packages/JLLWrappers/QpMQW/src/products/executable_generators.jl:21 [inlined]
[12] #exe#2
@ ~/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:111 [inlined]
[13] ffmpeg_exe
@ ~/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:123 [inlined]
[14] buildanimation(anim::Animation, fn::String, is_animated_gif::Bool; fps::Int64, loop::Int64, variable_palette::Bool, verbose::Bool, show_msg::Bool)
@ Plots ~/.julia/packages/Plots/NQpB8/src/animation.jl:100
[15] #gif#231
@ ~/.julia/packages/Plots/NQpB8/src/animation.jl:64 [inlined]
[16] top-level scope
@ In[4]:1
[17] eval
@ ./boot.jl:373 [inlined]
[18] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base ./loading.jl:1196
Any suggestions? I filed a bug report, but I really need to get this working for something I’m doing right now.