Error of unsupported video codec format in Rekognition Stream Processor

0

Hi, I met with this "Unsupported video codec format" error when trying to start Rekognition Stream Processor.

I create stream processor without problems, step-by-step by guidelines in Documentation: https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor.html

Input of Kinesis Video Stream is active, well set up, I see video stream in Mediaplayback, able to download clips with timestamps.
Output to Kinesis Data Stream, Face Collection, Role and Permissions are set up too.

When I start Rekognition Stream Processor, and monitor status through describe-stream-processor, see this:
...
"Status": "FAILED"
"StatusMessage": "Unsupported video codec format for stream arn:my-kinesis-video-stream-arn
...

I have hvc1.1.6.L90.0 (H.265 Main@L3.0) codec

Could someone advise how to solve this problem? Thank you!

2 Answers
1

As of 5/19/2023, Rekognition only supports h.264 codec. If there's a possibility to change the codec for your video stream to h.264, it should help solve your problem.

AWS
answered a year ago
0

Are you using Rekognition or Rekognition Video. They have different input formats. Rekognition accepts JPEG and PNG files Rekognition Video accepts H.264 encoded video files in formats such as MP4 and MOV, and Kinesis Vide Stream. Please see in the link below, Q: What image and video formats does Amazon Rekognition support? https://aws.amazon.com/rekognition/faqs/ For additional info on working with video stream with Rekognition Video please see here. https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html https://docs.aws.amazon.com/rekognition/latest/dg/error-handling.html

AWS
Mike-ME
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions