[julia-users] Re: Export/view movie of plots

2014-04-11 Thread Arnim Bleier
Hi, create pictures for each frame [1:N] ... (lets say pic_n.png) then mencoder mf://*.png -mf w=200:h=150:fps=25:type=png -ovc copy -oac copy -o out.avi now you should have a "out.avi" Best Arnim On Friday, April 11, 2014 1:20:18 PM UTC+2, Sheehan Olver wrote: > > I'm trying to do movi

Re: [julia-users] Re: Export/view movie of plots

2014-04-11 Thread Sheehan Olver
Was hoping for something one line on Julia Sent from my iPhone > On Apr 11, 2014, at 10:18 PM, Arnim Bleier wrote: > > Hi, > > create pictures for each frame [1:N] ... (lets say pic_n.png) > > then > mencoder mf://*.png -mf w=200:h=150:fps=25:type=png -ovc copy -oac copy -o > out.avi > > no

Re: [julia-users] Re: Export/view movie of plots

2014-04-11 Thread Simon Kornblith
Assuming avconv or ffmpeg is available on your system, you can open a pipe to it: pipe, process = writesto(`avconv -y -f rawvideo -pix_fmt gray -s 100x100 -r 30 -i - -an -c:v libx264 -pix_fmt yuv420p movie.mp4`) The options are detailed in the docs; -s is the movie size and -r is the frame rat

Re: [julia-users] Re: Export/view movie of plots

2014-04-13 Thread Steven G. Johnson
On Friday, April 11, 2014 8:45:43 AM UTC-4, Sheehan Olver wrote: > > Was hoping for something one line on Julia > You could use the animation interface of Matplotlib from PyPlot.

Re: [julia-users] Re: Export/view movie of plots

2014-04-13 Thread Sheehan Olver
I looked into PyPlot, but it seems that animation doesn't work in IJulia? The pyplot gui command didn't work for me (and pyplot doesn't work from the command line). Maybe I just need to update my matplotlib. On 14 Apr 2014, at 9:33 am, Steven G. Johnson wrote: > > > On Friday, Apr

Re: [julia-users] Re: Export/view movie of plots

2014-04-14 Thread Steven G. Johnson
On Sunday, April 13, 2014 9:30:36 PM UTC-4, Sheehan Olver wrote: > > The pyplot gui command didn't work for me (and pyplot doesn't work from > the command line). Maybe I just need to update my matplotlib. > > Perhaps you are using a Mac, and don't have Matplotlib with a working Qt graphics bac

Re: [julia-users] Re: Export/view movie of plots

2014-04-15 Thread Fabian Gans
Another possibilty would be to directly call the ffmpeg C interface, which is quite well documented. Otherwise, if you want to use matplotlib, did you have a look at this issue: https://github.com/JuliaLang/IJulia.jl/issues/107 Fabian On Monday, April 14, 2014 5:41:17 PM UTC+2, Steven G. Johnso