def __init__(self, adapter, output_folder, videos_per_chunk, num_workers):
    assert (int(num_workers) > 0)
    self.adapter = adapter
    self.output_folder = output_folder
    self.videos_per_chunk = int(videos_per_chunk)
    self.num_workers = int(num_workers)
def __init__(self, adapter, output_folder, videos_per_chunk, num_workers):
    assert (int(num_workers) > 0)
    self.adapter = adapter
    self.output_folder = output_folder
    self.videos_per_chunk = int(videos_per_chunk)
    self.num_workers = int(num_workers)