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
demandé il y a 9 mois288 vues
1 réponse
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
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions