Skip to content

Controlling movie quality parameters #202

Answered by david-zwicker
VictorSeven asked this question in Q&A
Discussion options

You must be logged in to vote

I agree that setting the details is a bit more complicated and might not be very well exposed in the current API. Your two approaches are very sensible and are close to working, as I will discuss in detail below.

  1. You're right that the simple call to movies.movie does not allow you to set the bitrate (and plot_args). PR #203 fixes this, so in the future you should be able to use
storage = MemoryStorage()
sol = eq.solve(state, t_range=10.0, dt=1e-2, tracker=["progress", storage.tracker(1)])
mymovie = movies.movie(storage, "pelicula.mp4", plot_args={"vmin": 0, "vmax": 0.5},
                       movie_args={"dpi": 300, "bitrate": 2000})
  1. The second approach is also feasible, but has one p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VictorSeven
Comment options

Answer selected by VictorSeven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #201 on February 15, 2022 10:08.