By using AWS re:Post, you agree to the Terms of Use

[Kinesis to Amazon Rekogntion] error when running junit example

0

I am running the specific example "KinesisVideoRekognitionIntegrationExampleTest" from https://github.com/aws/amazon-kinesis-video-streams-parser-library to produce a local "output" to display the bounding box results from amazon rekognition with reference to this set of steps: https://aws.amazon.com/blogs/machine-learning/easily-perform-facial-analysis-on-live-feeds-by-creating-a-serverless-video-analytics-environment-with-amazon-rekognition-video-and-amazon-kinesis-video-streams/ My video is fed properly to KVS ( able to be seen playing on web console) However i am getting this error when running the junit test with nothing displayed on jframe

Running rekognition-kds-stream-application to process stream RekognitionVideoBlog-Stream as worker host.docker.internal:9d3a6f88-50a1-4ab6-8b65-93594b7627ad...14:09:28.173 [pool-2-thread-2] ERROR com.amazonaws.kinesisvideo.parser.examples.GetMediaWorker - Failure in GetMediaWorker for streamName LiveRekognitionVideoAnalysisBlog java.lang.Error: Unresolved compilation problems: 6 The default case is already defined

The log4j is also triggering java.lang.ClassNotFoundException: com.amazonaws.services.lambda.runtime.log4j.LambdaAppender

1 Answers
0

Hello, there was a patch on May 17th to fix the issue caused from the log4j update. https://github.com/aws/amazon-kinesis-video-streams-parser-library/commit/8e2a86a4d53be865e999c5497f077eb2c6f37e69

Are you still experiencing this issue after the patch?

answered 15 days 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