rtp transmit occur an error of gstreamer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

rtp transmit occur an error of gstreamer

guodecn
I have some troubles of rtp transmit of gstreamer. I test the rtp transmit, server and client are all in local host, so my example as below:
server:
gst-launch-0.10 -v videotestsrc ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=40000 sync=false

client:
gst-launch-0.10 -v udpsrc caps=" application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96,ssrc=(uint)237526004,clock-base=(uint)1584170994,seqnum-base=(uint)42626" port=40000 ! rtph264depay ! decodebin ! xvimagesink

the client caps is copied from the server's udpsrc caps. But still occur an error, error message as below:

ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2550): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 623154883 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...

I have test the rtp example in the tree of gst-plugin-good/tests/example/rtp, occur the same error. I also have read the document: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251, and follow it , still occur the same error. Who can help me? Thanks very much.
Reply | Threaded
Open this post in threaded view
|

Re: rtp transmit occur an error of gstreamer

Wim Taymans
On Mon, 2010-11-08 at 22:25 -0800, guodecn wrote:

> I have some troubles of rtp transmit of gstreamer. I test the rtp transmit,
> server and client are all in local host, so my example as below:
> server:
> gst-launch-0.10 -v videotestsrc ! x264enc ! rtph264pay ! udpsink
> host=127.0.0.1 port=40000 sync=false
>
> client:
> gst-launch-0.10 -v udpsrc caps="
> application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96,ssrc=(uint)237526004,clock-base=(uint)1584170994,seqnum-base=(uint)42626"
> port=40000 ! rtph264depay ! decodebin ! xvimagesink
>
Put ffmpegcolorspace ! videoscale between decodebin and xvimagesink

Wim

> the client caps is copied from the server's udpsrc caps. But still occur an
> error, error message as below:
>
> ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
> flow error.
> Additional debug info:
> gstbasesrc.c(2550): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 623154883 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
>
> I have test the rtp example in the tree of
> gst-plugin-good/tests/example/rtp, occur the same error. I also have read
> the document:
> http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251,
> and follow it , still occur the same error. Who can help me? Thanks very
> much.



------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtp transmit occur an error of gstreamer

guodecn
wim,
     follow your advice, put the "ffmpegcolorspace ! videoscale" can solve the problem, but I don't know why? Can you tell me why and how do you find the solve problem way?
    Thanks.