amazon web services - Elastic Transcoder: Duplicate output key error -
over last day started getting interesting error when trying push transcoding job php sdk:
'aws\elastictranscoder\exception\elastictranscoderexception' message 'error executing "createjob" on "https://elastictranscoder.us-east-1.amazonaws.com/2012-09-25/jobs"; aws http error: client error: 400 validationexception (client): playlists '64k' duplicate of output key. - {"message":"playlists '64k' duplicate of output key."}' in /var/www/html/app/1.0/vendor/aws/aws-sdk-php/src/wrappedhttphandler.php:152
the settings we're pushing elastic transcoder:
'pipelineid' => $this->config['pipeline_id'], 'outputkeyprefix' => "$prefix/", 'input' => [ 'key' => "uploads/$input_filename.$input_extension", ], 'playlists' => [ 'outputkeys' => [$bitrate], 'name' => $bitrate, 'format' => 'hlsv4', ], 'outputs' => [ 'presetid' => $preset_id, 'key' => $bitrate, 'segmentduration' => '9.0', ],
where $bitrate
'64k'
(target) end result of transcoding job creating files: 64k.ts
, 64k.m3u8
, 64k_v4.m3u8
.
my first thought possibly s3 key conflict due prefix existing after clearing output bucket error remained. , far i'm aware 64k.ts
, 64k.m3u8
treated distinct objects in s3.
does duplicate output key in case refer s3 object or perhaps conflict in transcoding job?
further info: changing playlists:name
bitrate, $bitrate . '_v3'
, seems prevent error. can still go output bucket @ specified prefix , rename 64k_v3.m3u8
64k.m3u8
no issues. in case, why elastic transcoder blocking creation of playlist named 64k.m3u8
?
Comments
Post a Comment