Skip to content
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

Request/Question #5

Closed
speedreader opened this issue Feb 6, 2016 · 1 comment
Closed

Request/Question #5

speedreader opened this issue Feb 6, 2016 · 1 comment

Comments

@speedreader
Copy link

I'm trying to access some of the setting for exporting (codec, frame rates, bit rate, etc), do I do that through gganimate directly? Is there any comprehensive documentation? I tried using the 'animate' package's saveVideo function, but it didn't change any of the defaults from gganimate.

Love the package. Lots of uses for this.

@dgrtwo
Copy link
Collaborator

dgrtwo commented Feb 6, 2016

Yes; you can set options through the ani.options function in the animation package. Those arguments can also be passed directly to the gg_animate function (the ...), since it passes them on to the saveVideo, saveGIF, etc functions from animation. I'll try to make this clearer in the function documentation!

If you also want to pass extra arguments to ffmpeg when creating an mp4 or avi video, you can also use other.opts, see saveVideo.

@dgrtwo dgrtwo closed this as completed Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants