AWS Kinesis C++ SDK raspberry pi 4 video stream from multiple IP cameras

0

Hello community,

I am wondering the best way to stream audio from my IP cameras to kinesis video. I currently have it streaming just video but not audio? I see in the samples of the build they have kvs_audio_video sample but not sure how to capture the audio from the IP cameras?

Here is the amazon cpp library

thanks in advance - any advice helps Nolan

LanScan
已提問 10 個月前檢視次數 299 次
1 個回答
0

You can use gstreamer to capture, process and publish your video. GStreamer can ingest video from most video sources including IP cameras. Kinesis Video Streams provides a Gstreamer sink to send the video to KVS.

The following example from the above document shows how to capture an RTSP stream to KVS:

gst-launch-1.0 -v rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! kvssink stream-name="YourStreamName" storage-size=128

For the specific issue about combining audio and video, you can check the following document: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/docs/linux.md#running-the-gst-launch-10-command-to-start-streaming-both-audio-and-video-in-raspberry-pi-and-ubuntu

https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-gstreamer-plugin.html

AWS
專家
已回答 9 個月前

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

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

回答問題指南