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
asked 9 months ago276 views
1 Answer
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
EXPERT
answered 9 months 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