From c6cb6560dcd0cb17d6792743319029633a73415f Mon Sep 17 00:00:00 2001 From: Jimmy Simmons Date: Mon, 29 Mar 2021 22:24:18 -0400 Subject: [PATCH] Update for direct RTSP Note I was having the same issue as described here until I made this change: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/193 --- doc_source/examples-gstreamer-plugin.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_source/examples-gstreamer-plugin.md b/doc_source/examples-gstreamer-plugin.md index cbd02bc..141c3d0 100644 --- a/doc_source/examples-gstreamer-plugin.md +++ b/doc_source/examples-gstreamer-plugin.md @@ -63,7 +63,7 @@ These examples demonstrate how to use a GStreamer plugin to stream video from di The following command creates a GStreamer pipeline on Ubuntu that streams from a network RTSP camera, using the [rtspsrc](https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-rtspsrc.html) GStreamer plugin: ``` -$ gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! kvssink stream-name="YourStreamName" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion" +$ gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! kvssink stream-name="YourStreamName" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion" ``` ### Example 2: Encode and Stream Video from a USB Camera on Ubuntu @@ -238,4 +238,4 @@ Start streaming from the camera using the `gst-launch-1.0` command that is appro **Note** On macOS, you can only stream video from a network camera when running GStreamer in a Docker container\. Streaming video from a USB camera on macOS in a Docker container is not supported\. -For examples of using the `gst-launch-1.0` command to connect to a local web camera or a network RTSP camera, see [Launch Commands](#examples-gstreamer-plugin-launch)\. \ No newline at end of file +For examples of using the `gst-launch-1.0` command to connect to a local web camera or a network RTSP camera, see [Launch Commands](#examples-gstreamer-plugin-launch)\.