ffmpeg: Only modify the -framerate parameter for setting video fps
-r only allows a limited set of target framerates according to the mpeg2 standard, but -framerate allows to specify how long each frame should be shown, giving us full control over "virtual" fps without causing errors when the user selects a non-standard frame rate
This commit is contained in:
parent
eabff453cd
commit
27fb397681
1 changed files with 1 additions and 1 deletions
|
|
@ -736,7 +736,7 @@ class TimelapseRenderJob(object):
|
|||
|
||||
command = [
|
||||
ffmpeg, '-framerate', str(fps), '-loglevel', 'error', '-i', '"{}"'.format(input), '-vcodec', 'mpeg2video',
|
||||
'-threads', str(threads), '-pix_fmt', 'yuv420p', '-r', str(fps), '-y', '-b', str(bitrate),
|
||||
'-threads', str(threads), '-pix_fmt', 'yuv420p', '-r', "25", '-y', '-b', str(bitrate),
|
||||
'-f', 'vob']
|
||||
|
||||
filter_string = cls._create_filter_string(hflip=hflip,
|
||||
|
|
|
|||
Loading…
Reference in a new issue