8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46e1c0 commit 7fb02b2Copy full SHA for 7fb02b2
lib/matplotlib/animation.py
@@ -512,10 +512,9 @@ class FFMpegFileWriter(FileMovieWriter, FFMpegBase):
512
def _args(self):
513
# Returns the command line parameters for subprocess to use
514
# ffmpeg to create a movie using a collection of temp images
515
- return [self.bin_path(), # -r option is not needed before -i option
+ return [self.bin_path(), '-r', str(self.fps),
516
'-i', self._base_temp_name(),
517
- '-vframes', str(self._frame_counter),
518
- '-r', str(self.fps)] + self.output_args
+ '-vframes', str(self._frame_counter)] + self.output_args
519
520
521
# Base class of avconv information. AVConv has identical arguments to
0 commit comments