bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
This page explains how to programmatically remove unwanted outer areas from an
input video. For information on how to trim the timeline of input videos, see
Stream mappings.
Use the
crop
configuration field to specify the number of pixels to remove from each side of
the input video. You can add this configuration to a
job template or include it in an
ad-hoc job configuration.
The following REST/JSON configuration removes 10 pixels from the top of an input
video. The input video is then scaled to meet the dimensions specified by the
widthPixels and heightPixels fields in the specified codec for the
videoStream
object. The output video is then generated from this scaled intermediate video.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]