Ingesting intermittent rtsp streams

0

Hi, I need to ingest server rtsp streams and do further analyses with Rekognition. Such streams are not always available. I'm following the following AWS guide: https://github.com/aws-samples/rekognition-streaming-video-events.

The problem is that working with commands like the following:

./kvs_gstreamer_sample DemoStream rtsp://foo.bar

can't handle intermittent streams. If the stream is not available, it returns.

I'm wondering how to deal with this scenario in a serverless fashion and if Kinesis is the right tool for doing that job.

質問済み 1年前387ビュー
2回答
0
承認された回答

If you need to ingest intermittent RTSP streams in a serverless fashion, then you can consider using AWS Elemental MediaLive and AWS Elemental MediaPackage. AWS Elemental MediaLive can receive and transcode your RTSP stream into a format that can be consumed by other AWS services such as AWS Lambda, Amazon Kinesis Video Streams, and Amazon Rekognition. AWS Elemental MediaPackage can package and deliver the transcoded streams for playback.

To handle intermittent streams, you can use AWS Lambda to start and stop the AWS Elemental MediaLive channel when the RTSP stream becomes available or unavailable. You can trigger the Lambda function using CloudWatch Events, which can be configured to monitor the RTSP stream's availability and trigger the Lambda function when the stream becomes available or unavailable.

Alternatively, if you want to stick with using Kinesis Video Streams, you can use the Kinesis Video Streams Producer SDK to ingest the RTSP stream into Kinesis Video Streams. The Producer SDK provides an API that can be used to ingest video and audio streams from RTSP cameras, USB cameras, and other sources. You can use AWS Lambda to start and stop the Kinesis Video Streams producer when the RTSP stream becomes available or unavailable. When the RTSP stream becomes available, the Lambda function can start the producer, which will ingest the stream into Kinesis Video Streams. When the stream becomes unavailable, the Lambda function can stop the producer.

hash
回答済み 1年前
0

Thank you very much!

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ