Adding Watermark to AWS Elastic Transcoder

0 votes

No matter where I place my overlay.png file (in the root of the bucket or in the folder of the input/output) the Watermark is not being applied using the following code:

$watermark = array(
    'InputKey' => "overlay.png",
    'PresetWatermarkId' => 'TopLeft'
);

# Create the job.
$create_job_request = array(
    'PipelineId' => $pipeline_id,
    'Input' => $input,
    'Watermarks' => array($watermark),
    'Outputs' => $outputs,
    'OutputKeyPrefix' => "$output_key_prefix"
);

The output is being created just fine, just without the watermark. Any Information on where I have to put the overlay.png file ?

Thanks in advance

Sep 7, 2018 in AWS by bug_seeker
• 15,510 points
1,368 views

1 answer to this question.

0 votes

found the error!

I had to put the Watermark into the 'outputs'

So adding this:

$outputs[0]['Watermarks'] = array($watermark) 

did the trick!

answered Sep 7, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

0 votes
1 answer

AWS Elastic Beanstalk - How to increase instance disk capacity?

The 8 GB diskthat you are seeing ...READ MORE

answered Sep 3, 2018 in AWS by anonymous
3,984 views
0 votes
1 answer

How to use AWS CLI with Elastic Beanstalk?

You have to create a source bundle ...READ MORE

answered Sep 28, 2018 in AWS by Archana
• 4,170 points
2,201 views
+1 vote
1 answer

How to make an application private on AWS Elastic Beanstalk?

Like you said by default, your application ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,640 points
2,300 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,020 points
5,958 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,020 points
5,204 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,820 points
2,868 views
0 votes
2 answers
0 votes
2 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP