Questions tagged [aws-media-convert]

142 questions
8
votes
0 answers

AWS MediaConvert - Add metadata to s3 output

Description: I would like to be able to add S3 Metadata to a MediaConvert Job Output but can't seem to find any settings that would allow me to do this. I am able to update the object metadata after the job has completed, but I need the Metadata to…
8
votes
1 answer

How To Use Terraform To Create an AWS IAM Role with No Assume Role Policy?

When using AWS MediaConvert the instructions provide a sample IAM policy that has no assume role section. Similarly, when creating a default MediaConvert role in the AWS IAM console the resulting IAM role also has no trust policy. In Terraform, how…
4
votes
1 answer

How to constrain video size in AWS Elemental MediaConvert?

I wanna achieve the same exact CSS behavior of: background-size: contain. But all I am able to choose from is either letterboxing or stretching: How do we maintain aspect ratio when we provide both width and height as constraints?
4
votes
2 answers

AWS Cloudfront Video Streaming - Video Quality Change

I am developing an Video-on-demand mobile application. Videos are converted using AWS Elastic media converter and stored in S3 bucket. It will be streamed using Cloudfront. The problem I'm facing is to stream the video on different…
3
votes
1 answer

AWS IAM Role Policy Issue on Media Convert Service [ Cannot open input file [Failed to read data: AssumeRole failed]]]

I am struggling with AWS IAM Role Policies, I am following a tutorial for Lambda function to read from s3 bucket event when a new file is uploaded and send it to AWS MediaConvert to convert the video file. Lambda function is being able to read from…
3
votes
1 answer

AWS how to Trigger mediaconvert after video upload automatically

I am new to AWS. Most of example I have seen need an input file name from S3 bucket for media convert. I want to automate this process. What is the best way to do it. I want to achieve following. API to upload a video(mp4) to a S3 bucket. Trigger…
3
votes
5 answers

What permissions S3 needs for AWS MediaConverter to have access to write files?

We are using AWS MediaConverter to convert videos to mp4 format. But MediaConvrter is giving this error in the job: Unable to write to output file [s3://{path_to_file}]: [Failed to write data: Access Denied] Obviously, MediaConverter doesn't have…
3
votes
3 answers

AWS MediaConvert Rotate Aspect Ratio Changed

I am using the VOD (video on demand) template in AWS for media conversion. It creates a Lambda function that in turn pushes a Job into AWS MediaConvert. Recently, AWS added support for a Rotate property, which when set to AUTO reads the meta data…
a432511
  • 1,907
  • 4
  • 26
  • 48
3
votes
2 answers

Terraform - how to create an AWS MediaConvert JobTemplate?

I am new to Terraform and have begun creating .tf files for my infrastructure which so far involves AWS S3 and IAM Roles. All good so far. But now I need to create an AWS MediaConvert JobTemplate via Terraform and I can't find any reference for this…
CodeAndCats
  • 7,508
  • 9
  • 42
  • 60
2
votes
1 answer

Restrict access to s3bucket with cloudfront but allow access to media convert

I was able to restrict access to private content on my bucket using Cloudfront but now I'm unable to read from the bucket for Elemental Media Convert. Is there any way to allow only media convert services and restrict everything else? Here is my…
2
votes
1 answer

Convert video into different qualities AWS MediaConvert

I have a test.mp4 file (for example). I need to convert it so that there was an option to select the quality on the client-side in the player. For example, if the video is in 4k resolution, then the client should be able to select the quality of…
2
votes
3 answers

Error BadRequestException: You must use the customer-specific endpoint

I am trying to create job of mediaconverter aws service through lambda but I m getting error "Error BadRequestException: You must use the customer-specific endpoint" AWS.config.update({region: 'us-east-1'}); var mediaconvert = new…
2
votes
1 answer

How to tell from a media file if it's a video or an audio?

I have some files - audio and video files - stored in an aws s3 bucket, which can have different containers and stuff, and I would like to send them to the aws mediaConvert(MC). My issue is that I need to know whenever the file is an audio or a…
Random Dude
  • 872
  • 1
  • 9
  • 24
2
votes
1 answer

AWS media convert thumbnail genrated from video get rotated?

In my application, I'm using AWS media-convert jobs to generate the thumbnail from my video uploaded to s3. The video gets uploaded from mobile. It works fine when I record a video from my mobile and uploads it at the same time. I got thumbnail…
2
votes
0 answers

convert mp4 to hls but with variable segments size

I saw several examples to change mp4 container to hls using ffmpeg easily with something like this: ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8 I observed that…
1
2 3
9 10