'Media convert problems
I am currently trying to transcode my set of videos through Amazon batch trancode but am having problems. My cloudwatch log output this error:
/var/runtime/urllib3/connectionpool.py:1013: InsecureRequestWarning:
Unverified HTTPS request is being made to host 'tgzfwmguc.mediaconvert.eu-west-1.amazonaws.com'.
Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings /var/runtime/urllib3/connectionpool.py:1013:
InsecureRequestWarning: Unverified HTTPS request is being made to host 'tgzfwmguc.mediaconvert.eu-west-1.amazonaws.com'.
Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings.
My media convert job is showing this error.
Error message Unable to open input file s3://redacted/redacted.mp4:
[Failed probe/open: [Can't read input stream: Failed to read data:
HeadObject failed]] Error code 1404
Solution 1:[1]
Those CloudWatch errors are warnings but will not stop the job from completing.
The second issue you mentioned is what is stopping the job. This is a permissions error when trying to access the file in the specified s3 bucket.
The 1404 error is explained here: https://docs.aws.amazon.com/mediaconvert/latest/ug/mediaconvert_error_codes.html
The basic theory is to ensure that [a] the named file exists; [b] the file has at least read access enabled from your AWS account; and [c] the IAM Role assumed by MediaConvert when running jobs in your account has the Permissions Policy attached for 'AmazonS3FullAccess'.
Alternatively, you could generate a pre-signed URL for the file and use that as the input URL in the MediaConvert job.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | aws-rtc |
