[gst-devel] reading RTSP streams

trimurthulu amaradhi trimmu at gmail.com
Tue Sep 11 06:17:03 CEST 2007


Hi,

 try with the following

 gst-launch rtspsrc  location=rtspt://196.168.1.106/sample_100kbit.mp4
! rtpmp4vdepay ! ffdec_mpeg4 ! gconfvideosink

 you have to replace your server with 196.168.1.106

 Regards..

Trimurthulu

On 9/8/07, Ákos Maróy <darkeye at tyrell.hu> wrote:
> Hi,
>
> I wonder how can I read & process RTSP streams with gstreamer. I see
> that there's an RTSP plugin at
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-plugin-rtsp.html
>
> I tried, according to the step described here:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtspsrc.html
>
> to test very basically like this:
>
>  gst-launch-0.10 rtspsrc location=rtsp://localhost/test.mov ! filesink
> location=/tmp/dump
>
>
> but the dump file I get seems to be some sort of binary garbage (not the
> video file I was hoping to get). I can read the same RTSP URL with other
> media players, mplayer for example - so the URL seems to be OK
>
> I also get some warnings:
>
> $ gst-launch-0.10 rtspsrc location=rtsp://localhost/test.mov ! filesink
> location=/tmp/dump
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> (gst-launch-0.10:12754): GStreamer-WARNING **: pad rtpdec1:sinkrtp
> returned caps which are not a real subset of its template caps
>
> (gst-launch-0.10:12754): GStreamer-WARNING **: pad rtpdec0:sinkrtp
> returned caps which are not a real subset of its template caps
>
>
> I'm using gstreamer 0.10.11.
>
> Can anyone give me a sample of how to use the RTSP plugin? either
> gst-launch sample or C source code...
>
> thanks,
>
>
> Akos
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list