Streaming H264 file using gst-rtsp-server

Luca Santini luca.santini at spesonline.com
Thu Apr 21 06:20:40 UTC 2016


Hi, i'm a beginner like you, facing same troubles at same time.
Try to add name=pay0 to rtph264pay element, you can remove the 
config-interval property when using rtsp-server. Good look. Let me know if 
you have success

Inviato con AquaMail per Android
http://www.aqua-mail.com


Il 21 aprile 2016 06:51:42 amistry <mistry_amit at yahoo.com> ha scritto:

> 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
> player.
>
> 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://192.168.16.155/live.sdp !
> 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=127.0.0.1
> port=5000
>
> I am able to view the recorded video in VLC player by setting up a SDP file
> as shown below.
>
> v=0
> m=video 5000 RTP/AVP 96
> c=IN IP4 127.0.0.1
> 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://127.0.0.1:8554/test.
>
> 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 ?
>
> Thanks,
> Arm
>
>
>
> --
> View this message in context: 
> http://gstreamer-devel.966125.n4.nabble.com/Streaming-H264-file-using-gst-rtsp-server-tp4677032.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list