I'm trying to migrate from AWS ElasticTranscodder to MediaConvert. One thing that worked for ET is that output had maximum width and height, but for MC those values are fixed and you end up with blackbars if video does not exactly match aspect. Is it possible to crop the output to remove those black bars>
Related Questions in AMAZON-ELASTIC-TRANSCODER
- How to transcode MOV file using AWS elastic transcoder
- AWS SDK ElasticTranscoder readJob returns undefined
- Use S3 bucket folders for Elastic Pipeline input bucket and output bucket
- MediaConvert remove black bars
- AWS service for video optimization and compression
- x264 [error]: baseline profile doesn't support 4:2:2 ,with ffmpeg php
- Getting error running terraform apply for elastictranscoder
- Elastic Transcoder trimming time - accuracy problem
- ElasticTranscoder gem throws vague error when creating job
- How can I get the ETag / MD5 hash of a transcoded file back from AWS Elastic Transcoder?
- AWS transcoded video is skipping first few seconds when playing the video using video view in android smart tv or devices
- cloudfront CORS issue and cache invalidation
- whats the best way to trancode videos for streaming?
- How do I set the duration of the output of a job in Elastic Transcoder using Django?
- HLS FLAC Audio Stream
Related Questions in AWS-MEDIA-CONVERT
- Using HTTP input for AWS MediaConvert
- Is there a way to configure the pixel format using AWS MediaConvert?
- AWS Elemental MediaConvert transcoding failed with Error initializing encoder for video target [2] [Height must be a multiple of 2]
- MediaConvert transcoding failed with No audio frames decoded on [selector-(Audio Selector 1)-track-1-drc]
- Referencing secondary manifests in dash
- Jumping forward x seconds because of gap starting at y and ending at z with video encoded by AWS MediaConvert
- Getting a 400 subscription maxResult while trying to obtain Mediaconvert endpoint in AWS
- How do I stop AWS Elemental MediaConvert chopping off the quiet part of my audio?
- Run AWS MediaConvert job over entire S3 bucket - H265
- How to correctly burn-in Hebrewe captions in AWS Mediaconvert
- AWS mediaconvert throws [Failed probe/open: [No parser found for container]]
- AWS Elemental MediaConvert fails to transcode some iOS videos that were transferred to MacBook
- S3 access denied error for a mediaconvert job
- DRM Encryption and decryption from mp4 to HLS using AWS Elemental MediaConvert
- Mediaconvert passrole issue
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Thanks for your post. Yes you can remove the black bars in the MediaConvert output which normally appear when the input dimensions or aspect ratio are different from the intended output dimensions or aspect ratio.
There are four parameters which can be tuned:
[a] input dimension cropping (optional) - adjust this if you wish to use a sub-region of the original source picture. Useful when the original source has vertical bars on the sides, and you only want the video content from the center of the image.
[b] Output dimensions (resolution & Aspect Ratio) -- if the Aspect Ratio ( Horiz. size รท Vertical size ) specified for output does not match the AR of the input (for example, converting a 16x9 asset to a 16x10 output), then pillar-box or letter-box bars are inserted by default in order to preserve the H/V proportions of the original content (meaning, the content is not "stretched".) Note: all dimensions must be multiples of 2.
[c] Scaling Behavior -- default is to scale proportionally (see above); the alternative is "stretch to output" which stretches the output non-proportionally to the specified H+V output resolution. If the AR change is small, the stretching may not be noticeable. Further testing suggested.
[d] Output position rectangle -- this setting defines how much of the output canvas should be covered with the transcoded content. It defaults to covering the entire output canvas as defined in step B. Specify other offsets or dimensions here to position or crop the transcoded output.
Workflow tips:
If you want the aspect ratio of the original content to be maintained with no black borders, you will need to calculate the original AR and use it to determine the new scaled-up dimensions. If this math is done correctly then there should be no black bars on the output.
Some MediaConvert customers do this math using an AWS Lambda function which customizes the MediaConvert job settings before submitting the job. The Lambda function can be triggered automatically using S3 File events (i.e, new file arrival). The Lambda function can leverage media file utilities such as ffmpeg or mediainfo to determine the resolution and other metadata from the source file. The metadata can then be used to calculate settings for the MediaConvert job.