RTSP Server : streaming mp4 file

adrien Schwartzentruber adrien.schwartzentruber at gmail.com
Tue Feb 12 20:16:19 PST 2013


Hello,

I have a small issue with the Rtsp server, when I'm trying to stream a video
file. 

Source : Something equivalent to this code
http://www.ip-sense.com/linuxsense/how-to-develop-a-rtsp-server-in-linux-using-gstreamer/

launch string : ( filesrc location=%s ! typefind ! qtdemux  name=demux
demux.video_00 ! h264parse ! rtph264pay )

Debug output :  
qtdemux qtdemux.c:3891:gst_qtdemux_loop:<demux> error: streaming stopped,
reason not-linked
0:00:03.514339953  6449      0x241d0f0 WARN               rtspmedia
rtsp-media.c:1498:default_handle_message: 0x244d800: got error GStreamer
encountered a general stream error. (qtdemux.c(3891): gst_qtdemux_loop ():
/GstPipeline:media-pipeline/GstBin:bin0/GstQTDemux:demux:
streaming stopped, reason not-linked)

I understood that the video pad (presence = sometimes) isn't linked to my
parser, and my pipeline isn't playing but how I can handle this signal using
gst_rtsp_media_factory_set_launch (see source code)? 

Note : when I'm using the same pipeline with gst-launch (and autovideosink)
, it works, so what is the different ? (In the documentation, I remember
that somewhere, it's writed that gst-launch is just an abstraction of
gst_rtsp_media_factory_set_launch). 

Thank you for your explanation,
Adrien




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-Server-streaming-mp4-file-tp4658507.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list