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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南