[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 Antwort
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?

AWS
beantwortet vor 2 Jahren
  • Yes I am facing issue as: [pool-2-thread-2] ERROR com.amazonaws.kinesisvideo.parser.examples.GetMediaWorker - Failure in GetMediaWorker for streamName kinesis-video-stream java.lang.RuntimeException: Exception while reading byte from input stream! Mar 29, 2023 12:01:46 PM com.amazonaws.kinesisvideo.parser.kinesis.KinesisRecordProcessor processRecords INFO: Processing 1 records from shardId-000000000000 Mar 29, 2023 12:01:47 PM com.amazonaws.kinesisvideo.parser.kinesis.KinesisRecordProcessor processRecords INFO: Processing 1 records from shardId-000000000000

    Getting this error on repeat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen