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
已提问 1 年前289 查看次数
2 回答
0
已接受的回答

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
支持工程师
已回答 1 年前
  • 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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则