Streaming H264 file using gst-rtsp-server

amistry mistry_amit at
Thu Apr 21 04:18:37 UTC 2016

GStreamer Extended Family,

Consider me a beginner in GStreamer. I am trying to stream a recorded H264
file using gst-rtsp-server. So I can play/pause/seek the video from VLC

Here is what I have done so far:

Recorded the H264 encoded video from IP camera's RTP H264 stream using
following pipeline:

gst-launch-1.0.exe -e -v rtspsrc location=rtsp:// !
rtph264depay ! h264parse !  mp4mux ! filesink location=record/video.h264

Then, I am streaming the recorded video.h264 using following pipeline:

gst-launch-1.0.exe -v filesrc location=record/video.h264 ! qtdemux !
h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=

I am able to view the recorded video in VLC player by setting up a SDP file
as shown below.

m=video 5000 RTP/AVP 96
c=IN IP4
a=rtpmap:96 H264/90000

But, I am not able to pause or seek the video. The above pipeline keeps
playing the video even though the VLC player is not connected to port 5000.

Btw.. I tried using gst-rtsp-server's test-mp4 example to stream video.h264
but the VLC player times out the connection. The test-mp4 console output
only shows single message i.e. "stream ready at rtsp://

Can someone point me into a right direction to stream a recorded video using
GStreamer and play/pause/seek control from VLC player over RTSP ?


View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list