def __init__(self, simultaneous=None): if simultaneous is None: try: simultaneous = multiprocessing.cpu_count() except NotImplementedError: pass self.converter_manager = converter.ConverterManager() self.conversion_manager = conversion.ConversionManager(simultaneous) self.started = False
def setUp(self): base.Test.setUp(self) self.manager = converter.ConverterManager()
def setUp(self): base.Test.setUp(self) self.manager = converter.ConverterManager() self.manager.startup() self.input_path = os.path.join(self.testdata_dir, 'mp4-0.mp4') self.output_path = os.path.join(self.testdata_dir, 'output.mp4')