(self, filename)
Submit a job to transcode a file by its filename. The
        built-in web system preset is used for the single output.
Submit a job to transcode a file by its filename. The
        built-in web system preset is used for the single output.
Submit a job to transcode a file by its filename . The built - in web system preset is used for the single output .
def start_transcode(self, filename):
        """
        Submit a job to transcode a file by its filename. The
        built-in web system preset is used for the single output.
        """
        self.transcoder.create_job(
            PipelineId=self.pipeline_id,
            Input={
                'Key': filename,
                'FrameRate': 'auto',
                'Resolution': 'auto',
                'AspectRatio': 'auto',
                'Interlaced': 'auto',
                'Container': 'auto'
            },
            Outputs=[{
                'Key': '.'.join(filename.split('.')[:-1]) + '.mp4',
                'PresetId': '1351620000001-100070'
            }]
        )
        print("Started transcoding {0}".format(filename))
def start_transcode ( self , filename ) : self . transcoder . create_job ( PipelineId = self . pipeline_id , Input = { 'Key' : filename , 'FrameRate' : 'auto' , 'Resolution' : 'auto' , 'AspectRatio' : 'auto' , 'Interlaced' : 'auto' , 'Container' : 'auto' } , Outputs = [ { 'Key' : '.' . join ( filename . split ( '.' ) [ : - 1 ] ) + '.mp4' , 'PresetId' : '1351620000001-100070' } ] ) print ( "Started transcoding {0}" . format ( filename ) )