[gst-devel] Reading RTSP stream from VLC

Mario Latronico mario.latronico at gmail.com
Wed Jul 11 18:37:27 CEST 2007


Hello,
i'm new to GStreamer and i would like to visualize a video stream from
the net; I use Video lan as a video server.

I followed the steps found at
http://www.videolan.org/doc/streaming-howto/en/ch05.html (at the end
of the page):

vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan
--rtsp-host 0.0.0.0:5554

then i connect to the videolan telnet interface and set the commands
which basicaly enable a file as a stream for video on demand:

new Test vod enabled
setup Test input /home/mario/Desktop/my_video.mpg

If i launch vlc rtsp://127.0.0.1:5554/Test i can see the video (the
stream flows from localhost, since i run the vlc on the same machine).

However if i try:

gst-launch-0.10  rtspsrc location=rtsp://127.0.0.1:5554/Test !
fakesink , which is the command line i found in the reference
documentation for rtspsrc

i get:

Impostazione della pipeline a PAUSED ... [sorry, it is italian
translation for "set pipeline to PAUSED"]
Caught SIGSEGV accessing address (nil)
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d870b3 in __waitpid_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7da2755 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#3  0x0804a186 in ?? ()
#4  0x0804c150 in ?? ()
#5  0x00000000 in ?? ()
Spinning.  Please run 'gdb gst-launch 10236' to continue debugging,
Ctrl-C to quit, or Ctrl-\ to dump core.

How can i set a gst-launch-0.10 (if it is possible) command line to
receive and visualize a RTSP stream ?

I use Kubuntu 07.04 with following gstreamer:

gstreamer0.10-alsa                         0.10.12-0ubuntu1
           GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                       0.10.2-0ubuntu4
               FFmpeg plugin for GStreamer
ii  gstreamer0.10-fluendo-mpegdemux            0.10.4-0ubuntu1
               Fluendo GStreamer plugin for MPEG2 demuxing
ii  gstreamer0.10-plugins-bad                  0.10.4-1ubuntu1
               GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-good                 0.10.5-1ubuntu2
               GStreamer plugins from the "good" set
ii  gstreamer0.10-tools                        0.10.12-0ubuntu2
               Tools for use with GStreamer
ii  gstreamer0.10-x                            0.10.12-0ubuntu1
               GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-base0.10-0            0.10.12-0ubuntu1
               GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base0.10-dev          0.10.12-0ubuntu1
               GStreamer development files for libraries fr
ii  libgstreamer0.10-0                         0.10.12-0ubuntu2
               Core GStreamer libraries and elements
ii  libgstreamer0.10-dev                       0.10.12-0ubuntu2

Thank you for your support and attention,

Mario Latronico




More information about the gstreamer-devel mailing list