-
-
Save murano500k/232727306b1fa3380d2f64d209d7c1a6 to your computer and use it in GitHub Desktop.
Gstreamer RTSP H.264 Receiver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # NVIDIA Jetson TK1 | |
| # Get rtsp stream from network, decode and display | |
| SOURCE=<IP ADDRESS OF MACHINE, e.g. 10.10.10.10> | |
| #VIDEO Capabilities of the receiver | |
| VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" | |
| TCP_VIDEO_CAPS="application/x-rtp" | |
| VIDEO_SINK="videoconvert ! xvimagesink sync=false" | |
| TCPSRC="tcpclientsrc host=$SOURCE port=5000" | |
| VIDEO_DEC="h264parse ! omxh264dec" | |
| #show gst-launch on the command line; can be useful for debugging | |
| echo gst-launch-1.0 -vvv \ | |
| $TCPSRC ! tsdemux ! $VIDEO_DEC ! $VIDEO_SINK | |
| gst-launch-1.0 -vvv \ | |
| $TCPSRC ! tsdemux ! $VIDEO_DEC ! $VIDEO_SINK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment