Note that there are some explanatory texts on larger screens.

plurals
  1. POAmazon s3 Elastic Transcoder ERROR: The specified pipeline was not found
    primarykey
    data
    text
    <p>I am integrating Amazon s3 Elastic Transcoder using aws-sdk-php. I use <a href="http://elastictranscoding.blogspot.in/" rel="nofollow">http://elastictranscoding.blogspot.in/</a> link to accomplish my task. While implementing i face following error:</p> <p>Fatal error: Uncaught Aws\ElasticTranscoder\Exception\ResourceNotFoundException: AWS Error Code: ResourceNotFoundException, Status Code: 404, AWS Request ID: 820ccf2d-6fc3-11e3-85a1-cdbd862f75bb, AWS Error Type: client, AWS Error Message: The specified pipeline was not found: account=008180918836, pipelineId=1388230727728-l0b712., User-Agent: aws-sdk-php2/2.5.0 Guzzle/3.7.1 curl/7.29.0 PHP/5.4.12 thrown in D:\projects\modelpeopledemo\amazon_upload\Aws\Common\Exception\NamespaceExceptionFactory.php on line 91 </p> <p><strong>Create job code:</strong></p> <pre><code>require 'aws-autoloader.php'; use Aws\ElasticTranscoder\ElasticTranscoderClient; $aws = Aws\Common\Aws::factory('config.json'); createjob('trailer_480p.mp4'); exit; function createjob($fname){ $aws = Aws\Common\Aws::factory('config.json'); $client = ElasticTranscoderClient::factory(array( 'key' =&gt; 'IAM user's public key', 'secret' =&gt; 'IAM user's secret key', 'region' =&gt; 'us-east-1' ) ); // Create a new transcoding job $file_name = $fname; $file_name_explode = explode( '.', $file_name ); $webm_transcode_request = $client-&gt;createJob( array( 'PipelineId' =&gt; 'my pipeline id', 'Input' =&gt; array( 'Key' =&gt; $fname, 'FrameRate' =&gt; 'auto', 'Resolution' =&gt; 'auto', 'AspectRatio' =&gt; 'auto', 'Interlaced' =&gt; 'auto', 'Container' =&gt; 'auto', ), 'Output' =&gt; array( 'Key' =&gt; 'trailer_480p.mp4', 'ThumbnailPattern' =&gt; $file_name_explode[0] . '-700thumb-{resolution}-{count}', 'Rotate' =&gt; '0', 'PresetId' =&gt; '1351620000001-000020' ) ) ); return $webm_transcode_request; } </code></pre> <p><strong>config.json</strong></p> <pre><code>{ "includes": ["_aws"], "services": { "default_settings": { "params": { "key": "AWS public key", "secret": "AWS secret key", "region": "us-east-1" } } } } </code></pre> <p><strong>My user policy is:</strong></p> <pre><code>{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "elastictranscoder:*", "s3:*", "iam:*", "sns:*" ], "Resource": "*" } ] } </code></pre> <p><strong>My user group's policy is:</strong></p> <pre><code>{ "Version": "2012-10-17", "Statement": [ { "Sid": "Sid", "Effect": "Allow", "Action": "*", "Resource":"*" } ] } </code></pre> <p>I think i am not authorized to access elastic transcoder service. Please suggest. Thank in advance.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload