INNER CODE UNIT · Python

start_converting

miztiik/AWS-Demos · how-to-examples/iam-s3-sqs-sns-video-transcoder.py:254

    def start_converting(self, files_found):
        """
        Upload and convert each file. Uploads are processed in series
        while transcoding happens in parallel.
        """
        for filepath in files_found:
            filename = self.upload_to_s3(filepath)
            self.start_transcode(filename)
            self.existing_files.add(filepath)

    def process_completed(self):
        """
        Check the queue and download any completed files from S3 to your
        hard drive.
        """
        to_fetch = self.check_queue()

        for s3_file in to_fetch:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…