Added support for preview the conversion

Now allows to choose how many cores to use during conversion
This commit is contained in:
Sergio Costas 2014-07-27 19:53:07 +02:00
parent 70fadeef22
commit cba0352d33
14 changed files with 334 additions and 92 deletions

View file

@ -53,7 +53,10 @@ class avconv_converter(devede.executor.executor):
self.text = _("Converting %(X)s") % {"X" : file_project.title_name}
self.final_length = file_project.original_length
if (video_length == 0):
self.final_length = file_project.original_length
else:
self.final_length = video_length
self.command_var=[]
self.command_var.append("avconv")
self.command_var.append("-i")