diff --git a/docs/linux.md b/docs/linux.md index 238cae04..d2574dc8 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -47,12 +47,12 @@ Device found: ###### Running the `gst-launch-1.0` command to start streaming from a RTSP camera source. ``` -$ gst-launch-1.0 -v rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 +$ gst-launch-1.0 -v rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 ``` **Note:** If you are using **IoT credentials** then you can pass them as parameters to the gst-launch-1.0 command ``` -$ gst-launch-1.0 -v rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! +$ gst-launch-1.0 -v rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name="iot-stream" iot-certificate="iot-certificate,endpoint=endpoint,cert-path=/path/to/certificate,key-path=/path/to/private/key,ca-path=/path/to/ca-cert,role-aliases=role-aliases" ``` You can find the RTSP URL from your IP camera manual or manufacturers product page. diff --git a/docs/macos.md b/docs/macos.md index e575587a..2825e72c 100644 --- a/docs/macos.md +++ b/docs/macos.md @@ -25,13 +25,13 @@ Device found: ###### Running the `gst-launch-1.0` command to start streaming from RTSP camera source. ``` -$ gst-launch-1.0 rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 access-key="YourAccessKey" secret-key="YourSecretKey" +$ gst-launch-1.0 rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 access-key="YourAccessKey" secret-key="YourSecretKey" ``` **Note:** If you are using **IoT credentials** then you can pass them as parameters to the gst-launch-1.0 command ``` -$ gst-launch-1.0 rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! +$ gst-launch-1.0 rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name="iot-stream" iot-certificate="iot-certificate,endpoint=endpoint,cert-path=/path/to/certificate,key-path=/path/to/private/key,ca-path=/path/to/ca-cert,role-aliases=role-aliases" ``` You can find the RTSP URL from your IP camera manual or manufacturers product page. diff --git a/docs/raspberry-pi.md b/docs/raspberry-pi.md index 9741329d..16b81b08 100644 --- a/docs/raspberry-pi.md +++ b/docs/raspberry-pi.md @@ -69,12 +69,12 @@ Device found: ###### Running the `gst-launch-1.0` command to start streaming from a RTSP camera source. ``` -$ gst-launch-1.0 -v rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 +$ gst-launch-1.0 -v rtspsrc location=rtsp://YourCameraRtspUrl short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name=YourStreamName storage-size=128 ``` **Note:** If you are using **IoT credentials** then you can pass them as parameters to the gst-launch-1.0 command ``` -$ gst-launch-1.0 -v rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! +$ gst-launch-1.0 -v rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name="iot-stream" iot-certificate="iot-certificate,endpoint=endpoint,cert-path=/path/to/certificate,key-path=/path/to/private/key,ca-path=/path/to/ca-cert,role-aliases=role-aliases" ``` You can find the RTSP URL from your IP camera manual or manufacturers product page. diff --git a/docs/windows.md b/docs/windows.md index fa137d3f..4894d38c 100644 --- a/docs/windows.md +++ b/docs/windows.md @@ -72,7 +72,7 @@ gst-launch-1.0 ksvideosrc do-timestamp=TRUE ! video/x-raw,width=640,height=480,f **Note:** If you are using IoT credentials then you can pass them as parameters to the gst-launch-1.0 command ``` -gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au ! h264parse ! kvssink stream-name="iot-stream" iot-certificate="iot-certificate,endpoint=endpoint,cert-path=/path/to/certificate,key-path=/path/to/private/key,ca-path=/path/to/ca-cert,role-aliases=role-aliases" +gst-launch-1.0 rtspsrc location="rtsp://YourCameraRtspUrl" short-header=TRUE ! rtph264depay ! h264parse ! h264parse ! kvssink stream-name="iot-stream" iot-certificate="iot-certificate,endpoint=endpoint,cert-path=/path/to/certificate,key-path=/path/to/private/key,ca-path=/path/to/ca-cert,role-aliases=role-aliases" ``` 2.2 Use `gst-launch-1.0` to send audio and raw video to Kinesis Video Streams