[gst-devel] rtp transmit occur "not-negotiated (-4)" error

Marco Ballesio gibrovacco at gmail.com
Thu Nov 11 14:53:39 CET 2010


Hi,

On Thu, Nov 11, 2010 at 10:22 AM, guodecn <guo.dehua at zxelec.com> wrote:

>
> Marco Ballesio,
>      I don't think there is other thing connect to port 40000, because
> change to other port number still have the same problem.
>      I'm doubtful of the encode plugin don't match the decode plugin.You
> can see my h.263 rtp transmit sample and log.
>

the error is given by the udpsrc, so my best assumption is that there's
something wrong with the network/caps. Attaching a tcpdump may help.

Regards


>
>
>
>
> Marco Ballesio wrote:
> >
> > Hi,
> >
> > On Thu, Nov 11, 2010 at 4:19 AM, guodecn <guo.dehua at zxelec.com> wrote:
> >
> >>
> >> Marco Ballesio,
> >> I have follow your two advices, add the codec_data property or set
> >> config-interval=1, the error is still same to before.
> >>
> >> I have set the GST_DEBUG=3, and capture the log, both server and client
> >> log
> >> are all in the attach file.
> >> I will check my machine evirenment about x264enc, also I will continue
> to
> >> debug with the new log.
> >>
> >
> >>From the log, it feels like the udpsrc is emitting packets which are not
> > h264. My bat-senses say that you might have more than one thing connected
> > to
> > port 40000 on your system. I don't remember if I've already asked you to
> > do
> > so, but could you get a tcpdump from the receiving side/machine (well,
> > actually it should be the same as the sending one ;) ). You can collect
> it
> > with:
> >
> > tcpdump -ilo -s0 -w/path/to/tcpdump.cap
> >
> >
> >
> >> Thank you very much for your fervor.
> >
> >
> > Mastership requires continuous exercise, and you're giving me a good
> > chance,
> > so it is me who must thank you ;).
> >
> > Regards
> >
> >
> >>
> >>
> >>
> >> Marco Ballesio wrote:
> >> >
> >> > Hi,
> >> >
> >> > mmmhhh, I've the suspect that in your case sending machine !=
> >> receivning
> >> > machine. Maybe you've an old version of x264enc in the first one. It
> >> > appears, in fact, that the sending part is preparing the
> >> > sprop-paramenter-set (aka codec data) for being transmitted outband.
> >> You
> >> > can
> >> > try to either add the property:
> >> >
> >> >
> >>
> codec_data=(buffer)014d4015ffe10017674d4015eca0a0fd8088000003000bb9aca00078b16cb001000468ebecb2
> >> >
> >> > in your receiver udpsrc caps.
> >> >
> >> > Alternatively (but less likely to succeed) you can set the following
> >> > property in rtph264pay to send in-band sps and pps:
> >> >
> >> > config-interval=1
> >> >
> >> > (should send in-band sps and pps).
> >> >
> >> > If it still does not work, please attach somewher the log you get with
> >> > GST_DEBUG=3
> >> >
> >> > Regards
> >> >
> >> > On Wed, Nov 10, 2010 at 12:03 PM, guodecn <guo.dehua at zxelec.com>
> wrote:
> >> >
> >> >>
> >> >> Marco Ballesio,
> >> >> Very sadly, I use your modfied sample still the same error.
> >> >> I think the syntax is no problem, my os is fedora13 install on vmware
> >> >> workstation.
> >> >> I have no idea.
> >> >>
> >> >>
> >> >> Marco Ballesio wrote:
> >> >> >
> >> >> > Hi,
> >> >> >
> >> >> > On Wed, Nov 10, 2010 at 11:30 AM, guodecn <guo.dehua at zxelec.com>
> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> Hi,Marco Ballesio,
> >> >> >> Thanks for your reply very much.
> >> >> >>
> >> >> >> >>However, the issue was the place you've set the "port" property.
> >> >> >> what's your mean? Don't udpsrc need the port property? if don't
> >> udpsrc
> >> >> >> have
> >> >> >> no port property, we can't receive the data.
> >> >> >>
> >> >> >
> >> >> > sorry, I didn't notice the "caps=" before the caps ;)
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> I have modify the pipeline as below:
> >> >> >>
> >> >> >> server:
> >> >> >> gst-launch-0.10 -v videotestsrc ! x264enc ! rtph264pay ! udpsink
> >> >> >> host=127.0.0.1 port=40000
> >> >> >>
> >> >> >> client:
> >> >> >> gst-launch-0.10 -v udpsrc port=40000 caps=
> >> >> >>
> >> >> >>
> >> >>
> >>
> "application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96"
> >> >> >> ! rtph264depay ! ffdec_h264 ! xvimagesink
> >> >> >>
> >> >> >>
> >> >> > These pipelines are working pretty well, both with the standard
> >> ubuntu
> >> >> > 10.4
> >> >> > and all the packages aligned with the respective upstream heads. I
> >> >> suggest
> >> >> > you to check your syntax and copy/paste efficiency ;)
> >> >> >
> >> >> > Regards
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> But the same error is still exist. Can you modify my pipeline
> >> correct,
> >> >> >> and
> >> >> >> show me.
> >> >> >>
> >> >> >> Thanks.
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3035742.html
> >> >> >> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> >> The Next 800 Companies to Lead America's Growth: New Video
> >> Whitepaper
> >> >> >> David G. Thomson, author of the best-selling book "Blueprint to a
> >> >> >> Billion" shares his insights and actions to help propel your
> >> >> >> business during the next growth cycle. Listen Now!
> >> >> >> http://p.sf.net/sfu/SAP-dev2dev
> >> >> >> _______________________________________________
> >> >> >> gstreamer-devel mailing list
> >> >> >> gstreamer-devel at lists.sourceforge.net
> >> >> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> > The Next 800 Companies to Lead America's Growth: New Video
> >> Whitepaper
> >> >> > David G. Thomson, author of the best-selling book "Blueprint to a
> >> >> > Billion" shares his insights and actions to help propel your
> >> >> > business during the next growth cycle. Listen Now!
> >> >> > http://p.sf.net/sfu/SAP-dev2dev
> >> >> > _______________________________________________
> >> >> > gstreamer-devel mailing list
> >> >> > gstreamer-devel at lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3035787.html
> >> >> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >>
> ------------------------------------------------------------------------------
> >> >> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> >> >> David G. Thomson, author of the best-selling book "Blueprint to a
> >> >> Billion" shares his insights and actions to help propel your
> >> >> business during the next growth cycle. Listen Now!
> >> >> http://p.sf.net/sfu/SAP-dev2dev
> >> >> _______________________________________________
> >> >> gstreamer-devel mailing list
> >> >> gstreamer-devel at lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >>
> >> >
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> >> > David G. Thomson, author of the best-selling book "Blueprint to a
> >> > Billion" shares his insights and actions to help propel your
> >> > business during the next growth cycle. Listen Now!
> >> > http://p.sf.net/sfu/SAP-dev2dev
> >> > _______________________________________________
> >> > gstreamer-devel mailing list
> >> > gstreamer-devel at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >
> >> >
> >> http://gstreamer-devel.966125.n4.nabble.com/file/n3037177/log.txtlog.txt
> >> --
> >> View this message in context:
> >>
> http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3037177.html
> >> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> 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
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
> >
> ------------------------------------------------------------------------------
> > 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
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3037374.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101111/553577f1/attachment.htm>


More information about the gstreamer-devel mailing list