Fixed the minimum video rate value dor DVD

This commit is contained in:
Sergio Costas 2016-10-18 00:48:30 +02:00
parent 50ee33b2c3
commit 4e5f023261

View file

@ -263,8 +263,8 @@ class ffmpeg(devedeng.executor.executor):
maxrate = 9000000 maxrate = 9000000
self.command_var.append(str(maxrate)) self.command_var.append(str(maxrate))
self.command_var.append("-minrate:v") self.command_var.append("-minrate:v")
if minrate < 15000000: if minrate < 1500000:
minrate = 15000000 minrate = 1500000
self.command_var.append(str(minrate)) self.command_var.append(str(minrate))
self.command_var.append("-bufsize") self.command_var.append("-bufsize")
self.command_var.append("1835008") self.command_var.append("1835008")