hi,guodecn.
i tried the server you gived to me again,it still showed nothing.i use GST_DEBUG=3,it prints the following: 0:00:02.441339456 20844 0x804e050 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<pipeline0> completed state change to PAUSED 0:00:02.441368511 20844 0x804e050 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<pipeline0> posting state-changed READY to PAUSED Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... 0:00:02.442507269 20844 0x804e050 WARN bin gstbin.c:2080:do_bin_latency:<pipeline0> failed to query latency 0:00:02.442565659 20844 0x804e050 INFO GST_STATES gstbin.c:2197:gst_bin_change_state_func:<pipeline0> child 'ximagesink0' is changing state asynchronously to PLAYING 0:00:02.442603655 20844 0x804e050 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<ffmpegcsp0> completed state change to PLAYING 0:00:02.443110732 20844 0x804e050 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<ffmpegcsp0> posting state-changed PAUSED to PLAYING 0:00:02.443168843 20844 0x804e050 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'ffmpegcsp0' changed state to 4(PLAYING) successfully 0:00:02.443217176 20844 0x804e050 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<ffdec_h2640> completed state change to PLAYING 0:00:02.443246232 20844 0x804e050 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<ffdec_h2640> posting state-changed PAUSED to PLAYING 0:00:02.443284507 20844 0x804e050 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'ffdec_h2640' changed state to 4(PLAYING) successfully 0:00:02.443382290 20844 0x804e050 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<rtph264depay0> completed state change to PLAYING 0:00:02.443411905 20844 0x804e050 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<rtph264depay0> posting state-changed PAUSED to PLAYING 0:00:02.443449342 20844 0x804e050 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'rtph264depay0' changed state to 4(PLAYING) successfully 0:00:02.449094796 20844 0x804e050 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<udpsrc0> completed state change to PLAYING 0:00:02.449146761 20844 0x804e050 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<udpsrc0> posting state-changed PAUSED to PLAYING 0:00:02.449205431 20844 0x804e050 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'udpsrc0' changed state to 4(PLAYING) successfully New clock: GstSystemClock |
I can't find the problem from the print information,you may add the "videoscale" between ffmepgcolorspace and ximagesink, and have a test.
|
still showed nothing.
how about you using my pipelines? |
In reply to this post by Marco Ballesio
Marco Ballesio,
Because my x264enc lib dependence "x264-snapshot-20101102-2245", but ffdec_h264 dependence the "gst-ffmpeg-0.10.11", they are from different opensource, maybe not matched ,so I change h264 to h263, but other error occur, my pipeline as below: server: gst-launch videotestsrc ! ffenc_h263p ! rtph263ppay ! udpsink host=127.0.0.1 port=40000 client: gst-launch udpsrc port =40000 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998" ! rtph263pdepay ! ffdec_h263p ! xvimagesink when I set the GST_DEBUG=3, the client show error message as below: 0:00:00.516123278 3298 0xa08b780 ERROR ffmpeg :0:: header damaged 0:00:00.516166011 3298 0xa08b780 WARN ffmpeg gstffmpegdec.c:2259:gst_ffmpegdec_frame:<ffdec_h2630> ffdec_h263: decoding error (len: -1, have_data: 0) The ffenc_h263p and ffdec_h263p plugins both from the same plugin lib "gst-ffmpeg-0.10.11", also the rtph263ppay and rtph263pdepay are both from the same plugin lib "gst-plugins-good-0.10.25", they should match, but still occur error. The detailed log message is attached. btw,could you help me test the h263 pipeline, test whether it can work well on you machine? log_h263_client.txt |
In reply to this post by citywolf
I have test your pipeline, have the same error to you. Maybe you have the same problem with me. I can't help you. If you solve it, please tell me.
Thanks.
|
In reply to this post by guodecn
Hi,
On Thu, Nov 11, 2010 at 10:22 AM, guodecn <[hidden email]> wrote:
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
------------------------------------------------------------------------------ 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 |
In reply to this post by citywolf
citywolf,
Have you solve the rtp transmit "not-negotiated (-4)" error ?
|
no...
how about you? on my machine,audio network streaming pipelines works fine,but no video pipelines works successful. do you have examples of video network streaming pipelines that just over udp? no rtp,just udp. |
In reply to this post by guodecn
no...
how about you? on my machine,audio network streaming pipelines works fine,but no video pipelines works successful. do you have examples of video network streaming pipelines that just over udp? no rtp,just udp. |
I have test udp transmit,
still error. 发件人: citywolf [via
GStreamer-devel] [mailto:[hidden email]] no... View message @ http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3042421.html
|
In reply to this post by citywolf
you chinese?do you use qq?
my qq number is 287698504 |
In reply to this post by citywolf
citywolf wrote:
> do you have examples of video network streaming pipelines that just over > udp? no rtp,just udp. Hi. I use a pipeline (C code) that, for the video streaming, looks like this: Server: v4l2src -> videoscale -> capsfilter -> timeoverlay -> x264enc -> rtph264pay -> udpsink Parameters for x264enc: bitrate = 2000, byte-stream = 1 cabac = 0 Parameters for rtph264pay: mtu = 1438 Caps used for capsfilter: gst_caps_from_string("video/x-raw-yuv,width=(int)352,height=(int)288,framerate=(fraction)15/1,format=(fourcc)I420"); Client: udpsrc -> gstrtpjitterbuffer -> queue -> rtph264depay -> ffdec_h264 -> queue -> videoscale -> ffmpegcolorspace -> queue -> ximagesink Caps for udpsrc: gst_caps_new_simple ("application/x-rtp", "clock-rate", G_TYPE_INT, 90000, "encoding-name", G_TYPE_STRING, "H264", NULL); As a matter of fact my pipeline is both server and client. I'm still not sure this is the right/better way to do it but at least it seems to work :-) IIRC I got rid of the "not-negotiated error" adding the caps for udpsrc (client), the capsfilter after videoscale (server), the videoscale elements (server and client) and the ffmpegcolorspace element (client). HTH Regards. ------------------------------------------------------------------------------ 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 |
Free forum by Nabble | Edit this page |