# Why does the function "gif" take forever to run?

**URL:** <https://discourse.julialang.org/t/why-does-the-function-gif-take-forever-to-run/16595>\
**Category:** Visualization\
**Tags:** question\
**Created:** [October 21, 2018, 7:53am UTC](https://discourse.julialang.org/t/why-does-the-function-gif-take-forever-to-run/16595 "2018-10-21T07:53:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhenghao](https://avatars.discourse-cdn.com/v4/letter/z/c0e974/32.png) [@Zhenghao](https://discourse.julialang.org/u/Zhenghao)\
**Post date:** [October 21, 2018, 7:53am UTC](https://discourse.julialang.org/t/why-does-the-function-gif-take-forever-to-run/16595/1 "2018-10-21T07:53:47Z")

</div>

I’m trying to use “@animate” and “gif” in Plots.jl to generate .gif file. The macro @animate can be operated successfully, while the function “gif” cannot stop running and no gif file is generated. I have installed FFmpeg in my device. Has anyone come up with the same issue? Or does anybody happen to know how to solve the issue?Thank you very much!
