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
gefragt vor 9 Monaten288 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen