/video/profilesCreate a video profile
Creates a reusable video profile containing transformation settings for video assets. Supply a name and choose format; add optional settings such as resolution, overlays, cropping, or subtitle generation as needed. Reference the profile when creating videos that should use the same transformation parameters.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Video profile name and transformation settings. name and format are required.
Create an animated GIF from a video.
This flag allows Gumlet to transcode and deliver audio-only in the specified format. In this case,This flag allows Gumlet to transcode and deliver audio-only in the specified format. In this case, video transformation and thumbnails/animated GIFs would not be created. Default: false
This transformation can be used to crop the video by defining a rectangular area within the dimensions of the output video.
Enable DRM encryption for transcoded videos. Gumlet supports Widevine and FairPlay DRMs.
Transcode and deliver the asset in the requested format. The options can be one of ABR (HLS + DASH) and MP4.
Gumlet allows you to generate subtitles from the audio stream (use <a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'> ISO 639-1 </a> Language Codes). Remove this object if you do not want to generate AI subtitles.
Resize video with the given height. Can be an absolute value in pixels or a percentage value with the % suffix. Specified values greater than the original asset height will be ignored. Only applicable when specified format is MP4.
Image overlay can be used to brand a video or add a visual label in the form of an image.
Creates mp4 version for download purpose in case of MPEG-DASH or HLS delivery format. Default: false
Profile name or identifier.
This transformation can be used to add padding to the video.
Gumlet analyzes each input video on a wide range of visual aspects. Based on the analysis, it chooses a unique set of transcoding options for processing the video. This ensures that the output video is of optimal size and best quality. Default: true
Currently, the minimum supported frame size is 57600 (240x240) pixels for HLS/DASH and 21025 (145x145) pixels for MP4 format. However, enabling this flag will allow Gumlet to simply put your video asset into the specified delivery format without transcoding and optimization. Enabling this flag will cause any kind of specified video transformation to be ignored if you input video asset frame size is lower than the minimum supported frame size for the specified format. Default: false
Required resolutions of the transformed asset in case of HLS or MPEG-DASH delivery format. Can be a comma-separated string out of the following values: 240p, 360p, 480p, 540p, 720p, and 1080p. Resized rendition will retain the input aspect ratio.
Text overlay can be used to brand a video or add a label in the form of text.
This will generate the subtitles in the native audio.
Trim transformation can be used to trim videos based on time duration.
Resize video with the given width. Can be an absolute value in pixels or a percentage value with the % suffix. Specified values greater than the original asset width will be ignored. Only applicable when specified format is MP4.
One documented failure
parameter_missingvideo output format (format) and profile name (name) are required to create profile.
One documented failure
profile_not_foundCould not find any video profile with specified profile_id.
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
invalid_parameterbody must have required property '<field>'
One documented failure
internal_server_errorWe have encountered some server error. We have been notified and will fix it soon.
A 400 indicates a bad request; a 401 indicates an unauthorized request; a 403 indicates an unpaid account or insufficient role permissions. A 422 indicates request validation failed, and a 500 indicates an internal server error. name and format are required, and format must be ABR or MP4; crop requires width and height, image_overlay requires url, and text_overlay requires text.