[gst-devel] Problems with RTP "README commands"
Mario Latronico
mario.latronico at gmail.com
Mon Jul 23 11:12:20 CEST 2007
Hello,
i'm trying to stream through RTP with GStreamer. I'm following the
instructions found in the README file
http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.12&view=markup
but they don't work.
In one shell i launch the pipeline with videotestsrc and rtp encoder:
mario at mario-laptop:~$ gst-launch-0.10 -v videotestsrc ! ffenc_h263p !
rtph263ppay ! udpsink
Setting pipeline to PAUSED ...
/pipeline0/videotestsrc0.src: caps = video/x-raw-yuv,
format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)30/1
Pipeline is PREROLLING ...
/pipeline0/ffenc_h263p0.src: caps = video/x-h263, width=(int)320,
height=(int)240, framerate=(fraction)30/1, variant=(string)itu,
h263version=(string)h263p
/pipeline0/ffenc_h263p0.sink: caps = video/x-raw-yuv,
format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)30/1
/pipeline0/rtph263ppay0.src: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)H263-1998, ssrc=(guint)1872438787,
clock-base=(guint)3606828362, seqnum-base=(guint)60791
/pipeline0/rtph263ppay0.sink: caps = video/x-h263, width=(int)320,
height=(int)240, framerate=(fraction)30/1, variant=(string)itu,
h263version=(string)h263p
/pipeline0/udpsink0.sink: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)H263-1998, ssrc=(guint)1872438787,
clock-base=(guint)3606828362, seqnum-base=(guint)60791
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
then i copy the caps of udpsink and try to launch the udp receiver in
another shell:
mario at mario-laptop:~$ gst-launch-0.10 -v udpsrc
caps="application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H263-1998,
ssrc=(guint)1872438787, clock-base=(guint)3606828362,
seqnum-base=(guint)60791" ! rtph263pdepay ! ffdec_h263 ! ximagesink
sync=false
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/rtph263pdepay0.sink: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)H263-1998, ssrc=(guint)1872438787,
clock-base=(guint)3606828362, seqnum-base=(guint)60791
/pipeline0/rtph263pdepay0.src: caps = video/x-h263,
variant=(string)itu, h263version=(string)h263p
/pipeline0/ffdec_h2630.sink: caps = video/x-h263, variant=(string)itu,
h263version=(string)h263p
/pipeline0/ffdec_h2630.src: caps = video/x-raw-yuv, width=(int)320,
height=(int)240, framerate=(fraction)30/1, format=(fourcc)I420,
pixel-aspect-ratio=(fraction)1/1
ERROR: from element /pipeline0/udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(1642): gst_base_src_loop (): /pipeline0/udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 101151000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/ffdec_h2630.src: caps = NULL
/pipeline0/ffdec_h2630.sink: caps = NULL
/pipeline0/rtph263pdepay0.src: caps = NULL
/pipeline0/rtph263pdepay0.sink: caps = NULL
/pipeline0/udpsrc0.src: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline ...
What am i doing wrong ?
I'm using Kubuntu GNU/Linux 7/04 with the following gstreamer packets:
mario at mario-laptop:~$ dpkg -l | grep gst
ii gstreamer0.10-alsa 0.10.12-0ubuntu1
GStreamer plugin for ALSA
ii gstreamer0.10-ffmpeg 0.10.2-0ubuntu4
FFmpeg plugin for GStream
er
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 th
e "bad" set
ii gstreamer0.10-plugins-base 0.10.12-0ubuntu1
GStreamer plugins from th
e "base" set
ii gstreamer0.10-plugins-base-apps 0.10.12-0ubuntu1
GStreamer helper programs
from the "base" se
ii gstreamer0.10-plugins-farsight 0.10.2-1ubuntu2
Gstreamer plugins for aud
io/video conferenci
ii gstreamer0.10-plugins-good 0.10.5-1ubuntu2
GStreamer plugins from th
e "good" set
ii gstreamer0.10-tools 0.10.12-0ubuntu2
Tools for use with GStrea
mer
ii gstreamer0.10-x 0.10.12-0ubuntu1
GStreamer plugins for X11
and Pango
ii gstreamer0.8-theora 0.8.12-6ubuntu3
Theora plugin for GStream
er
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 fil
es for libraries fr
ii libgstreamer0.10-0 0.10.12-0ubuntu2
Core GStreamer libraries
and elements
ii libgstreamer0.10-dev 0.10.12-0ubuntu2
GStreamer core developmen
t files
ii libgstreamer0.8-0 0.8.12-2
Core GStreamer libraries,
plugins, and utili
ii python-gst0.10 0.10.6-1ubuntu3
generic media-playing fra
mework (Python bind
Thank you for you support !!!
Mario Latronico
More information about the gstreamer-devel
mailing list