Skip to content

Commit

Permalink
Also fix undefined names bitrate and self.(fps)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Feb 5, 2018
1 parent 82abf57 commit 7f34677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moviepy/video/io/ffmpeg_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from moviepy.config import get_setting


def ffmpeg_movie_from_frames(filename, folder, fps, digits=6):
def ffmpeg_movie_from_frames(filename, folder, fps, digits=6, bitrate='v'):
"""
Writes a movie out of the frames (picture files) in a folder.
Almost deprecated.
Expand All @@ -18,7 +18,7 @@ def ffmpeg_movie_from_frames(filename, folder, fps, digits=6):
"-r", "%d"%fps,
"-i", os.path.join(folder,folder) + '/' + s,
"-b", "%dk"%bitrate,
"-r", "%d"%self.fps,
"-r", "%d"%fps,
filename]

subprocess_call(cmd)
Expand Down

0 comments on commit 7f34677

Please sign in to comment.