limit bitrate calculation to 30fps
This commit is contained in:
parent
c88ab58f28
commit
bffe69c137
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ def video_cmd(video, target, profile, info):
|
||||||
if fps == 60:
|
if fps == 60:
|
||||||
fps = 30
|
fps = 30
|
||||||
extra += ['-r', '30']
|
extra += ['-r', '30']
|
||||||
|
fps = min(float(fps), 30)
|
||||||
bitrate = height*width*fps*bpp/1000
|
bitrate = height*width*fps*bpp/1000
|
||||||
aspect = dar.ratio
|
aspect = dar.ratio
|
||||||
#use 1:1 pixel aspect ratio if dar is close to that
|
#use 1:1 pixel aspect ratio if dar is close to that
|
||||||
|
|
Loading…
Reference in a new issue