jpeg - Gstreamer 1.8.3 rtpbin and rtpjpegpayload throws internal data flow error -


i'm using gstreamer version 1.8.3 , following pipelines send , receive rtp/rtcp streaming.

vars:

export sample="overwatch.mjpeg" export image_caps="image/jpeg,width=1280,height=720,framerate=1/10,format=i420" 

listener:

test_play_rtpbin(){     gst-launch-1.0 --gst-debug=3 rtpbin name=rtpbin \         udpsrc port=25000 ! application/x-rtp,media=video,payload=26,clock-rate=90000,encoding-name=jpeg,width=1280,height=720 ! rtpbin.recv_rtp_sink_0 \         rtpbin ! rtpjpegdepay ! queue ! jpegparse ! jpegdec ! videoconvert ! fpsdisplaysink \         udpsrc port=25001 ! rtpbin.recv_rtcp_sink_0 \         rtpbin.send_rtcp_src_0 ! udpsink port=25005 host="192.168.0.33" sync=false async=false } 

publisher:

test_record_rtpbin(){     gst-launch-1.0 --gst-debug=3 rtpbin name=t \         multifilesrc location=$sample loop=true ! queue ! $image_caps ! jpegparse ! $image_caps ! queue ! rtpjpegpay pt=26 ! application/x-rtp,media=video,payload=26,clock-rate=90000,encoding-name=jpeg,width=1280,height=720 ! t.send_rtp_sink_0 \         t.send_rtp_src_0 ! udpsink port=25000 host="192.168.0.33" \         t.send_rtcp_src_0 ! udpsink port=25001 host="192.168.0.33" sync=false async=false \         udpsrc port=25005 ! t.recv_rtcp_sink_0 } 

but reason keeps throwing me following error:

    setting pipeline paused ... pipeline live , not need preroll ... setting pipeline playing ... new clock: gstsystemclock 0:00:22.564008753 16798      0x1f6b540 warn         rtpjitterbuffer rtpjitterbuffer.c:487:calculate_skew: delta - skew: 0:00:09.998355706 big, reset skew 0:00:26.750010395 16798      0x1f6b540 warn                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<udpsrc0> error: internal data flow error. 0:00:26.750027345 16798      0x1f6b540 warn                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<udpsrc0> error: streaming task paused, reason not-linked (-1) error: element /gstpipeline:pipeline0/gstudpsrc:udpsrc0: internal data flow error. additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /gstpipeline:pipeline0/gstudpsrc:udpsrc0: streaming task paused, reason not-linked (-1) execution ended after 0:00:26.709638512 setting pipeline paused ... setting pipeline ready ... setting pipeline null ... freeing pipeline ... 

a full level 5 log here.

the sample file have following format:

$ mediainfo overwatch.mjpeg  general complete name                            : overwatch.mjpeg format                                   : jpeg file size                                : 1.63 gib  image format                                   : jpeg width                                    : 1 280 pixels height                                   : 720 pixels color space                              : yuv chroma subsampling                       : 4:2:0 bit depth                                : 8 bits compression mode                         : lossy stream size                              : 1.63 gib (100%) 

the pipelines work when use rtp when try run simple rtpbin example keeps failing. please help!

feel dumb after testing other gstreamer versions/configurations, simple miss, in test_play_rtpbin bash function, missing point.

the line rtpbin ! rtpjpegdepay ! queue... should rtpbin. ! rtpjpegdepay ! queue...


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -