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
• 14,970 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 56,120 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
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
• 3,770 points
+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,280 points
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket.….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,120 points
0 votes
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
• 56,120 points
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,520 points
0 votes
2 answers
0 votes
2 answers
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.