No network traffic using gstrtpbin/example?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

No network traffic using gstrtpbin/example?

Matthias Dodt

Hi Guys!

 

I have some problems running the examples for the gstrtpbin from

 

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-gstrtpbin.html

 

I downloaded the latest OSSBuild of gstreamer and got a Windows7 machine running (32Bit). Gst-inspect and gst-launch work fine so far-

 

The pipeline command (server) is:

 

gst-launch gstrtpbin name=rtpbin host=127.0.0.1 videotestsrc ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !

udpsink port=5000 rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 -v

 

No error is reported:

 

>>> 

Setting pipeline to PAUSED ...

/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)352, height=(int)288, framerate=(fraction)30/1

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)30/1, format=(fourcc)I420

/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)352, height=(int)288, framerate=(fraction)30

/1

/GstPipeline:pipeline0/ffenc_h263:ffenc_h2630.GstPad:src: caps = video/x-h263, width=(int)352, height=(int)288, framerate=(fraction)30/1, variant=(string)itu, h

263version=(string)h263

/GstPipeline:pipeline0/ffenc_h263:ffenc_h2630.GstPad:sink: caps = video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)30/1, format=(fourcc)I420

/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-

1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpH263PPay:rtph263ppay0.GstPad:sink: caps = video/x-h263, width=(int)352, height=(int)288, framerate=(fraction)30/1, variant=(string)

itu, h263version=(string)h263

/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, en

coding-name=(string)H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_sink_0: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string

)H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,

 encoding-name=(string)H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_src_0: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)

H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtp_src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, enc

oding-name=(string)H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H263-1998, s

src=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtp_src_0.GstProxyPad:proxypad2: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000,

encoding-name=(string)H263-1998, ssrc=(guint)1325566114, payload=(int)96, clock-base=(guint)3031687225, seqnum-base=(guint)39174

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp

/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp

/GstPipeline:pipeline0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp

/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad3: caps = application/x-rtcp

<<< 

 

Then I start the client:

gst-launch -v gstrtpbin name=rtpbin udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encod

ing-name=(string)H263-1998, ssrc=(guint)2366310901, payload=(int)96, clock-base=(guint)1722744151, seqnum-base=(guint)47352"  port=5000 ! rtpbin.recv_rtp_sink_0

 rtpbin. ! rtph263pdepay ! ffdec_h263 ! directdrawsink

 

And the log for the client looks fine:

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

 

 

And nothing happens;-).

 

If I write directly to a file everything works fine.

 

Any Ideas??

 

Thanks a lot!

 

Best,

 

mat

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel