aws / amazon-kinesis-video-streams-parser-library

Amazon Kinesis Video Streams parser library is for developers to include in their applications that makes it easy to work with the output of video streams such as retrieving frame-level objects, metadata for fragments, and more.
Apache License 2.0
103 stars 52 forks source link

[KVS lambda] error when running 'KinesisVideoRekognitionLambdaExample' #159

Open tytx opened 2 years ago

tytx commented 2 years ago

I am running the specific example "KinesisVideoRekognitionLambdaExample" from https://github.com/aws/amazon-kinesis-video-streams-parser-library to to display the bounding box results from amazon rekognition to be outputed into a separate KVS stream with + 'Rekognized' suffix My video is fed to KVS thru RTSP (able to be seen playing on web console) However i am getting this error from my cloudwatch logs and the 2nd stream is not being created.

2022-03-15 06:23:30 DEBUG H264FrameProcessor:195 - Rendering Rekognized sampled frame... DEBUG BoundingBoxImagePanel:43 - Number of detected faces in a frame 1

DEBUG H264FrameProcessor:117 - Encoded frame : 0 with timecode : 1647316003220

2022-03-15 06:23:31 INFO H264FrameProcessor:128 - Initializing JNI...

2022-03-15 06:23:31 INFO H264FrameProcessor:72 - Initializing KVS Producer with stream name LiveRekognitionVideoAnalysisBlog-Rekognized and region : US_WEST_2 ERROR GetMediaForFragmentListWorker:67 - Failure in GetMediaForFragmentListWorker for streamName LiveRekognitionVideoAnalysisBlog {}

PoojaR161 commented 1 year ago

Hi @tytx ,

Did you get it solved? I am trying to run the same example (KinesisVideoRekognitionLambdaExample), but I get errors in cloudwatch something like this: ERROR com.amazonaws.kinesisvideo.java.client.KinesisVideoJavaClientFactory - [PIC] KinesisVideoClient - checkIntermittentProducerCallback(): operation returned status code: 0x5200008a ERROR com.amazonaws.kinesisvideo.java.client.KinesisVideoJavaClientFactory - [PIC] platform-utils - timerQueueExecutor(): operation returned status code: 0x5200008a

And I receive the output stream in kinesis video streams, but it labels as 'not recognised' with the bounding box on face. Can anyone please help me regarding this issue. Thanks in advance.