[gst-devel] video network streaming with rtp problem

citywolf 632992753 at qq.com
Wed Nov 10 08:22:37 CET 2010


hi,all
here are my commands:

#server:
gst-launch -v videotestsrc !  ffenc_mpeg4  ! rtpmp4vpay send-config=true !
udpsink host=218.192.168.112 port=5000


#client:
gst-launch -v  udpsrc port=5000 caps=" application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766331642e35312e33382e30,
payload=(int)96,ssrc=(guint)3127939974, clock-base=(guint)3486206175,
seqnum-base=(guint)28199" ! rtpmp4vdepay  ! ffdec_mpeg4 !  ximagesink


it causes the following problem:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/rtpmp4vdepay0.src: caps = video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false,
codec_data=(buffer)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766331642e35312e33382e30
/pipeline0/rtpmp4vdepay0.sink: caps = application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766331642e35312e33382e30,
payload=(int)96, ssrc=(guint)1899460306, clock-base=(guint)2925079371,
seqnum-base=(guint)41662
/pipeline0/ffdec_mpeg40.sink: caps = video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false,
codec_data=(buffer)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766331642e35312e33382e30
/pipeline0/ffdec_mpeg40.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 /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2562): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 107634366 ns.


can anyone help me?
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/video-network-streaming-with-rtp-problem-tp3035594p3035594.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list