@@ -559,7 +559,7 @@ def _args(self):
559
559
# ffmpeg to create a movie using a pipe.
560
560
args = [self .bin_path (), '-f' , 'rawvideo' , '-vcodec' , 'rawvideo' ,
561
561
'-s' , '%dx%d' % self .frame_size , '-pix_fmt' , self .frame_format ,
562
- '-r ' , str (self .fps )]
562
+ '-framerate ' , str (self .fps )]
563
563
# Logging is quieted because subprocess.PIPE has limited buffer size.
564
564
# If you have a lot of frames in your animation and set logging to
565
565
# DEBUG, you will have a buffer overrun.
@@ -590,9 +590,8 @@ def _args(self):
590
590
'-f' , 'image2' , '-vcodec' , 'rawvideo' ,
591
591
'-video_size' , '%dx%d' % self .frame_size ,
592
592
'-pixel_format' , 'rgba' ,
593
- '-framerate' , str (self .fps ),
594
593
]
595
- args += ['-r ' , str (self .fps ), '-i' , self ._base_temp_name (),
594
+ args += ['-framerate ' , str (self .fps ), '-i' , self ._base_temp_name (),
596
595
'-vframes' , str (self ._frame_counter )]
597
596
# Logging is quieted because subprocess.PIPE has limited buffer size.
598
597
# If you have a lot of frames in your animation and set logging to
0 commit comments