@@ -559,7 +559,7 @@ def _args(self):
559559 # ffmpeg to create a movie using a pipe.
560560 args = [self .bin_path (), '-f' , 'rawvideo' , '-vcodec' , 'rawvideo' ,
561561 '-s' , '%dx%d' % self .frame_size , '-pix_fmt' , self .frame_format ,
562- '-r ' , str (self .fps )]
562+ '-framerate ' , str (self .fps )]
563563 # Logging is quieted because subprocess.PIPE has limited buffer size.
564564 # If you have a lot of frames in your animation and set logging to
565565 # DEBUG, you will have a buffer overrun.
@@ -590,9 +590,8 @@ def _args(self):
590590 '-f' , 'image2' , '-vcodec' , 'rawvideo' ,
591591 '-video_size' , '%dx%d' % self .frame_size ,
592592 '-pixel_format' , 'rgba' ,
593- '-framerate' , str (self .fps ),
594593 ]
595- args += ['-r ' , str (self .fps ), '-i' , self ._base_temp_name (),
594+ args += ['-framerate ' , str (self .fps ), '-i' , self ._base_temp_name (),
596595 '-vframes' , str (self ._frame_counter )]
597596 # Logging is quieted because subprocess.PIPE has limited buffer size.
598597 # If you have a lot of frames in your animation and set logging to
0 commit comments