Hello,
I'm using rtspsrc, the command: /mnt/Temp/felix_tmp/output # ../bin/gst-launch rtspsrc location=rtsp://10.38.38.150/sample_100kbit.mp4 ! fakesink works OK, and my streaming server is up and in good condition, but when issuing the command: /mnt/Temp/felix_tmp/output # ../bin/gst-launch rtspsrc location=rtsp://10.38.38.150/sample_100kbit.mp4 ! gstrtpjitterbuffer ! rtph264depay ! h264dec ! overlay2sink I got the following error message: Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /pipeline0/rtspsrc0/udpsrc2: Internal data flow error. Additional debug info: gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/rtspsrc0/udpsrc2: streaming task paused, reason not-linked (-1) Execution ended after 216414462 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... overlay2 unmap error! FREEING pipeline ... What could have caused "Internal data flow error"? Would someone please give me some advice? Thank you very much :) Best regards Felix ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
After setting GST_DEBUG=3, I found those following error information:
...................................................................................................... 0:00:02.830674461 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtpptdemux1>[00m adding pad 'src_96' 0:00:02.834983692 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1769:gst_pad_link_prepare:[00m trying to link rtpptdemux1:src_96 and recv_rtp_src_0_547059553_96:proxypad6 0:00:02.836655076 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1906:gst_pad_link:[00m linked rtpptdemux1:src_96 and recv_rtp_src_0_547059553_96:proxypad6, successful 0:00:02.838054769 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtpbin0>[00m adding pad 'recv_rtp_src_0_547059553_96' 0:00:02.842733230 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1769:gst_pad_link_prepare:[00m trying to link rtpbin0:recv_rtp_src_0_547059553_96 and recv_rtp_src_0_547059553_96:proxypad7 0:00:02.845067076 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1906:gst_pad_link:[00m linked rtpbin0:recv_rtp_src_0_547059553_96 and recv_rtp_src_0_547059553_96:proxypad7, successful 0:00:02.846058153 [336m 2063[00m 0x102920 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtspsrc0>[00m adding pad 'recv_rtp_src_0_547059553_96' 0:00:02.850103692 [336m 2063[00m 0xe9d08 [33;01mWARN [00m [00m rtpsource rtpsource.c:809:calculate_jitter:[00m cannot get current time 0:00:02.855280615 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtpptdemux0>[00m adding pad 'src_97' 0:00:02.859652307 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1769:gst_pad_link_prepare:[00m trying to link rtpptdemux0:src_97 and recv_rtp_src_1_1101393272_97:proxypad8 0:00:02.861467999 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1906:gst_pad_link:[00m linked rtpptdemux0:src_97 and recv_rtp_src_1_1101393272_97:proxypad8, successful 0:00:02.862773846 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtpbin0>[00m adding pad 'recv_rtp_src_1_1101393272_97' 0:00:02.867528616 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1769:gst_pad_link_prepare:[00m trying to link rtpbin0:recv_rtp_src_1_1101393272_97 and recv_rtp_src_1_1101393272_97:proxypad9 0:00:02.870068923 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_PADS gstpad.c:1906:gst_pad_link:[00m linked rtpbin0:recv_rtp_src_1_1101393272_97 and recv_rtp_src_1_1101393272_97:proxypad9, successful 0:00:02.871187077 [336m 2063[00m 0xd3d48 [32;01mINFO [00m [00;01;37;41m GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<rtspsrc0>[00m adding pad 'recv_rtp_src_1_1101393272_97' 0:00:02.874814770 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2148:gst_element_continue_state:<udpsrc0>[00m completed state change to PLAYING 0:00:02.875670462 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2161:gst_element_continue_state:<udpsrc0>[00m posting state-changed PAUSED to PLAYING 0:00:02.878230461 [336m 2063[00m 0xd2cd0 [33;01mWARN [00m [00m rtpsource rtpsource.c:809:calculate_jitter:[00m cannot get current time 0:00:02.879399999 [336m 2063[00m 0xd2cd0 [32;01mINFO [00m [00m basesrc gstbasesrc.c:2114:gst_base_src_loop:<udpsrc0>[00m pausing after gst_pad_push() = not-linked 0:00:02.880337538 [336m 2063[00m 0xd2cd0 [33;01mWARN [00m [00m basesrc gstbasesrc.c:2165:gst_base_src_loop:<udpsrc0>[00m error: Internal data flow error. 0:00:02.881175692 [336m 2063[00m 0xd2cd0 [33;01mWARN [00m [00m basesrc gstbasesrc.c:2165:gst_base_src_loop:<udpsrc0>[00m error: streaming task paused, reason not-linked (-1) 0:00:02.882491384 [336m 2063[00m 0xd2cd0 [32;01mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1674:gst_element_message_full:<udpsrc0>[00m posting message: Internal data flow error. 0:00:02.884321230 [336m 2063[00m 0xd2cd0 [32;01mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1697:gst_element_message_full:<udpsrc0>[00m posted error message: Internal data flow error. 0:00:02.886078769 [336m 2063[00m 0xe9d08 [33;01mWARN [00m [00m rtpsource rtpsource.c:809:calculate_jitter:[00m cannot get current time 0:00:02.876917231 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstbin.c:2191:gst_bin_change_state_func:<rtspsrc0>[00m child 'udpsrc0' changed state to 4(PLAYING) successfully 0:00:02.888022461 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2148:gst_element_continue_state:<rtspsrc0>[00m completed state change to PLAYING 0:00:02.888841845 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2161:gst_element_continue_state:<rtspsrc0>[00m posting state-changed PAUSED to PLAYING 0:00:02.889984922 [336m 2063[00m 0xe9d08 [32;01mINFO [00m [00m basesrc gstbasesrc.c:2114:gst_base_src_loop:<udpsrc2>[00m pausing after gst_pad_push() = not-linked 0:00:02.890959999 [336m 2063[00m 0xe9d08 [33;01mWARN [00m [00m basesrc gstbasesrc.c:2165:gst_base_src_loop:<udpsrc2>[00m error: Internal data flow error. 0:00:02.891727076 [336m 2063[00m 0xe9d08 [33;01mWARN [00m [00m basesrc gstbasesrc.c:2165:gst_base_src_loop:<udpsrc2>[00m error: streaming task paused, reason not-linked (-1) 0:00:02.892926153 [336m 2063[00m 0xe9d08 [32;01mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1674:gst_element_message_full:<udpsrc2>[00m posting message: Internal data flow error. 0:00:02.894355076 [336m 2063[00m 0xe9d08 [32;01mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1697:gst_element_message_full:<udpsrc2>[00m posted error message: Internal data flow error. 0:00:02.896006461 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2148:gst_element_continue_state:<rtpxqtdepay0>[00m completed state change to PLAYING 0:00:02.896863692 [336m 2063[00m 0x130f0 [32;01mINFO [00m [00;01;31m GST_STATES gstelement.c:2161:gst_element_continue_state:<rtpxqtdepay0>[00m posting state-changed PAUSED to PLAYING GST_MESSAGE_ERROR udpsrc2 error: Internal data flow error. Debug: gstbasesrc.c(2165): gst_base_src_loop (): /pipeline/rtspsrc0/udpsrc2: streaming task paused, reason not-linked (-1) NULL ................................................................................................ the main error is "not-linked". I'm wondering why there generates two recv_rtp_src: recv_rtp_src_1_1101393272_97 and recv_rtp_src_0_547059553_96. It seems that with one recv_rtp_src, the program can work fine. On Wed, Jul 16, 2008 at 10:56 AM, Ting Wang <[hidden email]> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Ting Wang-3
seems like a qtss sample and mine is mpeg4 .... try rtpmp4vdepay and ffdec_mpeg4. You should gst-launch with -v option, it will hint you about video codec. Caps on rtspsrc video src pad is 'application/x-rtp, media=video, encoding-name=MP4V-ES' Aurelien Ting Wang a écrit :
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Ting Wang-3
Hi, gst-devel:
Seems that you selected the wrong rtpdepay & decode elements -- this is the most common reason for "internal data flow error" as I know. rtspsrc will open 2 udpsrc to receive udp packets from rtsp server, one for RTP data transfer and another is for RTCP. Actually, rtspsrc also use an udpsink element to send RTCP feedbacks to rtsp server. Refer to RFC2326, RFC3550 for more details. Eric Zhang 2008-7-17 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |