retrieve an mp4 file from kinesis video between 2 timestamps

0

Hello,

I'm trying to retrieve video that has been uploaded to kinesis video (h264) as an mp4 between 2 known timestamps.

I've seen something like GetClip in the AmazonKinesisVideoArchivedMediaClient client (c# AWSSDK.KinesisVideoArchivedMedia version 3.5.0.13) but i don't believe that my video is archived.

Is there a way to retrieve an mp4 file from kinesis video between 2 timestamps ?

thanks, tom

clogwog
asked a year ago266 views
2 Answers
0
Accepted Answer

Hello Tom, Thanks for posting your query

I would like to inform you that any video uploaded by PutMedia is archived before expiring ( All videos will be archived ) if you are using KVS Steam. In order to retrieve an mp4 file from kinesis video between 2 timestamps, please refer the below document [+] https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_reader_GetClip.html

The above document mentions as "specified time range" which is the time range In between two time stamps.

I hope this helps you

Thank you

AWS
SUPPORT ENGINEER
answered a year ago
  • Thank you !! i got it working . looks like I need to use both Amazon.KinesisVideo to first get a serviceUrl for the particular stream and then KinesisVideoArchivedMedia to get the actual clip

0

Thank you !! i got it working . looks like I need to use both Amazon.KinesisVideo to first get a serviceUrl for the particular stream and then KinesisVideoArchivedMedia to get the actual clip

example code

clogwog
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