I get the below error when I try and run the program to stream raspberry pi video stream to Amazon Kinesis.
I am using the amazon kinesis video stream producer sdk cpp to generate the stream.
[INFO ][2018-06-23 11:11:54] Initializing curl. [INFO ][2018-06-23 11:11:54] createKinesisVideoClient(): Creating Kinesis Video Client [INFO ][2018-06-23 11:11:54] heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001 [INFO ][2018-06-23 11:11:54] heapInitialize(): Creating AIV heap. [INFO ][2018-06-23 11:11:54] heapInitialize(): Heap is initialized OK [INFO ][2018-06-23 11:11:54] Refreshing credentials. Force refreshing: 0 Now time is: 1529752314 Expiration: 0 [INFO ][2018-06-23 11:11:54] New credentials expiration is 1529754714 [DEBUG][2018-06-23 11:11:54] createDeviceHandler invoked [INFO ][2018-06-23 11:11:54] createDeviceResultEvent(): Create device result event. [DEBUG][2018-06-23 11:11:54] clientReadyHandler invoked [DEBUG][2018-06-23 11:11:54] Awaiting for the producer to become ready... [DEBUG][2018-06-23 11:11:54] Kinesis Video producer is Ready. [DEBUG][2018-06-23 11:11:54] Client is ready [INFO ][2018-06-23 11:11:54] Creating Kinesis Video Stream myvideostream [INFO ][2018-06-23 11:11:54] createKinesisVideoStream(): Creating Kinesis Video Stream. [DEBUG][2018-06-23 11:11:54] describeStreamHandler invoked [INFO ][2018-06-23 11:11:54] Refreshing credentials. Force refreshing: 0 Now time is: 1529752314 Expiration: 0 [DEBUG][2018-06-23 11:11:54] Awaiting for the stream to become ready... [DEBUG][2018-06-23 11:11:56] describeStream response: {"StreamInfo":{"CreationTime":1.529225708564E9,"DataRetentionInHours":2,"DeviceName":"Kinesis_Video_Device","KmsKeyId":"arn:aws:kms:us-west-2:056701180217:alias/aws/kinesisvideo","MediaType":"video/h264","Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:us-west-2:056701180217:stream/myvideostream/1529225708564","StreamName":"myvideostream","Version":"D92mfH586Ncnl2QxCto3"}} [INFO ][2018-06-23 11:11:56] Discovered existing Kinesis Video stream: arn:aws:kinesisvideo:us-west-2:056701180217:stream/myvideostream/1529225708564 [INFO ][2018-06-23 11:11:56] stream arn in stream_info struct: arn:aws:kinesisvideo:us-west-2:056701180217:stream/myvideostream/1529225708564 [INFO ][2018-06-23 11:11:56] describeStreamResultEvent(): Describe stream result event. [DEBUG][2018-06-23 11:11:56] streamingEndpointHandler invoked [INFO ][2018-06-23 11:11:56] Refreshing credentials. Force refreshing: 0 Now time is: 1529752316 Expiration: 0 [DEBUG][2018-06-23 11:11:57] getStreamingEndpoint response: {"DataEndpoint":"https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com"} [INFO ][2018-06-23 11:11:57] streaming to endpoint: https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com [INFO ][2018-06-23 11:11:57] getStreamingEndpointResultEvent(): Get streaming endpoint result event. [DEBUG][2018-06-23 11:11:57] streamingTokenHandler invoked [INFO ][2018-06-23 11:11:57] Refreshing credentials. Force refreshing: 1 Now time is: 1529752317 Expiration: 1529754714 [INFO ][2018-06-23 11:11:57] New credentials expiration is 1529754717 [INFO ][2018-06-23 11:11:57] getStreamingTokenResultEvent(): Get streaming token result event. [DEBUG][2018-06-23 11:11:57] streamReadyHandler invoked [DEBUG][2018-06-23 11:11:57] Kinesis Video stream myvideostream is Ready. [DEBUG][2018-06-23 11:11:57] Stream is ready [INFO ][2018-06-23 11:11:57] kinesisVideoStreamFormatChanged(): Stream format changed. [DEBUG][2018-06-23 11:11:57] putStreamHandler invoked [DEBUG][2018-06-23 11:11:57] Created a new PutMedia request with stream upload handle: 0 [INFO ][2018-06-23 11:11:57] putStreamResultEvent(): Put stream result event. [INFO ][2018-06-23 11:11:57] Creating new connection for Kinesis Video stream: myvideostream [ERROR][2018-06-23 11:11:57] Failed to submit frame to Kinesis Video client. status: 0x32000011 decoding timestamp: 4263349 presentation timestamp: 4222124 [INFO ][2018-06-23 11:11:57] Refreshing credentials. Force refreshing: 0 Now time is: 1529752317 Expiration: 0 Dropped frame! [INFO ][2018-06-23 11:11:57] getKinesisVideoMetrics(): Get the memory metrics size. [INFO ][2018-06-23 11:11:57] getKinesisVideoStreamMetrics(): Get stream metrics for Stream 00000000012d18ee. [DEBUG][2018-06-23 11:11:57] Kinesis Video client and stream metrics
Overall storage size: 536870912 Available storage size: 536866785 Allocated storage size: 4127 Total view allocation size: 144064 Total streams frame rate: 30 Total streams transfer rate: 4194304 Current view duration: 100000 Overall view duration: 100000 Current view size: 4102 Overall view size: 4102 Current frame rate: 30 Current transfer rate: 4194304 [ERROR][2018-06-23 11:11:57] Failed to submit frame to Kinesis Video client. status: 0x32000002 decoding timestamp: 4970940 presentation timestamp: 4628508 Dropped frame!
User contributions licensed under CC BY-SA 3.0