RTSP Server : streaming mp4 file
Wim Taymans
wim.taymans at gmail.com
Wed Feb 13 04:11:10 PST 2013
On 02/13/2013 05:16 AM, adrien Schwartzentruber wrote:
> 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 )
You forgot to name the payloader. Try something like:
( filesrc location=%s ! typefind ! qtdemux name=demux
demux.video_00 ! h264parse ! rtph264pay name=pay0 )
Wim
>
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list