- Newest
- Most votes
- Most comments
Hi,
This page may help you understand how stretching works with MediaConvert: https://docs.aws.amazon.com/mediaconvert/latest/ug/video-scaling.html#stretch-ratio
Best,
Didier
Try to do cropping on the input level: { "Queue": "arn:aws:mediaconvert:x:queues/Default", "UserMetadata": {}, "Role": "arn:aws:iam:x:role/service-role/MediaConvert_Default_Role", "Settings": { "TimecodeConfig": { "Source": "ZEROBASED" }, "OutputGroups": [ { "Name": "File Group", "Outputs": [ { "ContainerSettings": { "Container": "MP4", "Mp4Settings": {} }, "VideoDescription": { "Width": 1920, "ScalingBehavior": "STRETCH_TO_OUTPUT", "Height": 1080, "CodecSettings": { "Codec": "H_264", "H264Settings": { "Bitrate": 500000, "RateControlMode": "CBR", "QualityTuningLevel": "SINGLE_PASS_HQ" } } }, "NameModifier": "stretchWidth" } ], "OutputGroupSettings": { "Type": "FILE_GROUP_SETTINGS", "FileGroupSettings": { "Destination": "s3://x/testcropping" } } } ], "FollowSource": 1, "Inputs": [ { "VideoSelector": {}, "TimecodeSource": "ZEROBASED", "Crop": { "Height": 1080, "Width": 960, "X": 0, "Y": 0 }, "FileInput": "s3://x/Input/50p.mp4" } ] }, "BillingTagsSource": "JOB", "AccelerationSettings": { "Mode": "DISABLED" }, "StatusUpdateInterval": "SECONDS_60", "Priority": 0 }
Relevant content
- asked 6 years ago

thanks , i had found that page , that page is saying the same thing i am, stretch to fit should stretch the image to fit (and distort it), however media converter is not stretching, instead it is adding padding (black bars)