Paws

 view release on metacpan or  search on metacpan

lib/Paws/ElasticTranscoder/VideoParameters.pm  view on Meta::CPAN




=head2 SizingPolicy => Str

Specify one of the following values to control scaling of the output
video:

=over

=item *

C<Fit>: Elastic Transcoder scales the output video so it matches the
value that you specified in either C<MaxWidth> or C<MaxHeight> without
exceeding the other value.

=item *

C<Fill>: Elastic Transcoder scales the output video so it matches the
value that you specified in either C<MaxWidth> or C<MaxHeight> and
matches or exceeds the other value. Elastic Transcoder centers the
output video and then crops it in the dimension (if any) that exceeds
the maximum value.

=item *

C<Stretch>: Elastic Transcoder stretches the output video to match the
values that you specified for C<MaxWidth> and C<MaxHeight>. If the
relative proportions of the input video and the output video are
different, the output video will be distorted.

=item *

C<Keep>: Elastic Transcoder does not scale the output video. If either
dimension of the input video exceeds the values that you specified for
C<MaxWidth> and C<MaxHeight>, Elastic Transcoder crops the output
video.

=item *

C<ShrinkToFit>: Elastic Transcoder scales the output video down so that
its dimensions match the values that you specified for at least one of
C<MaxWidth> and C<MaxHeight> without exceeding either value. If you
specify this option, Elastic Transcoder does not scale the video up.

=item *

C<ShrinkToFill>: Elastic Transcoder scales the output video down so
that its dimensions match the values that you specified for at least
one of C<MaxWidth> and C<MaxHeight> without dropping below either
value. If you specify this option, Elastic Transcoder does not scale
the video up.

=back



=head2 Watermarks => ArrayRef[L<Paws::ElasticTranscoder::PresetWatermark>]

Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using
this preset. You can specify settings for up to four watermarks.
Watermarks appear in the specified size and location, and with the
specified opacity for the duration of the transcoded video.

Watermarks can be in .png or .jpg format. If you want to display a
watermark that is not rectangular, use the .png format, which supports
transparency.

When you create a job that uses this preset, you specify the .png or
.jpg graphics that you want Elastic Transcoder to include in the
transcoded videos. You can specify fewer graphics in the job than you
specify watermark settings in the preset, which allows you to use the
same preset for up to four watermarks that have different dimensions.



=head1 SEE ALSO

This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>

=head1 BUGS and CONTRIBUTIONS

The source code is located here: L<https://github.com/pplu/aws-sdk-perl>

Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>

=cut



( run in 1.220 second using v1.01-cache-2.11-cpan-39bf76dae61 )