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
질문됨 9달 전288회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인