-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path issues for animations #1383
Comments
Damn! Code? |
I assume ffmpeg is in your PATH? (sorry) |
The code I was using was this: The put ffmpeg in my path on Windows, I assume it installs itself on Linux? I didn't check there. |
My student has exactly the same problem on Windows. |
This looks similar (julia 0.6.2 on mac): ERROR: could not spawn The code: using Plots; pyplot() @gif for j in 1:2 |
I have the exact same problem on Linux using the very basics: using Plots
@gif for i=1:10
plot(rand(10))
end every 1 and got could not spawn `ffmpeg -v 0 -i /tmp/tmpchjqGs/%06d.png -vf palettegen=stats_mode=diff -y /tmp/tmpchjqGs/palette.bmp`: no such file or directory (ENOENT)
Stacktrace:
[1] _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process, ::RawFD, ::RawFD, ::RawFD) at ./process.jl:360
[2] #373 at ./process.jl:512 [inlined]
[3] setup_stdio(::Base.##373#374{Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at ./process.jl:499
[4] #spawn#372(::Nullable{Base.ProcessChain}, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at ./process.jl:511
[5] run(::Cmd) at ./process.jl:650
[6] #buildanimation#288(::Int64, ::Int64, ::Bool, ::Function, ::String, ::String, ::Bool) at /home/blaso/.julia/v0.6/Plots/src/animation.jl:81
[7] #gif#285(::Array{Any,1}, ::Function, ::Plots.Animation, ::String) at /home/blaso/.julia/v0.6/Plots/src/animation.jl:63
[8] gif(::Plots.Animation) at /home/blaso/.julia/v0.6/Plots/src/animation.jl:63
[9] macro expansion at /home/blaso/.julia/v0.6/Plots/src/animation.jl:153 [inlined]
[10] anonymous at ./<missing>:?
[11] include_string(::String, ::String) at ./loading.jl:515 I, too, can confirm that |
I didn't have This had nothing to do with |
Thanks blas-k0! On my mac I did a Anthony |
I was getting this issue as well. I forgot my system deleted a bunch of my programs including Maybe this can be closed now? |
I think we should investigate installing ffmpeg as a binary dependency. |
I agree. |
How do I add ffmpeg into my PATH? |
Maybe make a comment about this in the docs? I tried to do this two months ago and just gave up. // would have been nice to know i was just a |
Would be good to solve with this: #2030 |
Yes! The videoIO.jl implementation of ffmpeg is actually incredible. I’ve been able to do some awesome things pretty seamless with it.
… On Jul 7, 2019, at 4:28 AM, Michael Krabbe Borregaard ***@***.***> wrote:
Would be good to solve with this: #2030
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm getting the same error on Linux and Windows.
I can confirm that things like
C:\Users\Chris\AppData\Local\Temp\jl_B602.tmp/000004.png
existThe text was updated successfully, but these errors were encountered: