Tool/software:
How to stream H.264 encoded streams from a RTSP compliant IP camera or via RTSP server running on remote PC using GStreamer?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
How to stream H.264 encoded streams from a RTSP compliant IP camera or via RTSP server running on remote PC using GStreamer?
Hi,
Assuming you have the rtsp source running, replace the rtspsrc location with placeholder and run the pipelines below to stream. If you would like to set up a simple test using VLC media player to stream an .mp4 video file, you can do so by following the steps below.
GStreamer pipeline using hardware decoder:
gst-launch-1.0 rtspsrc location=rtsp://<ip_addr>:<port>/test latency=0 proxy-id=None proxy-pw=None ! rtph264depay wait-for-keyframe=1 ! video/x-h264, stream-format=avc ! h264parse ! v4l2h264dec ! kmssink sync=false
GStreamer pipeline using software decoder:
gst-launch-1.0 rtspsrc location= rtsp://<ip_addr>:<port>/test ! application/x-rtp, media=video, encoding-name=H264, clock-rate=90000 ! rtph264depay ! h264parse ! avdec_h264 ! videorate ! videoconvert ! queue ! autovideosink
Thank you,
Fabiana Jaimes