We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d14495 + 7fb02b2 commit 991eec1Copy full SHA for 991eec1
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