[gst-devel] help needed to write rtsp client using gstreamer plugins

sanjay kumar gupta sanjay417 at rediffmail.com
Thu Jan 25 08:04:06 CET 2007


Hi Wim,
  Though bug for playbin with rtsp url issue is fixed with latest gstreamer/plugins code, I thought to play the same url using individual plugins elements using the following command but never succeeded. 
$gst-launch-0.10 rtspsrc location=rtsp://192.168.1.225/sample_50kbit.3gp ! rtpmp4vdepay ! decodebin ! xvimagesink sync=0
sometime window appear for fraction of second but it disappear. 
am I missing some elements to add in this to play video?
here is the log for this command:
-----------
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...

(gst-launch-0.10:8311): GLib-GObject-WARNING **: cannot register existing type `GstNetBuffer'

(gst-launch-0.10:8311): GLib-GObject-WARNING **: cannot create new instance of invalid (non-instantiatable) type `<invalid>'
Caught SIGSEGV accessing address 0x14
New clock: GstSystemClock
0:00:00.221322000  8311 0x9625e48 ERROR               ffmpeg :0:: header damaged

0:00:00.221474000  8311 0x9625e48 ERROR               ffmpeg gstffmpegdec.c:1043:gst_ffmpegdec_frame:<ffdec_mpeg40> ffdec_mpeg4: decoding error (len: -1, have_data: 0)

(gst-launch-0.10:8311): GLib-GObject-WARNING **: cannot register existing type `GstNetBuffer'

(gst-launch-0.10:8311): GLib-GObject-WARNING **: cannot create new instance of invalid (non-instantiatable) type `<invalid>'
Segmentation fault
-------------

Thank & Regards,
Sanjay


On Thu, 11 Jan 2007 Wim Taymans wrote :
>On Thu, 2007-01-11 at 13:43 +0000, sanjay kumar gupta wrote:
> > Hi Wim & Lutz Müller,
> >   Thanks a lot for your reply.
> >   I checkout the latest code for gstreamer, gst-plugins-base,
> > gst-plugins-good, gst-plugins-bad  & gst-plugins-ugly from
> > $cvs -d:pserver:anoncvs at anoncvs.freedesktop.org:/cvs/gstreamer co
> > modulename
> > and installed into my system (linux fedora 6).
> > I saw in RELEASE file that code changes for rtsp support in playbin
> > element (336301 : [playbin] can't handle RTSP source) has been in
> > cluded in this code.
> > when I am trying to play 3gp and mov then getting the following
> > errors:
> >
> > Command of 3gp:
> > $gst-launch-0.10  --gst-debug=2 --gst-debug-no-color  playbin
> > uri=rtsp://192.168.3.9/sample_50kbit.3gp
>...
>Hard to debug without a complete log, please file a bugzilla bug and
>attach a gzipped --gst-debug=5 log.
>
> > Command for mov:
> > $gst-launch-0.10  --gst-debug=2 --gst-debug-no-color  playbin
> > uri=rtsp://192.168.3.9/sample_100kbit.mov
> >
> > Error log for this command
> > ============================================
> > Setting pipeline to PAUSED ...
> > Pipeline is live and does not need PREROLL ...
> > Setting pipeline to PLAYING ...
> > New clock: GstSystemClock
> > 0:00:00.283858000 29988 0x8b727d8 WARN              GST_PADS
> > gstpad.c:669:gst_pad_set_active: Failed to activate pad '':sink
> > 0:00:00.285810000 29988 0x8b727d8 WARN              GST_PADS
> > gstpad.c:669:gst_pad_set_active: Failed to activate pad '':sink
> > ** Message: don't know how to handle application/x-rtp,
> > media=(string)audio, payload=(int)97, clock-rate=(int)22050,
> > encoding-name=(string)X-QDM, encoding-params=(string)2
>
>There is no depayloader for X-QDM, I had trouble finding the specs.
>
>Wim
> > >
> > >
> > >-------------------------------------------------------------------------
> > >Take Surveys. Earn Cash. Influence the Future of IT
> > >Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > >opinions on IT & business topics through brief surveys - and earn
> > cash
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >_______________________________________________
> > >gstreamer-devel mailing list
> > >gstreamer-devel at lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > >
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>--
>Wim Taymans <wim at fluendo.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070125/544ba29a/attachment.htm>


More information about the gstreamer-devel mailing list